Skip to content

Take control over your live stream video by running it yourself. Streaming + chat out of the box.

Fix components having transparent backgrounds because colors are unset

Gabe Kangasb67002ca4e27
diff --git a/web/style-definitions/tokens/color/antd-overrides.yaml b/web/style-definitions/tokens/color/antd-overrides.yaml
index e2bf491fd2..0d87272b30 100644
--- a/web/style-definitions/tokens/color/antd-overrides.yaml
+++ b/web/style-definitions/tokens/color/antd-overrides.yaml
@@ -10,7 +10,15 @@ link-color:
value: 'var(--theme-text-link)'
popover-background:
value: 'var(--theme-background-secondary)'
+modal-content-bg:
+ value: '{color.unknown-2.value}'
background-color-light:
value: 'var(--theme-background-secondary)'
layout-body-background:
value: 'var(--theme-background-primary)'
+
+# These colors need to be explicitly set and cannot use CSS variables.
+component-background:
+ value: '{color.unknown.value}'
+warning-color:
+ value: '{color.unknown-2.value}'
diff --git a/web/styles/theme.less b/web/styles/theme.less
index 98ef81f46a..a5574e12b4 100644
--- a/web/styles/theme.less
+++ b/web/styles/theme.less
@@ -1,6 +1,6 @@
// Do not edit directly
-// Generated on Sun, 10 Jul 2022 17:52:44 GMT
+// Generated on Tue, 12 Jul 2022 20:15:16 GMT
//
// How to edit these values:
// Edit the corresponding token file under the style-definitions directory
@@ -10,8 +10,11 @@
@text-color-secondary: var(--theme-text-secondary);
@link-color: var(--theme-text-link);
@popover-background: var(--theme-background-secondary);
+@modal-content-bg: #ff0000;
@background-color-light: var(--theme-background-secondary);
@layout-body-background: var(--theme-background-primary);
+@component-background: #00ff00;
+@warning-color: #ff0000;
@theme-unknown: #00ff00;
@theme-unknown-2: #ff0000;
@theme-primary: #00ff00; // The primary color of the application used for rendering controls.
diff --git a/web/styles/variables.css b/web/styles/variables.css
index 8f51b2caf1..bbe4f37cec 100644
--- a/web/styles/variables.css
+++ b/web/styles/variables.css
@@ -1,6 +1,6 @@
/**
* Do not edit directly
- * Generated on Sun, 10 Jul 2022 17:52:44 GMT
+ * Generated on Tue, 12 Jul 2022 20:15:16 GMT
*
* How to edit these values:
* Edit the corresponding token file under the style-definitions directory
@@ -12,8 +12,11 @@
--text-color-secondary: var(--theme-text-secondary);
--link-color: var(--theme-text-link);
--popover-background: var(--theme-background-secondary);
+ --modal-content-bg: #ff0000;
--background-color-light: var(--theme-background-secondary);
--layout-body-background: var(--theme-background-primary);
+ --component-background: #00ff00;
+ --warning-color: #ff0000;
--theme-unknown: #00ff00;
--theme-unknown-2: #ff0000;
--theme-primary: #00ff00; /* The primary color of the application used for rendering controls. */