From e093d617a82760596cbde2547de4460a95ffb788 Mon Sep 17 00:00:00 2001 From: Hadil Date: Thu, 17 Oct 2024 11:03:42 +0100 Subject: [PATCH] Add a new theme Add chartreuse theme --- src/core/exts/theme.ts | 2 ++ src/core/theme/chartreuse.ts | 10 ++++++++++ 2 files changed, 12 insertions(+) create mode 100644 src/core/theme/chartreuse.ts diff --git a/src/core/exts/theme.ts b/src/core/exts/theme.ts index 5f1ef72..7826c93 100644 --- a/src/core/exts/theme.ts +++ b/src/core/exts/theme.ts @@ -7,6 +7,7 @@ import transparent from "../theme/transparent"; import unicorn from "../theme/unicorn"; import wtf from "../theme/wtf"; import radical from "../theme/radical"; +import chartreuse from "../theme/chartreuse"; import { Extension, Item } from "../types"; export const supported: Record = { @@ -18,6 +19,7 @@ export const supported: Record = { wtf, transparent, radical, + chartreuse }; export function ThemeExtension(): Extension { diff --git a/src/core/theme/chartreuse.ts b/src/core/theme/chartreuse.ts new file mode 100644 index 0000000..20906be --- /dev/null +++ b/src/core/theme/chartreuse.ts @@ -0,0 +1,10 @@ +import { Theme } from "./_theme"; + +export default Theme({ + palette: { + bg: ["#000", "#fff"], + text: ["#00AEFF", "#7fff00"], + color: ["#ffa116", "#5cb85c", "#f0ad4e", "#d9534f"], + }, + css: `#L{fill:#fff}`, +}); \ No newline at end of file