Skip to content

Commit

Permalink
fix(tables): Fix background color of tables if browser requests dark …
Browse files Browse the repository at this point in the history
…theme but user uses bright one

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
  • Loading branch information
susnux authored and backportbot-nextcloud[bot] committed Feb 1, 2023
1 parent e8c00fb commit 1c5a6cf
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions css/prosemirror.scss
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,12 @@ div.ProseMirror {
}

// table variables
@at-root :root {
--table-color-border: var(--color-border);
--table-color-heading: var(--color-text-maxcontrast);
--table-color-heading-border: var(--color-border-dark);
--table-color-background: var(--color-main-background);
--table-color-background-hover: var(--color-primary-light);
--table-border-radius: var(--border-radius);
}
--table-color-border: var(--color-border);
--table-color-heading: var(--color-text-maxcontrast);
--table-color-heading-border: var(--color-border-dark);
--table-color-background: var(--color-main-background);
--table-color-background-hover: var(--color-primary-light);
--table-border-radius: var(--border-radius);

table {
border-spacing: 0;
Expand Down

0 comments on commit 1c5a6cf

Please sign in to comment.