mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-03-29 21:33:54 +00:00
feat(app): AMOLED theme
This commit is contained in:
parent
3ba9ab2c0a
commit
02c75821a8
@ -14,6 +14,7 @@ import vesperThemeJson from "./themes/vesper.json"
|
||||
import carbonfoxThemeJson from "./themes/carbonfox.json"
|
||||
import gruvboxThemeJson from "./themes/gruvbox.json"
|
||||
import auraThemeJson from "./themes/aura.json"
|
||||
import amoledThemeJson from "./themes/amoled.json"
|
||||
|
||||
export const oc2Theme = oc2ThemeJson as DesktopTheme
|
||||
export const tokyonightTheme = tokyoThemeJson as DesktopTheme
|
||||
@ -30,9 +31,11 @@ export const vesperTheme = vesperThemeJson as DesktopTheme
|
||||
export const carbonfoxTheme = carbonfoxThemeJson as DesktopTheme
|
||||
export const gruvboxTheme = gruvboxThemeJson as DesktopTheme
|
||||
export const auraTheme = auraThemeJson as DesktopTheme
|
||||
export const amoledTheme = amoledThemeJson as DesktopTheme
|
||||
|
||||
export const DEFAULT_THEMES: Record<string, DesktopTheme> = {
|
||||
"oc-2": oc2Theme,
|
||||
amoled: amoledTheme,
|
||||
aura: auraTheme,
|
||||
ayu: ayuTheme,
|
||||
carbonfox: carbonfoxTheme,
|
||||
|
||||
49
packages/ui/src/theme/themes/amoled.json
Normal file
49
packages/ui/src/theme/themes/amoled.json
Normal file
@ -0,0 +1,49 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/desktop-theme.json",
|
||||
"name": "AMOLED",
|
||||
"id": "amoled",
|
||||
"light": {
|
||||
"palette": {
|
||||
"neutral": "#f0f0f0",
|
||||
"ink": "#0a0a0a",
|
||||
"primary": "#6200ff",
|
||||
"accent": "#ff0080",
|
||||
"success": "#00e676",
|
||||
"warning": "#ffab00",
|
||||
"error": "#ff1744",
|
||||
"info": "#00b0ff",
|
||||
"diffAdd": "#00e676",
|
||||
"diffDelete": "#ff1744"
|
||||
},
|
||||
"overrides": {
|
||||
"syntax-comment": "#757575",
|
||||
"syntax-keyword": "#d500f9",
|
||||
"syntax-string": "#00e676",
|
||||
"syntax-primitive": "#00b0ff",
|
||||
"syntax-property": "#ff9100",
|
||||
"syntax-constant": "#6200ff"
|
||||
}
|
||||
},
|
||||
"dark": {
|
||||
"palette": {
|
||||
"neutral": "#000000",
|
||||
"ink": "#ffffff",
|
||||
"primary": "#b388ff",
|
||||
"accent": "#ff4081",
|
||||
"success": "#00ff88",
|
||||
"warning": "#ffea00",
|
||||
"error": "#ff1744",
|
||||
"info": "#18ffff",
|
||||
"diffAdd": "#00ff88",
|
||||
"diffDelete": "#ff1744"
|
||||
},
|
||||
"overrides": {
|
||||
"syntax-comment": "#555555",
|
||||
"syntax-keyword": "#ff00ff",
|
||||
"syntax-string": "#00ff88",
|
||||
"syntax-primitive": "#18ffff",
|
||||
"syntax-property": "#ffea00",
|
||||
"syntax-constant": "#b388ff"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user