UNPKG

2.73 kBtext/lessView Raw
1
2// Copyright (c) 2012 Adobe Systems Incorporated. All rights reserved.
3//
4// Permission is hereby granted, free of charge, to any person obtaining a
5// copy of this software and associated documentation files (the "Software"),
6// to deal in the Software without restriction, including without limitation
7// the rights to use, copy, modify, merge, publish, distribute, sublicense,
8// and/or sell copies of the Software, and to permit persons to whom the
9// Software is furnished to do so, subject to the following conditions:
10//
11// The above copyright notice and this permission notice shall be included in
12// all copies or substantial portions of the Software.
13//
14// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
20// DEALINGS IN THE SOFTWARE.
21
22
23
24/*
25 * Brackets Colors
26 *
27 * Based on a de-saturated modification of Solarized
28 * http://ethanschoonover.com/solarized
29 *
30 * These are general purpose colors that can be used in defining
31 * themes or UI elements. We should NEVER use color literals (e.g. #aaa)
32 * elsewhere in our LESS. (Using "lighten" and "darken") functions
33 * is encouraged however.
34
35 * IMPORTANT: IF we want a UI element to be themeable, these variable
36 * names should _not_ be used in its definition.
37 *
38 * Instead, a new semantically-meaningful variables/mixins should be added
39 * to the "brackets_theme_default.less" file, and then these variables/mixins
40 * should be used in the definition of the UI element
41 *
42 * For UI elements we do NOT want to theme, we should use these color names
43 *
44 * All brackets color variable names (that refer to an actual color)
45 * are prefixed with "bc-" for "brackets color". This is to avoid confusion
46 * with system and css color names. (We define our own colors because system
47 * colors are ugly.)
48 */
49
50// use the "lighten" or "darken" function with integer multiples of this
51@bc-color-step-size: 10%;
52
53@bc-black: #000000;
54@bc-grey: #808080;
55@bc-gray: @bc-grey; // because people spell it both ways
56@bc-white: #ffffff;
57
58@bc-yellow: #b58900;
59@bc-orange: #cb4b16;
60@bc-red: #dc322f;
61@bc-magenta: #d33682;
62@bc-violet: #6c71c4;
63@bc-blue: #268bd2;
64@bc-light-blue: #d8e0e8;
65@bc-cyan: #2aa198;
66@bc-green: #859900;