mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-03-21 00:49:17 +01:00
Theme analytics and Moonlight
This commit is contained in:
@@ -2,6 +2,7 @@ import { catppuccin } from './themes/catppuccin';
|
||||
import { github } from './themes/github';
|
||||
import { hotdogStand } from './themes/hotdog-stand';
|
||||
import { monokaiPro } from './themes/monokai-pro';
|
||||
import { moonlight } from './themes/moonlight';
|
||||
import { rosePine } from './themes/rose-pine';
|
||||
import { yaak, yaakDark, yaakLight } from './themes/yaak';
|
||||
|
||||
@@ -12,7 +13,8 @@ export const yaakThemes = [
|
||||
...yaak,
|
||||
...catppuccin,
|
||||
...rosePine,
|
||||
...github,
|
||||
...monokaiPro,
|
||||
...github,
|
||||
...moonlight,
|
||||
...hotdogStand,
|
||||
];
|
||||
|
||||
72
src-web/lib/theme/themes/moonlight.ts
Normal file
72
src-web/lib/theme/themes/moonlight.ts
Normal file
@@ -0,0 +1,72 @@
|
||||
import { Color } from '../color';
|
||||
import type { YaakTheme } from '../window';
|
||||
|
||||
export const colors = {
|
||||
lightRed: '#ff98a4',
|
||||
red: '#ff757f',
|
||||
darkRed: '#ff5370',
|
||||
lightOrange: '#f8b576',
|
||||
orange: '#ff966c',
|
||||
darkOrange: '#fc7b7b',
|
||||
yellow: '#ffc777',
|
||||
green: '#c3e88d',
|
||||
lightTeal: '#7af8ca',
|
||||
teal: '#3ad7c7',
|
||||
lightCyan: '#b4f9f8',
|
||||
cyan: '#78dbff',
|
||||
sky: '#60bdff',
|
||||
blue: '#7cafff',
|
||||
darkBlue: '#3d6fe0',
|
||||
darkestBlue: '#3b63cf',
|
||||
indigo: '#af9fff',
|
||||
purple: '#c4a2ff',
|
||||
pink: '#fca7ea',
|
||||
darkPink: '#fd8aca',
|
||||
saturatedGray: '#7a88cf',
|
||||
desaturatedGray: '#979bb6',
|
||||
gray11: '#d5def8',
|
||||
gray10: '#c8d3f5',
|
||||
gray9: '#b4c2f0',
|
||||
gray8: '#a9b8e8',
|
||||
gray7: '#828bb8',
|
||||
gray6: '#444a73',
|
||||
gray5: '#2f334d',
|
||||
gray4: '#222436',
|
||||
gray3: '#1e2030',
|
||||
gray2: '#191a2a',
|
||||
gray1: '#131421',
|
||||
} as const;
|
||||
|
||||
const moonlightDefault: YaakTheme = {
|
||||
id: 'moonlight',
|
||||
name: 'Moonlight',
|
||||
background: new Color(colors.gray4, 'dark'),
|
||||
backgroundHighlight: new Color(colors.gray5, 'dark'),
|
||||
backgroundHighlightSecondary: new Color(colors.gray5, 'dark'),
|
||||
foreground: new Color(colors.gray11, 'dark'),
|
||||
foregroundSubtle: new Color(colors.gray7, 'dark'),
|
||||
foregroundSubtler: new Color(colors.gray6, 'dark'),
|
||||
colors: {
|
||||
primary: new Color(colors.purple, 'dark'),
|
||||
secondary: new Color(colors.desaturatedGray, 'dark'),
|
||||
info: new Color(colors.blue, 'dark'),
|
||||
success: new Color(colors.teal, 'dark'),
|
||||
notice: new Color(colors.yellow, 'dark'),
|
||||
warning: new Color(colors.orange, 'dark'),
|
||||
danger: new Color(colors.red, 'dark'),
|
||||
},
|
||||
components: {
|
||||
appHeader: {
|
||||
background: new Color(colors.gray3, 'dark'),
|
||||
backgroundHighlight: new Color(colors.gray5, 'dark'),
|
||||
backgroundHighlightSecondary: new Color(colors.gray4, 'dark'),
|
||||
},
|
||||
sidebar: {
|
||||
background: new Color(colors.gray3, 'dark'),
|
||||
backgroundHighlight: new Color(colors.gray5, 'dark'),
|
||||
backgroundHighlightSecondary: new Color(colors.gray4, 'dark'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export const moonlight = [moonlightDefault];
|
||||
Reference in New Issue
Block a user