mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-21 00:11:21 +02:00
Dracula theme
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
import { catppuccin } from './themes/catppuccin';
|
import { catppuccin } from './themes/catppuccin';
|
||||||
|
import { dracula } from './themes/dracula';
|
||||||
import { github } from './themes/github';
|
import { github } from './themes/github';
|
||||||
import { hotdogStand } from './themes/hotdog-stand';
|
import { hotdogStand } from './themes/hotdog-stand';
|
||||||
import { monokaiPro } from './themes/monokai-pro';
|
import { monokaiPro } from './themes/monokai-pro';
|
||||||
@@ -16,5 +17,6 @@ export const yaakThemes = [
|
|||||||
...monokaiPro,
|
...monokaiPro,
|
||||||
...github,
|
...github,
|
||||||
...moonlight,
|
...moonlight,
|
||||||
|
...dracula,
|
||||||
...hotdogStand,
|
...hotdogStand,
|
||||||
];
|
];
|
||||||
|
|||||||
32
src-web/lib/theme/themes/dracula.ts
Normal file
32
src-web/lib/theme/themes/dracula.ts
Normal 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];
|
||||||
Reference in New Issue
Block a user