소스 검색

theming tracim_lib

AlexiCauvin 6 년 전
부모
커밋
b86b8bd8fb
4개의 변경된 파일11개의 추가작업 그리고 7개의 파일을 삭제
  1. 1 1
      src/component/Delimiter/Delimiter.styl
  2. 1 1
      src/component/Input/BtnSwitch/BtnSwitch.jsx
  3. 2 2
      src/component/Input/BtnSwitch/BtnSwitch.styl
  4. 7 3
      src/css/Variable.styl

+ 1 - 1
src/component/Delimiter/Delimiter.styl 파일 보기

@@ -4,4 +4,4 @@
4 4
   border-radius 10px
5 5
   width 50%
6 6
   height 5px
7
-  background-color blue
7
+  background-color thirdColor

+ 1 - 1
src/component/Input/BtnSwitch/BtnSwitch.jsx 파일 보기

@@ -9,7 +9,7 @@ export const BtnSwitch = props =>
9 9
       <span className='slider round' />
10 10
     </label>
11 11
     <div className='btnswitch__text'>
12
-      { props.checked ? 'Actif' : 'Inactif'}
12
+      { props.checked ? 'actif' : 'inactif'}
13 13
     </div>
14 14
   </div>
15 15
 

+ 2 - 2
src/component/Input/BtnSwitch/BtnSwitch.styl 파일 보기

@@ -39,10 +39,10 @@
39 39
   transition .4s
40 40
 
41 41
 input:checked + .slider
42
-  background-color blue
42
+  background-color thirdColor
43 43
 
44 44
 input:focus + .slider
45
-  box-shadow 0 0 1px blue
45
+  box-shadow 0 0 1px thirdColor
46 46
 
47 47
 input:checked + .slider:before
48 48
   -webkit-transform translateX(26px)

+ 7 - 3
src/css/Variable.styl 파일 보기

@@ -1,7 +1,11 @@
1 1
 mainColor = #fdfdfd // Bg header
2
-secondColor = #215e8e // bg sidebar
3
-thirdColor = #2571fe // bg workspace name
4
-fourthColor = #82b2cc // bg filter sidebar
2
+secondColor = #7d4e24 // #7d4e24 bg sidebar
3
+thirdColor = lighten(secondColor, 25%) // #2571fe bg workspace name
4
+fourthColor = lighten(secondColor, 55%) // #82b2cc bg filter sidebar
5
+fifthColor = lighten(secondColor, 10%)
6
+
7
+hover-theme = lighten(secondColor, 75%)
8
+hover-button = lighten(secondColor, 10%)
5 9
 
6 10
 fontColor = #252525
7 11