mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-07 20:39:04 +03:00
Remove unused color_scheme
field in the theme
I totally didn't mean to commit this right to main T_T
This commit is contained in:
parent
c409059dc4
commit
a732b2e043
@ -65,7 +65,6 @@ pub struct Theme {
|
|||||||
pub assistant: AssistantStyle,
|
pub assistant: AssistantStyle,
|
||||||
pub feedback: FeedbackStyle,
|
pub feedback: FeedbackStyle,
|
||||||
pub welcome: WelcomeStyle,
|
pub welcome: WelcomeStyle,
|
||||||
pub color_scheme: ColorScheme,
|
|
||||||
pub titlebar: Titlebar,
|
pub titlebar: Titlebar,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -57,21 +57,6 @@ export default function app(): any {
|
|||||||
tooltip: tooltip(),
|
tooltip: tooltip(),
|
||||||
terminal: terminal(),
|
terminal: terminal(),
|
||||||
assistant: assistant(),
|
assistant: assistant(),
|
||||||
feedback: feedback(),
|
feedback: feedback()
|
||||||
color_scheme: {
|
|
||||||
...theme,
|
|
||||||
players: Object.values(theme.players),
|
|
||||||
ramps: {
|
|
||||||
neutral: theme.ramps.neutral.colors(100, "hex"),
|
|
||||||
red: theme.ramps.red.colors(100, "hex"),
|
|
||||||
orange: theme.ramps.orange.colors(100, "hex"),
|
|
||||||
yellow: theme.ramps.yellow.colors(100, "hex"),
|
|
||||||
green: theme.ramps.green.colors(100, "hex"),
|
|
||||||
cyan: theme.ramps.cyan.colors(100, "hex"),
|
|
||||||
blue: theme.ramps.blue.colors(100, "hex"),
|
|
||||||
violet: theme.ramps.violet.colors(100, "hex"),
|
|
||||||
magenta: theme.ramps.magenta.colors(100, "hex"),
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user