2
2
@use ' sass:math' ;
3
3
@use ' sass:meta' ;
4
4
5
- $font-family : monospace ;
6
5
$background-radial-opacity : 0.2 !default ;
6
+ $color-bg : #ffffff !default ;
7
+ $color-fg : #333333 !default ;
8
+ $dark-fg : darken ($color-fg , 30 );
7
9
8
- @use ' ../base.scss' ;
10
+ @use ' ../base.scss' with (
11
+ $color-bg : $color-bg ,
12
+ $color-fg : $color-fg ,
13
+ $font-family : (
14
+ monospace ,
15
+ Verdana ,
16
+ sans-serif ,
17
+ )
18
+ );
9
19
10
20
@use ' ../colors.scss' with (
11
21
$primary : base .$color-fg ,
12
- $label : base .$color-fg
22
+ $label : base .$color-fg ,
23
+ $good : base .$color-fg ,
24
+ $bad : base .$color-fg ,
25
+ $average : base .$color-fg
13
26
);
14
27
15
28
%theme-crt {
29
+ // Atomic classes
30
+ @include meta .load-css (' ../atomic/color.scss' );
16
31
@include meta .load-css (
17
32
' ../components/Divider.scss' ,
18
33
$with : (' color' : base .$color-fg )
@@ -33,8 +48,7 @@ $background-radial-opacity: 0.2 !default;
33
48
$with : (
34
49
' text-color' : base .$color-fg ,
35
50
' background-color' : base .$color-bg ,
36
- ' border-color' : base .$color-fg ,
37
- ' font-family' : $font-family
51
+ ' border-color' : base .$color-fg
38
52
)
39
53
);
40
54
@@ -59,7 +73,11 @@ $background-radial-opacity: 0.2 !default;
59
73
60
74
@include meta .load-css (
61
75
' ../components/ProgressBar.scss' ,
62
- $with : (' color-default-fill' : base .$color-fg )
76
+ $with : (
77
+ ' color-default-fill' : base .$color-fg ,
78
+ ' background-color' : $dark-fg ,
79
+ ' bg-map' : colors .$bg-map
80
+ )
63
81
);
64
82
65
83
@include meta .load-css (
@@ -83,21 +101,23 @@ $background-radial-opacity: 0.2 !default;
83
101
@include meta .load-css (
84
102
' ../components/Button.scss' ,
85
103
$with : (
86
- ' color-default' : base .$color-fg ,
87
- ' color-disabled' : darken (base .$color-fg , 30 )
104
+ ' color-default' : $dark-fg ,
105
+ ' color-selected' : base .$color-fg ,
106
+ ' color-disabled' : rbga (base .$color-fg , 0 ),
107
+ ' color-transparent-text' : base .$color-fg
88
108
)
89
109
);
90
110
91
111
@include meta .load-css (
92
112
' ../components/Tabs.scss' ,
93
113
$with : (
94
- ' tab-color' : base .$color-bg ,
95
- ' tab-color-selected' : base .$color-fg ,
114
+ ' tab-color' : $dark-fg ,
96
115
' text-color' : base .$color-fg ,
97
116
' text-color-selected' : base .$color-bg ,
98
117
' tab-color-hovered' : rgba (base .$color-fg , 0.3 )
99
118
)
100
119
);
120
+ @include meta .load-css (' ../components/LabeledList.scss' );
101
121
102
122
.Layout__content {
103
123
background-image : none ;
@@ -110,7 +130,7 @@ $background-radial-opacity: 0.2 !default;
110
130
.Layout__content ::after {
111
131
content : ' ' ;
112
132
display : block ;
113
- position : absolute ;
133
+ position : fixed ;
114
134
top : 0 ;
115
135
left : 0 ;
116
136
bottom : 0 ;
@@ -123,7 +143,7 @@ $background-radial-opacity: 0.2 !default;
123
143
.Layout__content ::before {
124
144
content : ' ' ;
125
145
display : block ;
126
- position : absolute ;
146
+ position : fixed ;
127
147
top : 0 ;
128
148
left : 0 ;
129
149
bottom : 0 ;
@@ -155,19 +175,18 @@ $background-radial-opacity: 0.2 !default;
155
175
156
176
span {
157
177
color : base .$color-fg ;
158
- font-family : $font-family ;
178
+ font-family : base . $font-family ;
159
179
font-weight : bold ;
160
180
}
161
181
162
182
.Button {
163
- font-family : $font-family ;
183
+ font-family : base . $font-family ;
164
184
font-weight : bold ;
165
185
border : 1px solid base .$color-fg ;
166
186
& :hover ,
167
- & :focus ,
168
187
& :visited ,
169
188
& :target {
170
- background-color : base .$color-fg ;
189
+ background-color : rgba ( base .$color-fg , 0.5 ) ;
171
190
color : base .$color-bg ;
172
191
}
173
192
}
@@ -190,7 +209,7 @@ $background-radial-opacity: 0.2 !default;
190
209
}
191
210
192
211
.Tab__text {
193
- font-family : $font-family ;
212
+ font-family : base . $font-family ;
194
213
}
195
214
196
215
.Tabs--horizontal {
0 commit comments