Add example themes for frontpage demonstration

This commit is contained in:
Andreas Nedbal 2022-04-10 02:37:34 +02:00 committed by Andreas Nedbal
parent 249de5b1ee
commit f0c7fdb92f
3 changed files with 20 additions and 0 deletions

View File

@ -56,6 +56,10 @@ $avatar-sizes: (
"xl": 160px, "xl": 160px,
); );
$spacers: (
10: (1rem * 6)
);
:root { :root {
--background: #f0edf4; --background: #f0edf4;
--input-bg: var(--background); --input-bg: var(--background);

View File

@ -87,6 +87,7 @@
"components/profile", "components/profile",
"components/question", "components/question",
"components/smiles", "components/smiles",
"components/themes",
"components/totp-setup", "components/totp-setup",
"components/userbox"; "components/userbox";

View File

@ -0,0 +1,15 @@
.theme-success {
--background: #f4fcf6;
--primary: var(--success);
}
.theme-warning {
--background: #fcfaf4;
--primary: var(--warning);
--primary-text: 0, 0, 0;
}
.theme-danger {
--background: #fceff1;
--primary: var(--danger);
}