-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathvariables.html
206 lines (180 loc) · 5 KB
/
variables.html
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
{% set currentPageId = 'variables' %}{% set pageTitle = 'Variables - CastleCSS' %}{% include "inc/header.html" %}
<!-- Main -->
<div class="b0_12 b4_14 b4_push_01">
<div class="p p-b3-3x">
<div class="block">
<h1>Variables</h1>
<p class="intro">Tweak your castles defaults</p>
<p class="alert">
Note: Never overwrite the castlecss-core variables, but instead create your own document and overwrite the variables there. We have already included said document in the <a href="https://github.com/CastleCSS/castlecss-boilerplate" target="_blank">boilerplate</a>.
</p>
<p>
Looking for the variable example of castlecss-core 1.x? <a href="variables_1x.html">Click here</a>
</p>
<p>Below you can find the default settings of a CastleCSS website.</p>
</div>
<h4>castlecss-core@2.6.0 variables.scss</h4>
<div class="block">
<pre class="brush: sass">
/*
---------- VARIABLES ----------
Castlecss-core variables
-------------------------------
*/
/*
Base colors
Color 01 and 02 reservered for white and black
*/
$color01: #fff;
$color02: #000;
$color03: #eeeeee;
/*
Theme colors
*/
$theme01: #1B94BF; // Knight blue
$theme02: #093142; // Royal blue
$theme03: #12637F; // Falcon blue
$theme04: #FFC200; // Royal yellow
$theme05: #FFFFFF; // Destroyer white
/*
Notification colors
https://github.com/CastleCSS/castlecss-notifications
*/
$alert: #c0dbff;
$warning: #ffe283;
$negative: #feb3b3;
$positive: #c3e5cd;
$disabled: #CDCDC1;
/*
Breakpoints
You can edit or add breakpoints
*/
$b1: 320px;
$b2: 480px;
$b3: 768px;
$b4: 1024px;
$b5: 1280px;
$b6: 1680px;
/*
Mapping for breakpoint loops
Must be the same amount as breakpoints above
*/
$breakpoint-map: (
1: $b1,
2: $b2,
3: $b3,
4: $b4,
5: $b5,
6: $b6,
);
$amount-breakpoints: length($breakpoint-map);
/*
Container sizes
Must be the same amount of breakpoints and $breakpoint-map as above
*/
$container: 100%;
$container-b1: 100%;
$container-b2: 100%;
$container-b3: 752px;
$container-b4: 992px;
$container-b5: 1208px;
$container-b6: 1592px;
/*
Container map
Must be the same amount of breakpoints and $breakpoint-map as above
*/
$container-map: (
1: $container-b1,
2: $container-b2,
3: $container-b3,
4: $container-b4,
5: $container-b5,
6: $container-b6,
);
/*
Flexbox grid, set to true or false for flexbox
*/
$flexbox-grid: true;
/*
Grid gutters
Must be the same amount of breakpoints $breakpoint-map as above
*/
$grid-gutter: 12px;
$grid-gutter-b1: 12px;
$grid-gutter-b2: 12px;
$grid-gutter-b3: 16px;
$grid-gutter-b4: 16px;
$grid-gutter-b5: 16px;
$grid-gutter-b6: 16px;
/*
Gutter map
Must be the same amount of gutters and $gutter-map as above
*/
$gutter-map: (
1: $grid-gutter-b1,
2: $grid-gutter-b2,
3: $grid-gutter-b3,
4: $grid-gutter-b4,
5: $grid-gutter-b5,
6: $grid-gutter-b6,
);
/*
Default margin and padding
*/
$padding-default: 12px;
$margin-default: 12px;
/*
Standard border-radius
*/
$radius: 5px;
/*
Fonts
*/
$font-pri: Arial, Helvetica, sans-serif;
$font-sec: Arial, Helvetica, sans-serif;
$font-size-default: 1.6rem;
$line-height-default: 1.5;
/* Breadcrumbs seperator
https://github.com/CastleCSS/castlecss-buttons
*/
$breadcrumbs-separator: '\00bb';
/* Form specific variables
https://github.com/CastleCSS/castlecss-forms
*/
/* Standard Inputs */
$input-height: 4.8rem;
$input-bg-color: $color01;
$input-bg-color-focus: $color01;
$input-color: $color02;
$input-color-focus: $color02;
$input-border-color: #eee;
$input-border-color-focus: #eee;
$input-border: 1px solid $input-border-color;
/* Custom select */
$select-arrow: "\203A";
/* Labels */
$input-label-color: #aaa;
$input-label-color-focus: #aaa;
/* Radios and Checkboxes*/
$input-control-color: #eee;
$input-control-color-focus: $theme01;
/* Form transitions */
$input-transition: .1s all ease-in-out;
/* Icons */
$input-icon-color: #eee;
$input-icon-bg-color: #797979;
/* Default sticker styles
https://github.com/CastleCSS/castlecss-stickers
*/
$sticker-font-size: 1.4rem;
$sticker-font-size-large: 1.6rem;
$sticker-bgcolor: $color03;
$sticker-color: $color02;
$sticker-text-transform: none;
$sticker-weight: normal;
$sticker-radius: $radius;</pre>
</div>
</div>
</div>
<!-- End main -->
{% include "inc/footer.html" %}