8000 Set styling options with defaults to allow easier overwriting · EdwardZX/EdwardZX.github.io@503cb8b · GitHub
[go: up one dir, main page]

Skip to content

Commit 503cb8b

Browse files
committed
Set styling options with defaults to allow easier overwriting
1 parent 465b934 commit 503cb8b

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

_sass/_settings.scss

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
// Background colours
2-
$backgroundColour: #ffffff;
3-
$codeBackgroundColour: #fafafa;
4-
$featureBackgroundColour: #f9fafa;
2+
$backgroundColour: #ffffff !default;
3+
$codeBackgroundColour: #fafafa !default;
4+
$featureBackgroundColour: #f9fafa !default;
55
$accentColour: #05bf85;
66

77
// Text colours
8-
$headingColour: #242e2b;
9-
$bodyColour: #384743;
10-
$linkColour: #05bf85;
11-
$hoverColour: #008000;
12-
$focusColour: #fa407a;
13-
$captionColour: #a8adac;
14-
$white: #ffffff;
8+
$headingColour: #242e2b !default;
9+
$bodyColour: #384743 !default;
10+
$linkColour: #05bf85 !default;
11+
$hoverColour: #008000 !default;
12+
$focusColour: #fa407a !default;
13+
$captionColour: #a8adac !default;
14+
$white: #ffffff !default;
1515

1616
// Typography
1717
$bodytype: (
18-
font-family: 'Georgia, serif',
18+
font-family: "Georgia, serif",
1919
regular: 400,
2020
bold: 700,
2121
italic: italic,
2222
cap-height: 0.75
23-
);
23+
) !default;
2424

2525
$headingtype: (
2626
font-family: '"Merriweather", serif',
2727
regular: 400,
2828
bold: 700,
2929
cap-height: 0.75
30-
);
30+
) !default;
3131

3232
$monospacetype: (
33-
font-family: 'Menlo, monospace',
33+
font-family: "Menlo, monospace",
3434
regular: 400,
3535
cap-height: 0.68
36-
);
36+
) !default;
3737

3838
// Font import, if you're using a non-standard web font
39-
@import url('https://fonts.googleapis.com/css?family=Merriweather:400,700');
39+
@import url("https://fonts.googleapis.com/css?family=Merriweather:400,700");

0 commit comments

Comments
 (0)
0