1
- @import ' ~@angular/material/prebuilt-themes/indigo-pink.css' ;
2
-
3
- @import ' ./scss/hljs.scss' ;
4
- @import ' ./scss/variables.scss' ;
5
- @import ' ./scss/utils.scss' ;
1
+ @use ' ./scss/hljs' ;
2
+ @use ' ./scss/variables' ;
3
+ @use ' ./scss/utils' ;
6
4
7
5
:root {
8
- --docsearch-primary-color : $red-color ;
9
- --docsearch-highlight-color : $red-color ;
10
- --docsearch-logo-color : $red-color ;
6
+ --docsearch-primary-color : variables . $red-color ;
7
+ --docsearch-highlight-color : variables . $red-color ;
8
+ --docsearch-logo-color : variables . $red-color ;
11
9
--docsearch-modal-background : #fafafa ;
12
10
--docsearch-searchbox-focus-background : transparent ;
13
11
--docsearch-searchbox-shadow : none ;
20
18
font-family : ' Source Sans Pro' , ' Helvetica Neue' , sans-serif ;
21
19
background-color : #fdfdfd ;
22
20
font-display : swap ;
23
- color : $grey-color ;
21
+ color : variables . $grey-color ;
24
22
margin : 0 ;
25
23
-webkit-font-smoothing : antialiased ;
26
24
}
@@ -37,7 +35,7 @@ strong {
37
35
hr {
38
36
width : 40px ;
39
37
height : 4px ;
40
- background : $red-color ;
38
+ background : variables . $red-color ;
41
39
border : 0 ;
42
40
margin : 50px 0 ;
43
41
}
@@ -58,7 +56,7 @@ blockquote {
58
56
height : 100% ;
59
57
width : 4px ;
60
58
content : ' ' ;
61
- background : $red-color ;
59
+ background : variables . $red-color ;
62
60
display : block ;
63
61
position : absolute ;
64
62
top : 0 ;
@@ -69,7 +67,7 @@ blockquote {
69
67
}
70
68
71
69
strong {
72
- color : $red-color ;
70
+ color : variables . $red-color ;
73
71
& :first-of-type {
74
72
display : block ;
75
73
text-transform : uppercase ;
@@ -104,7 +102,7 @@ blockquote {
104
102
figure {
105
103
margin : 60px 30px ;
106
104
text-align : center ;
107
- @include media (medium ) {
105
+ @include utils . media (medium ) {
108
106
margin : 60px 0 ;
109
107
}
110
108
@@ -119,7 +117,7 @@ figure {
119
117
}
120
118
121
119
figcaption {
122
- color : rgba ($silver-color , 0.9 );
120
+ color : rgba (variables . $silver-color , 0.9 );
123
121
font-size : 16px ;
124
122
margin : 20px 0 ;
125
123
@@ -134,7 +132,7 @@ table {
134
132
}
135
133
136
134
tr {
137
- @include media (medium ) {
135
+ @include utils . media (medium ) {
138
136
margin-bottom : 20px ;
139
137
display : block ;
140
138
@@ -156,15 +154,15 @@ tr:nth-of-type(even) td {
156
154
tr :nth-of-type (odd ) td :first-of-type {
157
155
border-right : 1px solid #f0f2f3 ;
158
156
159
- @include media (medium ) {
157
+ @include utils . media (medium ) {
160
158
border-right : 0 ;
161
159
border-bottom : 1px solid #f0f2f3 ;
162
160
}
163
161
}
164
162
165
163
tr :nth-of-type (even ) td :first-of-type {
166
164
border-right : 1px solid #fff ;
167
- @include media (medium ) {
165
+ @include utils . media (medium ) {
168
166
border-right : 0 ;
169
167
border-bottom : 1px solid #fff ;
170
168
}
@@ -174,7 +172,7 @@ tr td {
174
172
padding : 20px 30px ;
175
173
vertical-align : top ;
176
174
177
- @include media (medium ) {
175
+ @include utils . media (medium ) {
178
176
display : block ;
179
177
padding : 20px ;
180
178
}
0 commit comments