From 0a2eb133907502aed1e248aed0845c3b72fec071 Mon Sep 17 00:00:00 2001 From: ltlapy Date: Mon, 6 Jun 2022 02:57:58 +0900 Subject: [PATCH] theme: add Qdon(dark) theme --- packages/client/src/scripts/theme.ts | 1 + packages/client/src/themes/d-qdon.json5 | 41 +++++++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 packages/client/src/themes/d-qdon.json5 diff --git a/packages/client/src/scripts/theme.ts b/packages/client/src/scripts/theme.ts index e2b272405a..d585e96b69 100644 --- a/packages/client/src/scripts/theme.ts +++ b/packages/client/src/scripts/theme.ts @@ -35,6 +35,7 @@ export const getBuiltinThemes = () => Promise.all( 'd-ice', 'd-pumpkin', 'd-black', + 'd-qdon' ].map(name => import(`../themes/${name}.json5`).then(({ default: _default }): Theme => _default)) ); diff --git a/packages/client/src/themes/d-qdon.json5 b/packages/client/src/themes/d-qdon.json5 new file mode 100644 index 0000000000..20fc884bc0 --- /dev/null +++ b/packages/client/src/themes/d-qdon.json5 @@ -0,0 +1,41 @@ + +{ + id: '363c5c40-e8f1-4f69-b84a-ad69e994a392', + name: 'Qdon', + author: '@lapy@k.lapy.link', + desc: 'Dark theme inspired from the default theme of Qdon.space, a queer-friendly mastodon instance', + base: 'dark', + props: { + $mstdnBase: '#0e1014', + $mstdnUI: '#1d2028', + $mstdnBg: '#262a34', + $mstdnBgHover: '#2d323d', + $mstdnProp: '#555e75', + $mstdnPropHighlighted: '#646e8a', + $mstdnHyperLink: '#87ceeb', + $qdonL2: '#ffc0fb', + $qdonL1: '#ffa7f9', + $qdon: '#ff8df8', + accent: '$qdon', + accentDarken: '#ff7ef7', + accentLighten: '$qdonL2', + bg: '$mstdnBase', + acrylicBg: '$mstdnUI', + fg: '#eee', + divider: '#2e3340', + panel: '$mstdnUI', + panelHighlight: '$mstdnBg', + popup: '$mstdnUI', + navHoverFg: '$qdonL2', + link: '$qdonL1', + hashtag: '#87ceeb', + mention: '$mstdnHyperLink', + renote: '$mstdnHyperLink', + cwBg: '#5e6781', + cwFg: '$mstdnUI', + cwHoverBg: ':lighten<5<@cwBg', + buttonBg: '#393f4f', + buttonHoverBg: '#242731', + quote: '$mstdnHyperLink', + }, +}