Dracula theme

This commit is contained in:
Gregory Schier
2024-05-30 11:56:57 -07:00
parent 606977d795
commit 3efb5bb4eb
2 changed files with 34 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
import { catppuccin } from './themes/catppuccin';
import { dracula } from './themes/dracula';
import { github } from './themes/github';
import { hotdogStand } from './themes/hotdog-stand';
import { monokaiPro } from './themes/monokai-pro';
@@ -16,5 +17,6 @@ export const yaakThemes = [
...monokaiPro,
...github,
...moonlight,
...dracula,
...hotdogStand,
];

View File

@@ -0,0 +1,32 @@
import { Color } from '../color';
import type { YaakTheme } from '../window';
const draculaDefault: YaakTheme = {
id: 'dracula',
name: 'Dracula',
background: new Color('#282A36', 'dark'),
backgroundHighlight: new Color('#343746', 'dark'),
backgroundHighlightSecondary: new Color('#424450', 'dark'),
foreground: new Color('#F8F8F2', 'dark'),
foregroundSubtle: new Color('hsl(232,14%,65%)', 'dark'),
foregroundSubtler: new Color('hsl(232,14%,50%)', 'dark'),
colors: {
primary: new Color('#BD93F9', 'dark'),
secondary: new Color('#6272A4', 'dark'),
info: new Color('#8BE9FD', 'dark'),
success: new Color('#50FA7B', 'dark'),
notice: new Color('#F1FA8C', 'dark'),
warning: new Color('#FFB86C', 'dark'),
danger: new Color('#FF5555', 'dark'),
},
components: {
sidebar: {
background: new Color('hsl(230,15%,24%)', 'dark'),
},
appHeader: {
background: new Color('#21222C', 'dark'),
},
},
};
export const dracula = [draculaDefault];