fix: restore previous theme colors - fixed #1559

This commit is contained in:
Liyas Thomas
2021-03-22 16:36:57 +00:00
committed by GitHub
parent 352f3af737
commit b4ac527638
4 changed files with 46 additions and 3 deletions

View File

@@ -83,6 +83,11 @@
--ac-color: theme("colors.green.400");
}
@mixin tealTheme {
// Acent color
--ac-color: theme("colors.teal.400");
}
@mixin indigoTheme {
// Acent color
--ac-color: theme("colors.indigo.400");
@@ -93,6 +98,11 @@
--ac-color: theme("colors.purple.400");
}
@mixin orangeTheme {
// Acent color
--ac-color: theme("colors.orange.400");
}
@mixin pinkTheme {
// Acent color
--ac-color: theme("colors.pink.400");
@@ -132,12 +142,18 @@
:root[data-accent="green"] {
@include greenTheme;
}
:root[data-accent="teal"] {
@include tealTheme;
}
:root[data-accent="indigo"] {
@include indigoTheme;
}
:root[data-accent="purple"] {
@include purpleTheme;
}
:root[data-accent="orange"] {
@include orangeTheme;
}
:root[data-accent="pink"] {
@include pinkTheme;
}