Skip to content

Commit 8f4872a

Browse files
committed
Update src
1 parent affe422 commit 8f4872a

File tree

6 files changed

+42
-4
lines changed

6 files changed

+42
-4
lines changed

src/css/Canela-Light.ttf

148 KB
Binary file not shown.

src/css/Gilroy-Bold.ttf

81.5 KB
Binary file not shown.

src/css/Gilroy-Regular.ttf

156 KB
Binary file not shown.

src/css/SourceCodePro-Bold.ttf

117 KB
Binary file not shown.

src/css/SourceCodePro-Regular.ttf

188 KB
Binary file not shown.

src/css/vars.css

Lines changed: 42 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,44 @@
1+
@font-face {
2+
font-family: 'Canela';
3+
src: url('Canela-Light.ttf') format('truetype');
4+
}
5+
6+
@font-face {
7+
font-family: 'Gilroy';
8+
src: url('Gilroy-Regular.ttf') format('truetype');
9+
}
10+
11+
@font-face {
12+
font-family: 'Gilroy';
13+
src: url('Gilroy-Bold.ttf') format('truetype');
14+
font-weight: bold;
15+
}
16+
17+
@font-face {
18+
font-family: 'Source Code Pro';
19+
src: url('SourceCodePro-Regular.ttf') format('truetype');
20+
}
21+
22+
@font-face {
23+
font-family: 'Source Code Pro';
24+
src: url('SourceCodePro-Bold.ttf') format('truetype');
25+
font-weight: bold;
26+
}
27+
28+
h1, h2, h3 {
29+
font-family: Canela, serif;
30+
font-weight: 300;
31+
}
32+
33+
nav h3 {
34+
font-family: Gilroy, sans-serif;
35+
font-weight: bold;
36+
}
37+
138
:root {
239
/* colors */
340
--color-white: #fff;
41+
--color-synth-blue: #130753;
442
--color-smoke-10: #fefefe;
543
--color-smoke-30: #fafafa;
644
--color-smoke-50: #f5f5f5;
@@ -24,9 +62,9 @@
2462
--body-font-size--print: 0.9375em; /* 15px */
2563
--body-line-height: 1.15;
2664
--body-font-color: var(--color-jet-70);
27-
--body-font-family: "Roboto", sans-serif;
65+
--body-font-family: "Gilroy", "Roboto", sans-serif;
2866
--body-font-weight-bold: 500;
29-
--monospace-font-family: "Roboto Mono", monospace;
67+
--monospace-font-family: "Source Code Pro", "Roboto Mono", monospace;
3068
--monospace-font-weight-bold: 500;
3169
/* base */
3270
--body-background: var(--color-white);
@@ -36,7 +74,7 @@
3674
--scrollbar-thumb-color: var(--color-gray-10);
3775
--scrollbar_hover-thumb-color: var(--color-gray-30);
3876
/* navbar */
39-
--navbar-background: var(--color-jet-80);
77+
--navbar-background: var(--color-synth-blue);
4078
--navbar-font-color: var(--color-white);
4179
--navbar_hover-background: var(--color-black);
4280
--navbar-button-background: var(--color-white);
@@ -79,7 +117,7 @@
79117
--doc-line-height: 1.6;
80118
--doc-margin: 0 auto;
81119
--doc-margin--desktop: 0 2rem;
82-
--heading-font-color: var(--color-jet-80);
120+
--heading-font-color: var(--color-synth-blue);
83121
--heading-font-weight: normal;
84122
--alt-heading-font-weight: var(--body-font-weight-bold);
85123
--section-divider-color: var(--panel-border-color);

0 commit comments

Comments
 (0)