Commit 4d0badd
authored
Remove theme-aware colors and prevent horizontal scroll on InterstitialModal (#14198)
### WHY are these changes introduced?
Stars and text on interstitial modal used theme-aware CSS colors,
resulting in incorrect rendering on dark mode. It was also possible to
horizontal scroll on the modal
### WHAT is this pull request doing?
Replaces theme-aware CSS colors with hardcoded colors for the
interstitial modal only. Prevents horizontal scroll on interstitial
modal.1 parent 0a5f21f commit 4d0badd
File tree
3 files changed
+40
-34
lines changed- .changeset
- polaris.shopify.com/src/components/InterstitialModal
3 files changed
+40
-34
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
Lines changed: 11 additions & 33 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
328 | 329 | | |
329 | 330 | | |
330 | 331 | | |
331 | | - | |
| 332 | + | |
332 | 333 | | |
333 | 334 | | |
334 | 335 | | |
| |||
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
348 | | - | |
| 349 | + | |
349 | 350 | | |
350 | 351 | | |
351 | 352 | | |
| |||
379 | 380 | | |
380 | 381 | | |
381 | 382 | | |
382 | | - | |
383 | | - | |
| 383 | + | |
| 384 | + | |
384 | 385 | | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | 386 | | |
390 | 387 | | |
391 | 388 | | |
392 | 389 | | |
393 | 390 | | |
394 | 391 | | |
395 | 392 | | |
396 | | - | |
397 | | - | |
398 | | - | |
399 | | - | |
400 | | - | |
401 | | - | |
402 | | - | |
| 393 | + | |
403 | 394 | | |
404 | 395 | | |
405 | 396 | | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
411 | | - | |
412 | | - | |
413 | | - | |
414 | | - | |
415 | | - | |
416 | | - | |
417 | | - | |
418 | | - | |
419 | | - | |
| 397 | + | |
420 | 398 | | |
421 | 399 | | |
422 | 400 | | |
423 | 401 | | |
424 | 402 | | |
425 | 403 | | |
426 | | - | |
| 404 | + | |
427 | 405 | | |
428 | 406 | | |
429 | 407 | | |
| |||
441 | 419 | | |
442 | 420 | | |
443 | 421 | | |
444 | | - | |
| 422 | + | |
445 | 423 | | |
446 | 424 | | |
447 | 425 | | |
| |||
Lines changed: 27 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
175 | 175 | | |
176 | 176 | | |
177 | 177 | | |
| 178 | + | |
178 | 179 | | |
179 | 180 | | |
180 | 181 | | |
| |||
240 | 241 | | |
241 | 242 | | |
242 | 243 | | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
243 | 269 | | |
244 | 270 | | |
245 | 271 | | |
| |||
269 | 295 | | |
270 | 296 | | |
271 | 297 | | |
272 | | - | |
| 298 | + | |
273 | 299 | | |
274 | 300 | | |
275 | 301 | | |
| |||
0 commit comments