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:
Nate Butler 2022-05-25 10:52:37 -04:00 committed by GitHub
commit e39089697d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View file

@ -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: {

View file

@ -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 = {

View file

@ -105,6 +105,7 @@ export default interface Theme {
error: ColorToken;
warning: ColorToken;
info: ColorToken;
onMedia: ColorToken;
};
iconColor: {
primary: ColorToken;