Browse Source

fix(dark-mode): Change background & font color in create org page (#32809)

Vu Luong 3 years ago
parent
commit
71c76a765b
1 changed files with 22 additions and 0 deletions
  1. 22 0
      static/app/styles/global.tsx

+ 22 - 0
static/app/styles/global.tsx

@@ -76,6 +76,28 @@ const styles = (theme: Theme, isDark: boolean) => css`
     ? css`
         .box {
           background: ${theme.background};
+
+          .box-content,
+          .box-header {
+            background: ${theme.background};
+
+            h1,
+            h2,
+            h3,
+            h4,
+            h5,
+            h6 {
+              color: ${theme.headingColor};
+            }
+
+            a {
+              color: ${theme.textColor};
+            }
+          }
+
+          .box-header {
+            border-bottom-color: ${theme.border};
+          }
         }
         .loading .loading-indicator {
           border-color: ${theme.backgroundSecondary};