-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(themes): update theme preset mixins (#15164)
* refactor(themes): update presets to only use the theme mixin * refactor(themes): add indigo light preset * refactor(themes): remove extra line from dark fluent preset
- Loading branch information
Showing
13 changed files
with
104 additions
and
26 deletions.
There are no files selected for viewing
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-angular-dark.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $material-typeface, $type-scale: $material-type-scale); | ||
@include dark-theme($dark-material-palette); | ||
@include typography( | ||
$font-family: $material-typeface, | ||
$type-scale: $material-type-scale | ||
); | ||
@include theme( | ||
$schema: $dark-material-schema, | ||
$palette: $dark-material-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-angular.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $material-typeface, $type-scale: $material-type-scale); | ||
@include theme($light-material-palette); | ||
@include typography( | ||
$font-family: $material-typeface, | ||
$type-scale: $material-type-scale | ||
); | ||
@include theme( | ||
$schema: $light-material-schema, | ||
$palette: $light-material-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-bootstrap-dark.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $bootstrap-typeface, $type-scale: $bootstrap-type-scale); | ||
@include bootstrap-dark-theme($dark-bootstrap-palette); | ||
@include typography( | ||
$font-family: $bootstrap-typeface, | ||
$type-scale: $bootstrap-type-scale | ||
); | ||
@include theme( | ||
$schema: $dark-bootstrap-schema, | ||
$palette: $dark-bootstrap-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-bootstrap-light.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $bootstrap-typeface, $type-scale: $bootstrap-type-scale); | ||
@include bootstrap-light-theme($light-bootstrap-palette); | ||
@include typography( | ||
$font-family: $bootstrap-typeface, | ||
$type-scale: $bootstrap-type-scale | ||
); | ||
@include theme( | ||
$schema: $light-bootstrap-schema, | ||
$palette: $light-bootstrap-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-dark-green.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $material-typeface, $type-scale: $material-type-scale); | ||
@include dark-theme($dark-green-palette); | ||
@include typography( | ||
$font-family: $material-typeface, | ||
$type-scale: $material-type-scale | ||
); | ||
@include theme( | ||
$schema: $dark-material-schema, | ||
$palette: $dark-green-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-fluent-dark-excel.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $fluent-typeface, $type-scale: $fluent-type-scale); | ||
@include fluent-dark-theme($dark-fluent-excel-palette); | ||
@include typography( | ||
$font-family: $fluent-typeface, | ||
$type-scale: $fluent-type-scale | ||
); | ||
@include theme( | ||
$schema: $dark-fluent-schema, | ||
$palette: $dark-fluent-excel-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-fluent-dark-word.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $fluent-typeface, $type-scale: $fluent-type-scale); | ||
@include fluent-dark-theme($dark-fluent-word-palette); | ||
@include typography( | ||
$font-family: $fluent-typeface, | ||
$type-scale: $fluent-type-scale | ||
); | ||
@include theme( | ||
$schema: $dark-fluent-schema, | ||
$palette: $dark-fluent-word-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-fluent-dark.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $fluent-typeface, $type-scale: $fluent-type-scale); | ||
@include fluent-dark-theme($dark-fluent-palette); | ||
@include typography( | ||
$font-family: $fluent-typeface, | ||
$type-scale: $fluent-type-scale | ||
); | ||
@include theme( | ||
$schema: $dark-fluent-schema, | ||
$palette: $dark-fluent-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
...ects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-fluent-light-excel.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $fluent-typeface, $type-scale: $fluent-type-scale); | ||
@include fluent-light-theme($light-fluent-excel-palette); | ||
@include typography( | ||
$font-family: $fluent-typeface, | ||
$type-scale: $fluent-type-scale | ||
); | ||
@include theme( | ||
$schema: $light-fluent-schema, | ||
$palette: $light-fluent-excel-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-fluent-light-word.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $fluent-typeface, $type-scale: $fluent-type-scale); | ||
@include fluent-light-theme($light-fluent-word-palette); | ||
@include typography( | ||
$font-family: $fluent-typeface, | ||
$type-scale: $fluent-type-scale | ||
); | ||
@include theme( | ||
$schema: $light-fluent-schema, | ||
$palette: $light-fluent-word-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-fluent-light.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $fluent-typeface, $type-scale: $fluent-type-scale); | ||
@include fluent-light-theme($light-fluent-palette); | ||
@include typography( | ||
$font-family: $fluent-typeface, | ||
$type-scale: $fluent-type-scale | ||
); | ||
@include theme( | ||
$schema: $light-fluent-schema, | ||
$palette: $light-fluent-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-indigo-dark.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $indigo-typeface, $type-scale: $indigo-type-scale); | ||
@include indigo-dark-theme($dark-indigo-palette); | ||
@include typography( | ||
$font-family: $indigo-typeface, | ||
$type-scale: $indigo-type-scale | ||
); | ||
@include theme( | ||
$schema: $dark-indigo-schema, | ||
$palette: $dark-indigo-palette, | ||
); |
10 changes: 8 additions & 2 deletions
10
projects/igniteui-angular/src/lib/core/styles/themes/presets/igniteui-indigo-light.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
@use '../../themes' as *; | ||
|
||
@include core(); | ||
@include typography($font-family: $indigo-typeface, $type-scale: $indigo-type-scale); | ||
@include indigo-light-theme($light-indigo-palette); | ||
@include typography( | ||
$font-family: $indigo-typeface, | ||
$type-scale: $indigo-type-scale | ||
); | ||
@include theme( | ||
$schema: $light-indigo-schema, | ||
$palette: $light-indigo-palette, | ||
); |