Update builtin themes
This commit is contained in:
		
							parent
							
								
									b91de4ac12
								
							
						
					
					
						commit
						7dfe7005e0
					
				
					 6 changed files with 50 additions and 3 deletions
				
			
		|  | @ -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) { | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ | |||
| 	id: '2b0a0654-cdb4-4c9a-8244-736b647d3c2a', | ||||
| 
 | ||||
| 	name: 'Japanese Sushi Set', | ||||
| 	author: 'noizenecio & syuilo', | ||||
| 	author: 'Noizenecio', | ||||
| 
 | ||||
| 	base: 'dark', | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ | |||
| 	id: '252b2caf-86c2-4c3f-a73f-e1fc1cfa5298', | ||||
| 
 | ||||
| 	name: 'Mauve', | ||||
| 	author: 'とわこ & syuilo', | ||||
| 	author: 'とわこ', | ||||
| 
 | ||||
| 	base: 'dark', | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ | |||
| 	id: 'e9c8c01d-9c15-48d0-9b5c-3d00843b5b36', | ||||
| 
 | ||||
| 	name: 'Lavender', | ||||
| 	author: 'sokuyuku & syuilo', | ||||
| 	author: 'sokuyuku', | ||||
| 
 | ||||
| 	base: 'light', | ||||
| 
 | ||||
|  |  | |||
|  | @ -3,6 +3,7 @@ | |||
| 
 | ||||
| 	name: 'Rainy', | ||||
| 	author: 'syuilo', | ||||
| 	desc: 'It\'s a rainy day.', | ||||
| 
 | ||||
| 	base: 'light', | ||||
| 
 | ||||
|  |  | |||
							
								
								
									
										44
									
								
								src/client/theme/tweet-deck.json5
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								src/client/theme/tweet-deck.json5
									
										
									
									
									
										Normal 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', | ||||
| 	}, | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue