feat: Fix some colors on dark mode

This commit is contained in:
Jay Sitter 2023-06-16 20:02:07 -04:00
parent f9f4caf260
commit 3d24a108ae
3 changed files with 5 additions and 3 deletions

View file

@ -19,6 +19,7 @@
--warning: #f39c12; --warning: #f39c12;
--danger: #e74c3c; --danger: #e74c3c;
--light: #303030; --light: #303030;
--medium-light: var(--secondary);
--dark: #dee2e6; --dark: #dee2e6;
--breakpoint-xs: 0; --breakpoint-xs: 0;
--breakpoint-sm: 576px; --breakpoint-sm: 576px;

View file

@ -19,6 +19,7 @@
--warning: #ffc107; --warning: #ffc107;
--danger: #873208; --danger: #873208;
--light: #f8f9fa; --light: #f8f9fa;
--medium-light: var(--bs-gray-300);
--dark: #343a40; --dark: #343a40;
--breakpoint-xs: 0; --breakpoint-xs: 0;
--breakpoint-sm: 576px; --breakpoint-sm: 576px;

View file

@ -146,15 +146,15 @@ export class MarkdownTextArea extends Component<
<div className="form-group row"> <div className="form-group row">
<div className="col-12"> <div className="col-12">
<div <div
className="rounded bg-white" className="rounded bg-light"
style={{ style={{
border: "1px solid var(--bs-border-color)", border: "1px solid var(--medium-light)",
}} }}
> >
<div <div
className="d-flex flex-wrap" className="d-flex flex-wrap"
style={{ style={{
"border-bottom": "1px solid var(--bs-border-color)", "border-bottom": "1px solid var(--medium-light)",
}} }}
> >
{this.getFormatButton("bold", this.handleInsertBold)} {this.getFormatButton("bold", this.handleInsertBold)}