diff --git a/app/javascript/src/styles/base/040_colors.css b/app/javascript/src/styles/base/040_colors.css index 7cbbdb8a8..860fd1663 100644 --- a/app/javascript/src/styles/base/040_colors.css +++ b/app/javascript/src/styles/base/040_colors.css @@ -214,7 +214,7 @@ } /* variables that aren't defined in the dark theme fall back to the :root theme */ -body[data-user-theme="dark"] { +body[data-current-user-theme="dark"] { --grey-1: #1f202c; /* hsluv(265, 15, 12.50); */ --grey-2: #2c2c3c; /* hsluv(265, 15, 18.75); */ --grey-3: #393a4d; /* hsluv(265, 15, 25.00); */ diff --git a/app/javascript/src/styles/specific/posts.scss b/app/javascript/src/styles/specific/posts.scss index f354d926d..bf6336b71 100644 --- a/app/javascript/src/styles/specific/posts.scss +++ b/app/javascript/src/styles/specific/posts.scss @@ -140,7 +140,7 @@ table article.post-preview { } /* Flagged posts have red borders for approvers. */ -body[data-user-can-approve-posts="true"] .post-preview { +body[data-current-user-can-approve-posts="true"] .post-preview { &.post-status-flagged img { border-color: var(--preview-flagged-color); }