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: #111; // darkest
19 @colorGray15: #F9F9F9; // lightest
21 // Semantic background colors
22 // Blue; for contextual use of a continuing action
23 @colorProgressive: #347bff;
24 // Green; for contextual use of a positive finalizing action
25 @colorConstructive: #00af89;
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: #d11d13;
30 // Orange; for contextual use of a potentially negative action of medium severity
31 @colorMediumSevere: #FF5D00;
32 // Yellow; for contextual use of a potentially negative action of low severity
33 @colorLowSevere: #FFB50D;
35 // Used in mixins to darken contextual colors by the same amount (eg. focus)
36 @colorDarkenPercentage: 13.5%;
37 // Used in mixins to lighten contextual colors by the same amount (eg. hover)
38 @colorLightenPercentage: 13.5%;
41 @colorText: @colorGray2;
42 @colorTextLight: @colorGray6;
43 @colorButtonText: @colorGray5;
44 @colorDisabledText: @colorGray12;
45 @colorErrorText: #CC0000;
48 @colorFieldBorder: @colorGray12;
49 @colorShadow: @colorGray14;
50 @colorPlaceholder: @colorGray10;
51 @colorNeutral: @colorGray7;
53 // The following rules are deprecated
55 @colorOffWhite: #fafafa;
56 @colorGrayDark: #898989;
57 @colorGrayLight: #ccc;
58 @colorGrayLighter: #ddd;
59 @colorGrayLightest: #eee;
61 // Global border radius to be used to buttons and inputs