1
Fork 0

Add the Dracula theme.

This commit is contained in:
Bauke 2022-01-26 13:04:03 +01:00
parent 57f3b64958
commit fb47a795ec
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
3 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,7 @@
@use 'common';
// Theme definitions
@use 'themes/dracula';
@use 'themes/love';
@use 'themes/solarized';

View File

@ -0,0 +1,7 @@
.dracula {
--border-radius: 8px;
--foreground-1: #f8f8f2;
--foreground-2: #f8f8f2;
--background-1: #282a36;
--background-2: #44475a;
}

View File

@ -22,6 +22,10 @@ export const themes: Theme[] = [
cssClass: 'solarized-light',
name: 'Solarized Light',
},
{
cssClass: 'dracula',
name: 'Dracula',
},
];
export const themeContext = createContext<Theme>(themes[0]);