Skip to content

Commit 15e60f0

Browse files
Volker-Ejdlrobson
authored andcommitted
Deprecate greys not part of WikimediaUI color palette any more
Deprecating greys, which are not part of WikimediaUI color palette any more: - @colorGray3: #333; - @colorGray6: #666; - @colorGray8: #888; - @colorGray9: #999; - @colorGray11: #bbb; - @colorGray13: #ddd; See https://wikimedia.github.io/WikimediaUI-Style-Guide/visual-style_icons.html for further information. Bug: T152025 Change-Id: Iaef72470c59665682f4a54d0b754d41a2678f146
1 parent 89b2052 commit 15e60f0

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

RELEASE-NOTES-1.30

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ changes to languages because of Phabricator reports.
169169
class. Prior to that, the Config parameter was optional (a behavior deprecated in
170170
1.25).
171171
* Removed 'jquery.mwExtension' module. (deprecated since 1.26)
172+
* mediawiki.ui: Deprecate greys, which are not part of WikimediaUI color palette
173+
any more.
172174

173175
== Compatibility ==
174176
MediaWiki 1.30 requires PHP 5.5.9 or later. There is experimental support for

resources/src/mediawiki.less/mediawiki.ui/variables.less

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
11
// Colors for use in mediawiki.ui and elsewhere
22

3-
// Although this defines many shades, be parsimonious in your own use of grays. Prefer
4-
// colors already in use in MediaWiki. Prefer semantic color names such as "@colorText".
3+
// Although this defines many shades, be parsimonious in your own use of grays.
4+
// Prefer semantic color names such as `@colorText` below.
55
@colorGray1: #000; // darkest
66
@colorGray2: #222;
7-
@colorGray3: #333;
87
@colorGray4: #444;
98
@colorGray5: #54595d;
10-
@colorGray6: #666;
119
@colorGray7: #72777d;
12-
@colorGray8: #888;
13-
@colorGray9: #999;
1410
@colorGray10: #a2a9b1;
15-
@colorGray11: #bbb;
1611
@colorGray12: #c8ccd1;
17-
@colorGray13: #ddd;
1812
@colorGray14: #eaecf0;
1913
@colorGray15: #f8f9fa; // lightest
2014
@colorBaseInverted: #fff;
@@ -80,3 +74,12 @@
8074

8175
// Form input sizes, equal to OOUI at 14px base font-size
8276
@sizeInputBinary: 1.5625em;
77+
78+
// Deprecated color variables from when WikimediaUI color palette wasn't around
79+
// See https://wikimedia.github.io/WikimediaUI-Style-Guide/visual-style_colors.html
80+
@colorGray3: #333;
81+
@colorGray6: #666;
82+
@colorGray8: #888;
83+
@colorGray9: #999;
84+
@colorGray11: #bbb;
85+
@colorGray13: #ddd;

0 commit comments

Comments
 (0)