[Client] Add Monokai theme 🎨

This commit is contained in:
syuilo 2018-12-30 09:21:23 +09:00
parent 460265d38e
commit 7c9d69d4db
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 cafeTheme: Theme = require('../theme/cafe.json5');
export const japaneseSushiSetTheme: Theme = require('../theme/japanese-sushi-set.json5'); export const japaneseSushiSetTheme: Theme = require('../theme/japanese-sushi-set.json5');
export const gruvboxDarkTheme: Theme = require('../theme/gruvbox-dark.json5'); export const gruvboxDarkTheme: Theme = require('../theme/gruvbox-dark.json5');
export const monokaiTheme: Theme = require('../theme/monokai.json5');
export const builtinThemes = [ export const builtinThemes = [
lightTheme, lightTheme,
@ -27,7 +28,8 @@ export const builtinThemes = [
halloweenTheme, halloweenTheme,
cafeTheme, cafeTheme,
japaneseSushiSetTheme, japaneseSushiSetTheme,
gruvboxDarkTheme gruvboxDarkTheme,
monokaiTheme
]; ];
export function applyTheme(theme: Theme, persisted = true) { 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'
},
}