status: replace hardcoded colors with corresponding Codex tokens

This fixes text in the status bar displaying white-on-white while in
dark mode.

Bug: T372288
Change-Id: I6a2efbc2f16b7edbfdf6ef79b9a497e187de654f
This commit is contained in:
Siddharth VP 2024-09-30 00:11:45 +05:30
parent d3ba6712ab
commit 0fd08102b5

View file

@ -1,4 +1,5 @@
@import 'mediawiki.mixins'; @import 'mediawiki.mixins';
@import 'mediawiki.skin.variables.less';
/* stylelint-disable selector-class-pattern */ /* stylelint-disable selector-class-pattern */
@ -32,8 +33,8 @@
.codeEditor-status { .codeEditor-status {
clear: both; clear: both;
width: 100%; width: 100%;
background-color: #f8f9fa; background-color: @background-color-neutral-subtle;
border-top: 1px solid #c8ccd1; border-top: 1px solid @border-color-subtle;
display: table; display: table;
} }
@ -50,8 +51,8 @@
} }
.codeEditor-status-message { .codeEditor-status-message {
border-left: 1px solid #c8ccd1; border-left: 1px solid @border-color-subtle;
border-right: 1px solid #c8ccd1; border-right: 1px solid @border-color-subtle;
padding: 0 0.3em; padding: 0 0.3em;
width: 100%; width: 100%;
display: table-cell; display: table-cell;