Add onMedia text color for use in disconnect overlay text

This commit is contained in:
Keith Simmons
2022-05-23 14:34:34 -07:00
parent fcc6deceb9
commit e05695c4a6
3 changed files with 3 additions and 1 deletions
+1 -1
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: {
+1
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 = {
+1
View File
@@ -105,6 +105,7 @@ export default interface Theme {
error: ColorToken;
warning: ColorToken;
info: ColorToken;
onMedia: ColorToken;
};
iconColor: {
primary: ColorToken;