mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-11 21:13:02 +00:00
Merge pull request #1048 from zed-industries/onMedia-theme-text-color
Add onMedia text color for use in disconnect overlay text
This commit is contained in:
commit
e39089697d
3 changed files with 3 additions and 1 deletions
|
@ -155,7 +155,7 @@ export default function workspace(theme: Theme) {
|
|||
padding: { left: 6 },
|
||||
},
|
||||
disconnectedOverlay: {
|
||||
...text(theme, "sans", "active"),
|
||||
...text(theme, "sans", "onMedia"),
|
||||
background: "#000000aa",
|
||||
},
|
||||
notification: {
|
||||
|
|
|
@ -107,6 +107,7 @@ export function createTheme(
|
|||
error: rampColor(ramps.red, 0.5),
|
||||
warning: rampColor(ramps.yellow, 0.5),
|
||||
info: rampColor(ramps.blue, 0.5),
|
||||
onMedia: rampColor(ramps.neutral, isLight ? 0 : 7),
|
||||
};
|
||||
|
||||
const player = {
|
||||
|
|
|
@ -105,6 +105,7 @@ export default interface Theme {
|
|||
error: ColorToken;
|
||||
warning: ColorToken;
|
||||
info: ColorToken;
|
||||
onMedia: ColorToken;
|
||||
};
|
||||
iconColor: {
|
||||
primary: ColorToken;
|
||||
|
|
Loading…
Reference in a new issue