1 // Colors for use in mediawiki.ui and elsewhere
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".
5 @colorGray1: #000; // darkest
14 @colorGray10: #a2a9b1;
16 @colorGray12: #c8ccd1;
18 @colorGray14: #eaecf0;
19 @colorGray15: #f8f9fa; // lightest
21 // Semantic background colors
22 // Blue; for contextual use of a continuing action
23 @colorProgressive: #36c;
24 @colorProgressiveHighlight: #447ff5;
25 @colorProgressiveActive: #2a4b8d;
26 // Orange; for contextual use of returning to a past action
27 @colorRegressive: #ff5d00;
28 // Red; for contextual use of a negative action of high severity
29 @colorDestructive: #d33;
30 @colorDestructiveHighlight: #ff4242;
31 @colorDestructiveActive: #b32424;
32 // Orange; for contextual use of a potentially negative action of medium severity
33 @colorMediumSevere: #ff5d00;
34 // Yellow; for contextual use of a potentially negative action of low severity
35 @colorLowSevere: #fc3;
37 // Used in mixins to darken contextual colors by the same amount (eg. focus)
38 @colorDarkenPercentage: 13.5%;
39 // Used in mixins to lighten contextual colors by the same amount (eg. hover)
40 @colorLightenPercentage: 13.5%;
43 @colorText: @colorGray2;
44 @colorTextLight: @colorGray6;
45 @colorButtonText: @colorGray2;
46 @colorButtonTextHighlight: @colorGray4;
47 @colorButtonTextActive: @colorGray1;
48 @colorDisabledText: @colorGray12;
49 @colorErrorText: #c00;
50 @colorWarningText: #705000;
53 @colorFieldBorder: #a2a9b1;
54 @colorShadow: @colorGray14;
55 @colorPlaceholder: @colorGray10;
56 @colorNeutral: @colorGray7;
58 // Global border radius to be used to buttons and inputs
61 // Icon related variables
63 @iconGutterWidth: 1em;