Skip to content

Commit eba4304

Browse files
committed
Update src
1 parent affe422 commit eba4304

File tree

6 files changed

+44
-4
lines changed

6 files changed

+44
-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: 44 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,46 @@
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,
29+
h2,
30+
h3 {
31+
font-family: Canela, serif;
32+
font-weight: 300;
33+
}
34+
35+
nav h3 {
36+
font-family: Gilroy, sans-serif;
37+
font-weight: bold;
38+
}
39+
140
:root {
241
/* colors */
342
--color-white: #fff;
43+
--color-synth-blue: #130753;
444
--color-smoke-10: #fefefe;
545
--color-smoke-30: #fafafa;
646
--color-smoke-50: #f5f5f5;
@@ -24,9 +64,9 @@
2464
--body-font-size--print: 0.9375em; /* 15px */
2565
--body-line-height: 1.15;
2666
--body-font-color: var(--color-jet-70);
27-
--body-font-family: "Roboto", sans-serif;
67+
--body-font-family: "Gilroy", "Roboto", sans-serif;
2868
--body-font-weight-bold: 500;
29-
--monospace-font-family: "Roboto Mono", monospace;
69+
--monospace-font-family: "Source Code Pro", "Roboto Mono", monospace;
3070
--monospace-font-weight-bold: 500;
3171
/* base */
3272
--body-background: var(--color-white);
@@ -36,7 +76,7 @@
3676
--scrollbar-thumb-color: var(--color-gray-10);
3777
--scrollbar_hover-thumb-color: var(--color-gray-30);
3878
/* navbar */
39-
--navbar-background: var(--color-jet-80);
79+
--navbar-background: var(--color-synth-blue);
4080
--navbar-font-color: var(--color-white);
4181
--navbar_hover-background: var(--color-black);
4282
--navbar-button-background: var(--color-white);
@@ -79,7 +119,7 @@
79119
--doc-line-height: 1.6;
80120
--doc-margin: 0 auto;
81121
--doc-margin--desktop: 0 2rem;
82-
--heading-font-color: var(--color-jet-80);
122+
--heading-font-color: var(--color-synth-blue);
83123
--heading-font-weight: normal;
84124
--alt-heading-font-weight: var(--body-font-weight-bold);
85125
--section-divider-color: var(--panel-border-color);

0 commit comments

Comments
 (0)