theme: Fix macos-classic theme details and fix theme schema. (#1699)
This commit is contained in:
parent
d7ff792cf4
commit
7a42e44c28
2 changed files with 51 additions and 55 deletions
|
|
@ -19,6 +19,29 @@
|
|||
"type": ["string", "null"],
|
||||
"default": null
|
||||
},
|
||||
"themes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/ThemeConfig"
|
||||
},
|
||||
"default": []
|
||||
}
|
||||
},
|
||||
"required": ["name", "themes"],
|
||||
"$defs": {
|
||||
"ThemeConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The name of the theme.",
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"mode": {
|
||||
"description": "The mode of the theme, default is light.",
|
||||
"$ref": "#/$defs/ThemeMode",
|
||||
"default": "light"
|
||||
},
|
||||
"font.size": {
|
||||
"description": "The base font size, default is 16.",
|
||||
"type": ["number", "null"],
|
||||
|
|
@ -56,29 +79,6 @@
|
|||
"type": ["boolean", "null"],
|
||||
"default": true
|
||||
},
|
||||
"themes": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/$defs/ThemeConfig"
|
||||
},
|
||||
"default": []
|
||||
}
|
||||
},
|
||||
"required": ["name", "themes"],
|
||||
"$defs": {
|
||||
"ThemeConfig": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"description": "The name of the theme.",
|
||||
"type": "string",
|
||||
"default": ""
|
||||
},
|
||||
"mode": {
|
||||
"description": "The mode of the theme, default is light.",
|
||||
"$ref": "#/$defs/ThemeMode",
|
||||
"default": "light"
|
||||
},
|
||||
"colors": {
|
||||
"description": "The colors of the theme.",
|
||||
"$ref": "#/$defs/ThemeConfigColors",
|
||||
|
|
|
|||
|
|
@ -7,38 +7,35 @@
|
|||
{
|
||||
"name": "macOS Classic Light",
|
||||
"mode": "light",
|
||||
"shadow": false,
|
||||
"colors": {
|
||||
"accent.background": "#E0E0E0",
|
||||
"accent.foreground": "#000000",
|
||||
"background": "#F7F7F7",
|
||||
"background": "#F9F9F9",
|
||||
"foreground": "#000000",
|
||||
"border": "#DADADA",
|
||||
"border": "#D2D2D2",
|
||||
"ring": "#0064E1",
|
||||
"danger.foreground": "#FFFFFF",
|
||||
"input.border": "#E0E0E0",
|
||||
"list.active.background": "#0064E110",
|
||||
"list.active.border": "#0064E1",
|
||||
"list.background": "#FFFFFF",
|
||||
"list.even.background": "#EFEFEF",
|
||||
"list.hover.background": "#E7E7E7",
|
||||
"list.head.background": "#F7F7F7",
|
||||
"muted.background": "#F7F7F7",
|
||||
"muted.foreground": "#505050",
|
||||
"panel.background": "#F9F9F9",
|
||||
"popover.background": "#FAFAFA",
|
||||
"muted.background": "#F5F5F5",
|
||||
"muted.foreground": "#707070",
|
||||
"popover.background": "#F5F5F5",
|
||||
"popover.foreground": "#000000",
|
||||
"primary.background": "#0064E1",
|
||||
"primary.foreground": "#FFFFFF",
|
||||
"scrollbar.background": "#FFFFFF00",
|
||||
"scrollbar.thumb.background": "#C8C8C8AA",
|
||||
"secondary.active.background": "#D0D0D0",
|
||||
"secondary.background": "#E4E4E4",
|
||||
"scrollbar.thumb.background": "#C8C8C8",
|
||||
"secondary.active.background": "#D9D9D9",
|
||||
"secondary.background": "#E0E0E0",
|
||||
"secondary.foreground": "#000000",
|
||||
"secondary.hover.background": "#e9e9e9",
|
||||
"tab.active.background": "#FFFFFF",
|
||||
"secondary.hover.background": "#E5E5E5",
|
||||
"tab.active.foreground": "#000000",
|
||||
"tab.background": "#E9E9E9",
|
||||
"tab.foreground": "#929292",
|
||||
"tab.foreground": "#606060",
|
||||
"tab_bar.background": "#E9E9E9",
|
||||
"title_bar.background": "#FEFEFE",
|
||||
"title_bar.border": "#DADADA",
|
||||
|
|
@ -149,6 +146,7 @@
|
|||
{
|
||||
"name": "macOS Classic Dark",
|
||||
"mode": "dark",
|
||||
"shadow": false,
|
||||
"colors": {
|
||||
"accent.background": "#363636",
|
||||
"accent.foreground": "#CACCCA",
|
||||
|
|
@ -156,23 +154,21 @@
|
|||
"border": "#454545",
|
||||
"ring": "#0059D1",
|
||||
"foreground": "#DEDEDE",
|
||||
"input.border": "#494949",
|
||||
"list.even.background": "#232323",
|
||||
"list.active.background": "#0059D115",
|
||||
"list.active.border": "#0059D1",
|
||||
"muted.background": "#1E1D1E",
|
||||
"muted.foreground": "#9D9D9D",
|
||||
"panel.background": "#1E1D1E",
|
||||
"popover.background": "#1E1D1E",
|
||||
"popover.foreground": "#CACCCA",
|
||||
"primary.background": "#0059D1",
|
||||
"primary.foreground": "#F2F9FF",
|
||||
"scrollbar.background": "#13131300",
|
||||
"scrollbar.thumb.background": "#4C4D4DAA",
|
||||
"secondary.active.background": "#2F2F2F99",
|
||||
"secondary.active.background": "#30303099",
|
||||
"secondary.background": "#303030",
|
||||
"secondary.foreground": "#DEDEDE",
|
||||
"secondary.hover.background": "#343434",
|
||||
"secondary.hover.background": "#323232",
|
||||
"tab.active.background": "#1E1E1E",
|
||||
"tab.background": "#232323",
|
||||
"tab.foreground": "#8F8F8F",
|
||||
|
|
|
|||
Loading…
Reference in a new issue