Skip to content

Commit 9d20d1c

Browse files
author
Darius Rosendahl
committed
Updated the variables to castlecss-core 2.1.0
1 parent c493c22 commit 9d20d1c

File tree

1 file changed

+76
-16
lines changed

1 file changed

+76
-16
lines changed

scss/variables.scss

Lines changed: 76 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -3,35 +3,69 @@
33
EDIT YOUR SITE VARIABLES HERE
44
*/
55

6+
/*
7+
---------- VARIABLES ----------
8+
Castlecss-core variables
9+
Do not edit this file!
10+
Create a copy and edit or add your own variables there
11+
or download the boilerplate for a ready-to-go setup here: https://github.com/CastleCSS/castlecss-boilerplate
12+
-------------------------------
13+
*/
14+
615
/*
716
Base colors
817
Color 01 and 02 reservered for white and black
918
*/
1019
$color03: #eeeeee;
1120
$color04: #222222;
12-
$radius: 3px;
1321

14-
/* Theme colors */
22+
/*
23+
Theme colors
24+
*/
1525
$theme01: #1B94BF; // Knight blue
1626
$theme02: #093142; // Royal blue
1727
$theme03: #12637F; // Falcon blue
1828
$theme04: #FFC200; // Royal yellow
1929
$theme05: #FFFFFF; // Destroyer white
2030

21-
$alert: #FFD700;
22-
$negative: #FF7878;
23-
$positive: #29C85D;
31+
/*
32+
Notification colors
33+
*/
34+
$alert: #c0dbff;
35+
$warning: #ffe283;
36+
$negative: #feb3b3;
37+
$positive: #c3e5cd;
2438
$disabled: #CDCDC1;
2539

26-
/* Breakpoints */
40+
/*
41+
Breakpoints
42+
You can edit or add breakpoints
43+
*/
2744
$b1: 320px;
2845
$b2: 480px;
2946
$b3: 768px;
3047
$b4: 1024px;
3148
$b5: 1280px;
3249
$b6: 1600px;
3350

34-
/* Container sizes */
51+
/*
52+
Mapping for breakpoint loops
53+
Must be the same amount as breakpoints above
54+
*/
55+
$breakpoint-map: (
56+
1: $b1,
57+
2: $b2,
58+
3: $b3,
59+
4: $b4,
60+
5: $b5,
61+
6: $b6,
62+
);
63+
$amount-breakpoints: length($breakpoint-map);
64+
65+
/*
66+
Container sizes
67+
Must be the same amount of breakpoints and $breakpoint-map as above
68+
*/
3569
$container: 100%;
3670
$container-b1: 100%;
3771
$container-b2: 100%;
@@ -40,8 +74,28 @@ $container-b4: 996px;
4074
$container-b5: 1224px;
4175
$container-b6: 1400px;
4276

43-
/* Grid */
77+
/*
78+
Container map
79+
Must be the same amount of breakpoints and $breakpoint-map as above
80+
*/
81+
$container-map: (
82+
1: $container-b1,
83+
2: $container-b2,
84+
3: $container-b3,
85+
4: $container-b4,
86+
5: $container-b5,
87+
6: $container-b6,
88+
);
89+
90+
/*
91+
Flexbox grid, set to true or false for flexbox
92+
*/
4493
$flexbox-grid: true;
94+
95+
/*
96+
Grid gutters
97+
Must be the same amount of breakpoints $breakpoint-map as above
98+
*/
4599
$grid-gutter: 12px;
46100
$grid-gutter-b1: 12px;
47101
$grid-gutter-b2: 12px;
@@ -50,16 +104,22 @@ $grid-gutter-b4: 12px;
50104
$grid-gutter-b5: 12px;
51105
$grid-gutter-b6: 12px;
52106

53-
/* Default margin, padding, gutter */
107+
/*
108+
Default margin and padding
109+
*/
110+
54111
$padding-default: 12px;
55112
$margin-default: 12px;
56113

57-
/* Standard border-radius */
58-
$radius: 5px;
59-
60-
/* Fonts */
61-
$font-pri: 'Open Sans', Helvetica, Arial;
62-
$font-sec: 'Open Sans', Helvetica, Arial;
114+
/*
115+
Standard border-radius
116+
*/
117+
$radius: 3px;
63118

119+
/*
120+
Fonts
121+
*/
122+
$font-pri: Arial, Helvetica, sans-serif;
123+
$font-sec: Arial, Helvetica, sans-serif;
64124
$font-size-default: 1.6rem;
65-
$line-height-default: 1.5;
125+
$line-height-default: 1.5;

0 commit comments

Comments
 (0)