Update builtin themes

This commit is contained in:
syuilo 2019-02-07 02:36:02 +09:00
parent bb883c8d38
commit 3ea1163181
6 changed files with 50 additions and 3 deletions

View File

@ -23,6 +23,7 @@ export const colorfulTheme: Theme = require('../theme/colorful.json5');
export const rainyTheme: Theme = require('../theme/rainy.json5');
export const mauveTheme: Theme = require('../theme/mauve.json5');
export const grayTheme: Theme = require('../theme/gray.json5');
export const tweetDeckTheme: Theme = require('../theme/tweet-deck.json5');
export const builtinThemes = [
lightTheme,
@ -38,6 +39,7 @@ export const builtinThemes = [
rainyTheme,
mauveTheme,
grayTheme,
tweetDeckTheme,
];
export function applyTheme(theme: Theme, persisted = true) {

View File

@ -2,7 +2,7 @@
id: '2b0a0654-cdb4-4c9a-8244-736b647d3c2a',
name: 'Japanese Sushi Set',
author: 'noizenecio & syuilo',
author: 'Noizenecio',
base: 'dark',

View File

@ -2,7 +2,7 @@
id: '252b2caf-86c2-4c3f-a73f-e1fc1cfa5298',
name: 'Mauve',
author: 'とわこ & syuilo',
author: 'とわこ',
base: 'dark',

View File

@ -2,7 +2,7 @@
id: 'e9c8c01d-9c15-48d0-9b5c-3d00843b5b36',
name: 'Lavender',
author: 'sokuyuku & syuilo',
author: 'sokuyuku',
base: 'light',

View File

@ -3,6 +3,7 @@
name: 'Rainy',
author: 'syuilo',
desc: 'It\'s a rainy day.',
base: 'light',

View File

@ -0,0 +1,44 @@
{
name: 'Tweet Deck',
id: '06f82fb4-0dad-4d70-8a3f-56cae91e1163',
author: 'simirall',
desc: 'Tweet like a pro.',
base: 'dark',
vars: {
primary: '#1da1f2',
secondary: '#15202b',
text: '#fdfdfd',
},
props: {
bg: '#10171e',
faceHeader: '$secondary',
faceTextButton: '$primary',
renoteGradient: '$secondary',
renoteText: '#17bf63',
quoteBorder: '#38444d',
noteHeaderAdminFg: '$primary',
noteHeaderAdminBg: '$secondary',
noteActionsReplyHover: '$primary',
noteActionsRenoteHover: '#17bf63',
noteActionsReactionHover: '#e0245e',
calendarWeek: '$primary',
calendarSaturdayOrSunday: '#e0245e',
announcementsBg: '$secondary',
announcementsTitle: '$primary',
suspendedInfoBg: '$secondary',
suspendedInfoFg: '$primary',
remoteInfoBg: '$secondary',
remoteInfoFg: '#$primary',
desktopHeaderBg: '#1c2938',
desktopHeaderFg: '#a9adae',
desktopHeaderHoverFg: '#fff',
desktopPostFormTransparentButtonFg: '#a9adae',
desktopTimelineSrc: '$primary',
desktopTimelineSrcHover: '#fff',
deckAcrylicColumnBg: 'rgba(0, 0, 0, 0.0)',
reversiBannerGradientStart: '$primary',
reversiBannerGradientEnd: '$primary',
reversiGameEmptyCellMyTurn: ':lighten<5<$primary',
reversiGameEmptyCellCanPut: ':lighten<4<$primary',
},
}