[Client] Add Monokai theme 🎨

This commit is contained in:
syuilo 2018-12-30 09:21:23 +09:00
parent fcb3ba9947
commit 8bbff90aca
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
2 changed files with 27 additions and 1 deletions

View File

@ -18,6 +18,7 @@ export const halloweenTheme: Theme = require('../theme/halloween.json5');
export const cafeTheme: Theme = require('../theme/cafe.json5');
export const japaneseSushiSetTheme: Theme = require('../theme/japanese-sushi-set.json5');
export const gruvboxDarkTheme: Theme = require('../theme/gruvbox-dark.json5');
export const monokaiTheme: Theme = require('../theme/monokai.json5');
export const builtinThemes = [
lightTheme,
@ -27,7 +28,8 @@ export const builtinThemes = [
halloweenTheme,
cafeTheme,
japaneseSushiSetTheme,
gruvboxDarkTheme
gruvboxDarkTheme,
monokaiTheme
];
export function applyTheme(theme: Theme, persisted = true) {

View File

@ -0,0 +1,24 @@
{
id: 'fef11dc4-6b17-436e-b374-73282c44ddc0',
name: 'Monokai',
author: 'syuilo',
base: 'dark',
vars: {
primary: '#f92672',
secondary: '#272822',
text: '#f8f8f2',
},
props: {
renoteGradient: '#3f500f',
renoteText: '#a6e22e',
quoteBorder: '#a6e22e',
mfmMention: '#ae81ff',
mfmUrl: '#66d9ef',
mfmLink: '#e6db74',
mfmHashtag: '#fd971f'
},
}