Kaynağa Gözat

theming tracim_lib

AlexiCauvin 6 yıl önce
ebeveyn
işleme
b86b8bd8fb

+ 1 - 1
src/component/Delimiter/Delimiter.styl Dosyayı Görüntüle

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

+ 1 - 1
src/component/Input/BtnSwitch/BtnSwitch.jsx Dosyayı Görüntüle

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

+ 2 - 2
src/component/Input/BtnSwitch/BtnSwitch.styl Dosyayı Görüntüle

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

+ 7 - 3
src/css/Variable.styl Dosyayı Görüntüle

1
 mainColor = #fdfdfd // Bg header
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
 fontColor = #252525
10
 fontColor = #252525
7
 
11