Welcome to mirror list, hosted at ThFree Co, Russian Federation.

variables.less « src - github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 78ec0b6f102cecaf27e14b34c406da5b537eb779 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
// Core variables

// Global
@html-font-size: 10px;
@html-line-height: 1.428571429;
@body-bg: #fff;
@body-font-color: #333;
@body-font-size: 1.4rem;

// Fonts
// Credit: https://www.smashingmagazine.com/2015/11/using-system-ui-fonts-practical-guide/
@base-font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto;
@fallback-font-family: "Helvetica Neue", sans-serif;
@cjk-font-family: @base-font-family, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Hiragino Kaku Gothic Pro", Meiryo, "Malgun Gothic", @fallback-font-family;
@body-font-family: @base-font-family, @fallback-font-family;

// Sizes
@layout-gutter: 1rem;
@control-min-width: 18rem;
@border-radius: .2rem;

// Core colors
@primary-color: #5764c6;
@dark-primary-color: darken(@primary-color, 5%);
@light-primary-color: lighten(@primary-color, 2%);
@secondary-color: lighten(@primary-color, 40%);
@dark-secondary-color: darken(@secondary-color, 5%);
@light-secondary-color: lighten(@secondary-color, 2%);
@dark-color: #333;
@dark-gray-color: #666;
@gray-color: #999;
@light-gray-color: #ccc;
@light-color: #fff;
@link-color: @primary-color;
@dark-link-color: darken(@link-color, 10%);
@border-color: #efefef;
@bg-color: #f8f8f8;
@dark-bg-color: darken(@bg-color, 3%);
@light-bg-color: #fff;

// Control colors
@control-color-success: #32b643;
@control-color-warning: #ffb700;
@control-color-danger: #e85600;

// Meta colors
@code-color: #e06870;
@highlight-color: #ffe9b3;

// Responsive breakpoints
@size-xs: 480px;
@size-sm: 600px;
@size-md: 840px;
@size-lg: 960px;
@size-xl: 1280px;
@size-2x: 1440px;