|
51 | 51 | /// @param {Map} $palette - An igx-palette to be used by the global theme. |
52 | 52 | /// @param {Map} $schema [$light-schema] - The schema used as basis for styling the components. |
53 | 53 | /// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles. |
54 | | -/// @param {Boolean} $legacy-support - Turn off support for IE11, allowing you to use css variables to style components. |
| 54 | +/// @param {Boolean} $legacy-support [false] - If set to true, it turns on support for IE11, i.e. css variables are not used in the generated component themes. |
55 | 55 | /// @param {Boolean} $elevation [true] - Turns on/off elevations for all components in the theme. |
56 | 56 | /// @param {Number} $roundness [null] - Sets the global roundness factor (the value can be any decimal fraction between 0 and 1) for all components. |
57 | 57 | /// @requires {variable} $components |
|
91 | 91 | $palette, |
92 | 92 | $schema: $light-schema, |
93 | 93 | $exclude: (), |
94 | | - $legacy-support: true, |
| 94 | + $legacy-support: false, |
95 | 95 | $roundness: null, |
96 | 96 | $elevation: true, |
97 | 97 | ) { |
|
412 | 412 | /// Creates a global theme that can be used with light backgrounds. |
413 | 413 | /// @param {Map} $palette - An igx-palette to be used by the global theme. |
414 | 414 | /// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles. |
415 | | -/// @param {Boolean} $legacy-support - Turn off support for IE11, allowing you to use css variables to style components. |
| 415 | +/// @param {Boolean} $legacy-support [false] - If set to true, it turns on support for IE11, i.e. css variables are not used in the generated component themes. |
416 | 416 | @mixin igx-light-theme( |
417 | 417 | $palette, |
418 | 418 | $exclude: (), |
419 | | - $legacy-support: true, |
| 419 | + $legacy-support: false, |
420 | 420 | $roundness: null, |
421 | 421 | $elevation: true, |
422 | 422 | ) { |
|
447 | 447 | /// Creates a global theme that can be used with dark backgrounds. |
448 | 448 | /// @param {Map} $palette - An igx-palette to be used by the global theme. |
449 | 449 | /// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles. |
450 | | -/// @param {Boolean} $legacy-support - Turn off support for IE11, allowing you to use css variables to style components. |
| 450 | +/// @param {Boolean} $legacy-support [false] - If set to true, it turns on support for IE11, i.e. css variables are not used in the generated component themes. |
451 | 451 | @mixin igx-dark-theme( |
452 | 452 | $palette, |
453 | 453 | $exclude: (), |
454 | | - $legacy-support: true, |
| 454 | + $legacy-support: false, |
455 | 455 | $roundness: null, |
456 | 456 | $elevation: true, |
457 | 457 | ) { |
|
482 | 482 | /// Creates a global fluent theme that can be used with light backgrounds. |
483 | 483 | /// @param {Map} $palette - An igx-palette to be used by the global theme. |
484 | 484 | /// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles. |
485 | | -/// @param {Boolean} $legacy-support - Turn off support for IE11, allowing you to use css variables to style components. |
| 485 | +/// @param {Boolean} $legacy-support [false] - If set to true, it turns on support for IE11, i.e. css variables are not used in the generated component themes. |
486 | 486 | @mixin igx-fluent-theme( |
487 | 487 | $palette, |
488 | 488 | $exclude: (), |
489 | | - $legacy-support: true, |
| 489 | + $legacy-support: false, |
490 | 490 | $roundness: null, |
491 | 491 | $elevation: true, |
492 | 492 | ) { |
|
517 | 517 | /// Creates a global fluent theme that can be used with dark backgrounds. |
518 | 518 | /// @param {Map} $palette - An igx-palette to be used by the global theme. |
519 | 519 | /// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles. |
520 | | -/// @param {Boolean} $legacy-support - Turn off support for IE11, allowing you to use css variables to style components. |
| 520 | +/// @param {Boolean} $legacy-support [false] - If set to true, it turns on support for IE11, i.e. css variables are not used in the generated component themes. |
521 | 521 | @mixin igx-fluent-dark-theme( |
522 | 522 | $palette, |
523 | 523 | $exclude: (), |
524 | | - $legacy-support: true, |
| 524 | + $legacy-support: false, |
525 | 525 | $roundness: null, |
526 | 526 | $elevation: true, |
527 | 527 | ) { |
|
553 | 553 | /// Creates a global bootstrap-like theme that can be used with light backgrounds. |
554 | 554 | /// @param {Map} $palette - An igx-palette to be used by the global theme. |
555 | 555 | /// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles. |
556 | | -/// @param {Boolean} $legacy-support - Turn off support for IE11, allowing you to use css variables to style components. |
| 556 | +/// @param {Boolean} $legacy-support [false] - If set to true, it turns on support for IE11, i.e. css variables are not used in the generated component themes. |
557 | 557 | @mixin igx-bootstrap-theme( |
558 | 558 | $palette, |
559 | 559 | $exclude: (), |
560 | | - $legacy-support: true, |
| 560 | + $legacy-support: false, |
561 | 561 | $roundness: null, |
562 | 562 | $elevation: true, |
563 | 563 | ) { |
|
615 | 615 | /// Creates a global bootstrap-like theme that can be used with dark backgrounds. |
616 | 616 | /// @param {Map} $palette - An igx-palette to be used by the global theme. |
617 | 617 | /// @param {List} $exclude [( )] - A list of igx components to be excluded from the global theme styles. |
618 | | -/// @param {Boolean} $legacy-support - Turn off support for IE11, allowing you to use css variables to style components. |
| 618 | +/// @param {Boolean} $legacy-support [false] - If set to true, it turns on support for IE11, i.e. css variables are not used in the generated component themes. |
619 | 619 | @mixin igx-bootstrap-dark-theme( |
620 | 620 | $palette, |
621 | 621 | $exclude: (), |
622 | | - $legacy-support: true, |
| 622 | + $legacy-support: false, |
623 | 623 | $roundness: null, |
624 | 624 | $elevation: true, |
625 | 625 | ) { |
|
667 | 667 | $elevation: $elevation, |
668 | 668 | ); |
669 | 669 | } |
670 | | - |
0 commit comments