|
6 | 6 | /// @group breakpoints
|
7 | 7 | ////
|
8 | 8 |
|
| 9 | +@use "sass:string" |
| 10 | + |
9 | 11 | /// Patch to fix issue #12080
|
10 | 12 | $-zf-size: null;
|
11 | 13 |
|
@@ -404,35 +406,35 @@ $small-only: '';
|
404 | 406 |
|
405 | 407 | @if map-has-key($breakpoints, small) {
|
406 | 408 | $small-up: screen;
|
407 |
| - $small-only: unquote('screen and #{breakpoint(small only)}'); |
| 409 | + $small-only: string.unquote('screen and #{breakpoint(small only)}'); |
408 | 410 | }
|
409 | 411 |
|
410 | 412 | $medium-up: '';
|
411 | 413 | $medium-only: '';
|
412 | 414 |
|
413 | 415 | @if map-has-key($breakpoints, medium) {
|
414 |
| - $medium-up: unquote('screen and #{breakpoint(medium)}'); |
415 |
| - $medium-only: unquote('screen and #{breakpoint(medium only)}'); |
| 416 | + $medium-up: string.unquote('screen and #{breakpoint(medium)}'); |
| 417 | + $medium-only: string.unquote('screen and #{breakpoint(medium only)}'); |
416 | 418 | }
|
417 | 419 |
|
418 | 420 | $large-up: '';
|
419 | 421 | $large-only: '';
|
420 | 422 |
|
421 | 423 | @if map-has-key($breakpoints, large) {
|
422 |
| - $large-up: unquote('screen and #{breakpoint(large)}'); |
423 |
| - $large-only: unquote('screen and #{breakpoint(large only)}'); |
| 424 | + $large-up: string.unquote('screen and #{breakpoint(large)}'); |
| 425 | + $large-only: string.unquote('screen and #{breakpoint(large only)}'); |
424 | 426 | }
|
425 | 427 |
|
426 | 428 | $xlarge-up: '';
|
427 | 429 | $xlarge-only: '';
|
428 | 430 |
|
429 | 431 | @if map-has-key($breakpoints, xlarge) {
|
430 |
| - $xlarge-up: unquote('screen and #{breakpoint(xlarge)}'); |
431 |
| - $xlarge-only: unquote('screen and #{breakpoint(xlarge only)}'); |
| 432 | + $xlarge-up: string.unquote('screen and #{breakpoint(xlarge)}'); |
| 433 | + $xlarge-only: string.unquote('screen and #{breakpoint(xlarge only)}'); |
432 | 434 | }
|
433 | 435 |
|
434 | 436 | $xxlarge-up: '';
|
435 | 437 |
|
436 | 438 | @if map-has-key($breakpoints, xxlarge) {
|
437 |
| - $xxlarge-up: unquote('screen and #{breakpoint(xxlarge)}'); |
| 439 | + $xxlarge-up: string.unquote('screen and #{breakpoint(xxlarge)}'); |
438 | 440 | }
|
0 commit comments