Skip to content

Commit 8da001e

Browse files
committed
refactor(themes): include palette vars in the generated themes
1 parent 9237b89 commit 8da001e

23 files changed

+89
-12
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
@import '../index';
22

3-
// Generate a palette
3+
:root {
4+
@include igx-palette-vars($dark-material-palette, $contrast: true);
5+
}
6+
47
@include igx-core($direction: rtl);
58
@include igx-dark-theme($dark-material-palette);
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
@import '../index';
22

3-
// Generate a palette
3+
:root {
4+
@include igx-palette-vars($dark-material-palette, $contrast: true);
5+
}
6+
47
@include igx-core();
58
@include igx-dark-theme($dark-material-palette);
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
@import '../index';
22

3-
// Generate a palette
3+
:root {
4+
@include igx-palette-vars($light-material-palette, $contrast: true);
5+
}
6+
47
@include igx-core($direction: rtl);
58
@include igx-theme($light-material-palette);
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
@import '../index';
22

3-
// Generate a palette
3+
:root {
4+
@include igx-palette-vars($light-material-palette, $contrast: true);
5+
}
6+
47
@include igx-core();
58
@include igx-theme($light-material-palette);
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
@import '../index';
22

3-
// Generate a palette
3+
:root {
4+
@include igx-palette-vars($dark-bootstrap-palette, $contrast: true);
5+
}
6+
47
@include igx-core($direction: rtl);
58
@include igx-bootstrap-dark-theme($dark-bootstrap-palette);
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
@import '../index';
22

3-
// Generate a palette
3+
:root {
4+
@include igx-palette-vars($dark-bootstrap-palette, $contrast: true);
5+
}
6+
47
@include igx-core();
58
@include igx-bootstrap-dark-theme($dark-bootstrap-palette);
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
@import '../index';
22

3-
// Generate a palette
3+
:root {
4+
@include igx-palette-vars($light-bootstrap-palette, $contrast: true);
5+
}
6+
47
@include igx-core($direction: rtl);
58
@include igx-bootstrap-light-theme($light-bootstrap-palette);
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
@import '../index';
22

3-
// Generate a palette
3+
:root {
4+
@include igx-palette-vars($light-bootstrap-palette, $contrast: true);
5+
}
6+
47
@include igx-core();
58
@include igx-bootstrap-light-theme($light-bootstrap-palette);
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
@import '../index';
22

3+
:root {
4+
@include igx-palette-vars($dark-green-palette, $contrast: true);
5+
}
6+
37
@include igx-core($direction: rtl);
48
@include igx-dark-theme($dark-green-palette);
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
@import '../index';
22

3+
:root {
4+
@include igx-palette-vars($dark-green-palette, $contrast: true);
5+
}
6+
37
@include igx-core();
48
@include igx-dark-theme($dark-green-palette);

0 commit comments

Comments
 (0)