]> Untitled Git - lemmy-ui.git/commitdiff
feat: Fix some colors on dark mode
authorJay Sitter <jay@jaysitter.com>
Sat, 17 Jun 2023 00:02:07 +0000 (20:02 -0400)
committerJay Sitter <jay@jaysitter.com>
Sat, 17 Jun 2023 00:02:07 +0000 (20:02 -0400)
src/assets/css/themes/darkly.css
src/assets/css/themes/litely.css
src/shared/components/common/markdown-textarea.tsx

index a2b0917790c5abc8414bfbe3d41d61b3d94fa8a8..49399db2ccfab37c5952aea90f7ef0b45113ff0c 100644 (file)
@@ -19,6 +19,7 @@
   --warning: #f39c12;
   --danger: #e74c3c;
   --light: #303030;
+  --medium-light: var(--secondary);
   --dark: #dee2e6;
   --breakpoint-xs: 0;
   --breakpoint-sm: 576px;
index 9f7d685db952b83c5b0033f45775a53cc7e8701e..f9d2b2d3c3de9b433aa433dc075cc132e32e6616 100644 (file)
@@ -19,6 +19,7 @@
   --warning: #ffc107;
   --danger: #873208;
   --light: #f8f9fa;
+  --medium-light: var(--bs-gray-300);
   --dark: #343a40;
   --breakpoint-xs: 0;
   --breakpoint-sm: 576px;
index 5d9322040f8e79ef4534954a9cbfce1ac93d8cbc..3d0ab555d720b8c9520b22ebedb82de0121546ed 100644 (file)
@@ -146,15 +146,15 @@ export class MarkdownTextArea extends Component<
         <div className="form-group row">
           <div className="col-12">
             <div
-              className="rounded bg-white"
+              className="rounded bg-light"
               style={{
-                border: "1px solid var(--bs-border-color)",
+                border: "1px solid var(--medium-light)",
               }}
             >
               <div
                 className="d-flex flex-wrap"
                 style={{
-                  "border-bottom": "1px solid var(--bs-border-color)",
+                  "border-bottom": "1px solid var(--medium-light)",
                 }}
               >
                 {this.getFormatButton("bold", this.handleInsertBold)}