|
2 | 2 | @mixinocticon-link($char){ |
3 | 3 | font: normalnormal1em octicons; |
4 | 4 | text-decoration: none; |
5 | | -color: $blue; |
| 5 | +color: var(--color-text-link); |
6 | 6 |
|
7 | 7 | &:after{ |
8 | 8 | content: $char; |
|
48 | 48 | } |
49 | 49 |
|
50 | 50 | .display-controls{ |
51 | | -border-top: solid2px$gray-200; |
| 51 | +border-top: solid2pxvar(--color-border-primary); |
52 | 52 | margin-top: 5px; |
53 | 53 | padding-top: 10px; |
54 | 54 | } |
|
67 | 67 | width: 0; |
68 | 68 |
|
69 | 69 | &:checked + label{ |
70 | | -color: $blue; |
| 70 | +color: var(--color-text-blue); |
71 | 71 |
|
72 | 72 | &:before{ |
73 | 73 | content: '\f046'; |
74 | | -color: rgba($gray-100, 1); |
75 | | -background-color: $gray-300; |
76 | | -box-shadow: 0001px$gray-300; |
| 74 | +color: rgba(var(--color-scale-gray-1), 1); |
| 75 | +background-color: var(--color-scale-gray-3); |
| 76 | +box-shadow: 0001pxvar(--color-scale-gray-3); |
77 | 77 | padding-left: 0px; |
78 | 78 | line-height: 14px; |
79 | 79 | } |
|
91 | 91 | left: 0; |
92 | 92 | display: inline-block; |
93 | 93 | border-radius: 50%; |
94 | | -color: rgba($gray-300, 0); |
| 94 | +color: rgba(var(--color-scale-gray-3), 0); |
95 | 95 | -webkit-transition: all180ms; |
96 | 96 | width: 14px; |
97 | 97 | height: 14px; |
98 | | -box-shadow: 0001px$gray-300; |
| 98 | +box-shadow: 0001pxvar(--color-scale-gray-3); |
99 | 99 | } |
100 | 100 | } |
101 | 101 |
|
|
105 | 105 | width: 0; |
106 | 106 |
|
107 | 107 | &:checked + label{ |
108 | | -color: $gray-300; |
| 108 | +color: var(--color-scale-gray-3); |
109 | 109 |
|
110 | 110 | &:before{ |
111 | 111 | content: '\f03a'; |
112 | | -color: rgba($gray-100, 1); |
113 | | -background-color: $gray-300; |
114 | | -box-shadow: 0001px$gray-300; |
| 112 | +color: rgba(var(--color-scale-gray-1), 1); |
| 113 | +background-color: var(--color-scale-gray-3); |
| 114 | +box-shadow: 0001pxvar(--color-scale-gray-3); |
115 | 115 | padding-left: 0px; |
116 | 116 | line-height: 1em; |
117 | 117 | } |
|
129 | 129 | left: 0; |
130 | 130 | display: inline-block; |
131 | 131 | border-radius: 50%; |
132 | | -color: rgba($gray-300, 0); |
| 132 | +color: rgba(var(--color-scale-gray-3), 0); |
133 | 133 | -webkit-transition: all180ms; |
134 | 134 | padding-left: 5px; |
135 | 135 | width: 14px; |
136 | 136 | height: 14px; |
137 | | -box-shadow: 0001px$gray-300; |
| 137 | +box-shadow: 0001pxvar(--color-scale-gray-3); |
138 | 138 | line-height: .2em; |
139 | 139 | } |
140 | 140 | } |
|
180 | 180 | position: relative; |
181 | 181 | font: 13px/1.4Helvetica, arial, freesans, clean, sans-serif; |
182 | 182 | font-weight: 300; |
183 | | -color: $gray-900; |
| 183 | +color: var(--color-scale-gray-9); |
184 | 184 |
|
185 | 185 | h1,h2,h3,h4,h5,h6,p,ul,li{ |
186 | 186 | font-weight: inherit; |
|
196 | 196 | } |
197 | 197 | p,ul{ |
198 | 198 | font-size: 20px; |
199 | | -color: $gray; |
| 199 | +color: var(--color-text-gray); |
200 | 200 | } |
201 | 201 |
|
202 | 202 | .objectives{ |
|
224 | 224 | width: 20px; |
225 | 225 | margin: 10px; |
226 | 226 | border-radius: 50%; |
227 | | -box-shadow: 0002px$gray-100; |
| 227 | +box-shadow: 0002pxvar(--color-scale-gray-1); |
228 | 228 | } |
229 | 229 | } |
230 | 230 |
|
|
233 | 233 |
|
234 | 234 | &:before{ |
235 | 235 | content: "\f03a"; |
236 | | -color: $blue; |
| 236 | +color: var(--color-text-blue); |
237 | 237 | } |
238 | 238 | } |
239 | 239 | } |
240 | 240 |
|
241 | 241 | // Custom Octicon styling |
242 | 242 | .mega-octicon{ |
243 | 243 | font-size: 110px; |
244 | | -color: $blue; |
| 244 | +color: var(--color-text-blue); |
245 | 245 |
|
246 | 246 | &:after{ |
247 | 247 | content: ""; |
248 | 248 | display: block; |
249 | 249 | width: 170px; |
250 | 250 | height: 170px; |
251 | | -border: solid1px$gray-300; |
| 251 | +border: solid1pxvar(--color-border-tertiary); |
252 | 252 | border-radius: 50%; |
253 | 253 | padding: 20px; |
254 | 254 | margin-top: -142px; |
|
258 | 258 |
|
259 | 259 | #teacher{ |
260 | 260 | .octicon{ |
261 | | -color: $blue; |
| 261 | +color: var(--color-text-blue); |
262 | 262 | } |
263 | 263 | span{ |
264 | 264 | margin: auto4px; |
|
302 | 302 | font-size: 120%; |
303 | 303 | text-align: left; |
304 | 304 | margin: 0auto; |
305 | | -background: $gray-900; |
306 | | -color: $gray-100; |
| 305 | +background: var(--color-bg-canvas-inverse); |
| 306 | +color: var(--color-scale-gray-1); |
307 | 307 |
|
308 | 308 | code{ |
309 | 309 | font-size: 1.5em; |
|
0 commit comments