Skip to content

Commit dbb3610

Browse files
authored
Improve dark mode styling
Use codex design tokens to replace hard-coded colors for Special:RequestWikiQueue details. Tested on Chrome/Firefox's dev tools.
1 parent 8f3deec commit dbb3610

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/ext.createwiki.oouiform.ooui.less

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
.ext-createwiki-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
3737
/* Decrease contrast of `border` slightly as padding/border combination is sufficient
3838
* accessibility wise and focus of content is more important here. */
39-
border-color: #c8ccd1;
39+
border-color: var(--border-color-base, #c8ccd1);
4040
}
4141

4242
/* JavaScript disabled */
@@ -139,10 +139,10 @@
139139
max-height: 15em;
140140
box-sizing: border-box;
141141
padding: 8px;
142-
border: 1.5px solid #ccc;
142+
border: 1.5px solid var(--border-color-subtle, #ccc);
143143
border-radius: 4px;
144-
background-color: #f5f5f5;
145-
color: #333;
144+
background-color: var(--background-color-neutral, #f5f5f5);
145+
color: var(--color-base, #333);
146146
font-family: 'Arial', sans-serif;
147147
line-height: 1.5em;
148148
overflow-y: auto;

0 commit comments

Comments
 (0)