1
Fork 0

Add the Solarized theme.

This commit is contained in:
Bauke 2022-01-25 11:43:41 +01:00
parent ff4e486455
commit 57f3b64958
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
3 changed files with 24 additions and 0 deletions

View File

@ -3,6 +3,7 @@
// Theme definitions
@use 'themes/love';
@use 'themes/solarized';
// Component styling
@use 'components/search-bar';

View File

@ -0,0 +1,15 @@
.solarized-dark {
--border-radius: 8px;
--foreground-1: #839496;
--foreground-2: #93a1a1;
--background-1: #002b36;
--background-2: #073642;
}
.solarized-light {
--border-radius: 8px;
--foreground-1: #657b83;
--foreground-2: #586e75;
--background-1: #fdf6e3;
--background-2: #eee8d5;
}

View File

@ -14,6 +14,14 @@ export const themes: Theme[] = [
cssClass: 'love-light',
name: 'Love Light',
},
{
cssClass: 'solarized-dark',
name: 'Solarized Dark',
},
{
cssClass: 'solarized-light',
name: 'Solarized Light',
},
];
export const themeContext = createContext<Theme>(themes[0]);