mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-15 20:19:59 +01:00
Add example themes for frontpage demonstration
This commit is contained in:
parent
249de5b1ee
commit
f0c7fdb92f
3 changed files with 20 additions and 0 deletions
|
@ -56,6 +56,10 @@ $avatar-sizes: (
|
|||
"xl": 160px,
|
||||
);
|
||||
|
||||
$spacers: (
|
||||
10: (1rem * 6)
|
||||
);
|
||||
|
||||
:root {
|
||||
--background: #f0edf4;
|
||||
--input-bg: var(--background);
|
||||
|
|
|
@ -87,6 +87,7 @@
|
|||
"components/profile",
|
||||
"components/question",
|
||||
"components/smiles",
|
||||
"components/themes",
|
||||
"components/totp-setup",
|
||||
"components/userbox";
|
||||
|
||||
|
|
15
app/javascript/styles/components/_themes.scss
Normal file
15
app/javascript/styles/components/_themes.scss
Normal 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);
|
||||
}
|
Loading…
Reference in a new issue