12
12
// 6. Collapsible
13
13
// 7. Chips
14
14
// 8. Date + Time Picker
15
- // 9. Dropdown
15
+ // 9. -
16
16
// 10. Forms
17
17
// 11. Global
18
18
// 12. Grid
19
19
// 13. Navigation Bar
20
20
// 14. Side Navigation
21
21
// 15. Photo Slider
22
22
// 16. Spinners | Loaders
23
- // 17. Tabs
23
+ // 17. -
24
24
// 18. Tables
25
25
// 19. Toasts
26
26
// 20. Typography
35
35
// ==========================================================================
36
36
37
37
$primary-color : color (" materialize-red" , " lighten-2" ) !default ;
38
- $primary-color-light : lighten ($primary-color , 15% ) !default ;
39
- $primary-color-dark : darken ($primary-color , 15% ) !default ;
38
+ $primary-color-font-emphasize-color : $primary-color ;
39
+ $primary-color-font-medium-color : rgba ($primary-color , 0.7 );
40
+ $primary-color-font-disabled-color : rgba ($primary-color , 0.4 );
41
+ $primary-color-hover-opaque : rgba ($primary-color , 0.06 );
42
+ $primary-color-focus-opaque : rgba ($primary-color , 0.18 );
40
43
41
44
$secondary-color : color (" teal" , " lighten-1" ) !default ;
42
45
$success-color : color (" green" , " base" ) !default ;
43
46
$error-color : color (" red" , " base" ) !default ;
44
47
$link-color : color (" light-blue" , " darken-1" ) !default ;
45
48
49
+ $bg-color : #FFFFFF ;
50
+ $bg-hover-color-opaque : rgba (0 , 0 , 0 , 0.04 );
51
+ $bg-hover-color-solid : darken ($bg-color , 4% );
52
+ $bg-focus-color-opaque : rgba (0 , 0 , 0 , 0.12 );
53
+ $bg-focus-color-solid : darken ($bg-color , 12% );
54
+
55
+ $hover-on-secondary-color : lighten ($secondary-color , 4% );
56
+ $focus-on-secondary-color : lighten ($secondary-color , 12% );
57
+ $secondary-color-hover-opaque : rgba ($secondary-color , 0.08 );
58
+ $secondary-color-focus-opaque : rgba ($secondary-color , 0.24 );
46
59
47
60
// 2. Badges
48
61
// ==========================================================================
@@ -54,9 +67,15 @@ $badge-height: 22px !default;
54
67
// 3. Buttons
55
68
// ==========================================================================
56
69
70
+ // Raised buttons
71
+ $button-raised-background : $secondary-color !default ;
72
+ $button-raised-background-hover : $hover-on-secondary-color !default ;
73
+ $button-raised-background-focus : $focus-on-secondary-color !default ;
74
+ $button-raised-color : #fff !default ;
75
+
57
76
// Shared styles
58
77
$button-border : none !default ;
59
- $button-background-focus : lighten ( $secondary-color , 4 % ) !default ;
78
+ $button-background-focus : $button-raised-background-focus !default ;
60
79
$button-font-size : 14px !default ;
61
80
$button-icon-font-size : 1.3rem !default ;
62
81
$button-height : 36px !default ;
@@ -67,11 +86,6 @@ $button-radius: 2px !default;
67
86
$button-disabled-background : #DFDFDF !default ;
68
87
$button-disabled-color : #9F9F9F !default ;
69
88
70
- // Raised buttons
71
- $button-raised-background : $secondary-color !default ;
72
- $button-raised-background-hover : lighten ($button-raised-background , 5% ) !default ;
73
- $button-raised-color : #fff !default ;
74
-
75
89
// Large buttons
76
90
$button-large-font-size : 15px !default ;
77
91
$button-large-icon-font-size : 1.6rem !default ;
@@ -89,9 +103,10 @@ $button-flat-color: #343434 !default;
89
103
$button-flat-disabled-color : lighten (#999 , 10% ) !default ;
90
104
91
105
// Floating buttons
92
- $button-floating-background : $secondary-color !default ;
93
- $button-floating-background-hover : $button-floating-background !default ;
94
- $button-floating-color : #fff !default ;
106
+ $button-floating-background : $button-raised-background !default ;
107
+ $button-floating-background-hover : $button-raised-background-hover !default ;
108
+ $button-floating-background-focus : $button-raised-background-focus !default ;
109
+ $button-floating-color : $button-raised-color !default ;
95
110
$button-floating-size : 40px !default ;
96
111
$button-floating-radius : 50% !default ;
97
112
@@ -150,15 +165,6 @@ $timepicker-clock-color: rgba(0, 0, 0, .87) !default;
150
165
$timepicker-clock-plate-bg : #eee !default ;
151
166
152
167
153
- // 9. Dropdown
154
- // ==========================================================================
155
-
156
- $dropdown-bg-color : #fff !default ;
157
- $dropdown-hover-bg-color : #eee !default ;
158
- $dropdown-color : $secondary-color !default ;
159
- $dropdown-item-height : 50px !default ;
160
-
161
-
162
168
// 10. Forms
163
169
// ==========================================================================
164
170
@@ -184,6 +190,7 @@ $placeholder-text-color: lighten($input-border-color, 20%) !default;
184
190
185
191
// Radio Buttons
186
192
$radio-fill-color : $secondary-color !default ;
193
+ $radio-focus-color : $secondary-color-focus-opaque !default ;
187
194
$radio-empty-color : #5a5a5a !default ;
188
195
$radio-border : 2px solid $radio-fill-color !default ;
189
196
@@ -203,12 +210,6 @@ $select-padding: 5px !default;
203
210
$select-radius : 2px !default ;
204
211
$select-disabled-color : rgba (0 ,0 ,0 ,.3 ) !default ;
205
212
206
- // Switches
207
- $switch-bg-color : $secondary-color !default ;
208
- $switch-checked-lever-bg : desaturate (lighten ($switch-bg-color , 25% ), 25% ) !default ;
209
- $switch-unchecked-bg : #F1F1F1 !default ;
210
- $switch-unchecked-lever-bg : rgba (0 ,0 ,0 ,.38 ) !default ;
211
- $switch-radius : 15px !default ;
212
213
213
214
214
215
// 11. Global
@@ -276,14 +277,9 @@ $slider-indicator-color: color('green', 'base') !default;
276
277
$spinner-default-color : $secondary-color !default ;
277
278
278
279
279
- // 17. Tabs
280
+ // 17. -
280
281
// ==========================================================================
281
282
282
- $tabs-underline-color : $primary-color-light !default ;
283
- $tabs-text-color : $primary-color !default ;
284
- $tabs-bg-color : #fff !default ;
285
-
286
-
287
283
// 18. Tables
288
284
// ==========================================================================
289
285
@@ -347,3 +343,4 @@ $collection-line-height: 1.5rem !default;
347
343
// ==========================================================================
348
344
349
345
$progress-bar-color : $secondary-color !default ;
346
+ $progress-bar-track-color : lighten ($progress-bar-color , 40% ) !default ;
0 commit comments