forked from freshframework/fresh
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
114 lines (98 loc) · 2.28 KB
/
styles.css
File metadata and controls
114 lines (98 loc) · 2.28 KB
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
@import "tailwindcss";
/* Light and dark theme variables */
:root {
--fresh: hsla(50, 100%, 56%, 1);
--fresh-green: hsla(142, 71%, 29%, 1);
--background-primary: 215deg, 100%, 100%;
--background-secondary: hsla(210, 29%, 97%, 1);
--background-tertiary: hsla(207, 33%, 95%, 1);
--foreground-primary: hsla(0, 0%, 9%, 1);
--foreground-secondary: hsla(0, 0%, 23%, 1);
--foreground-tertiary: hsla(0, 0%, 32%, 1);
--foreground-quaternary: hsla(0, 0%, 42%, 1);
--info: hsla(194, 76%, 41%, 1);
}
html[data-theme="dark"]:root {
--fresh: hsla(50, 100%, 56%, 1);
--fresh-green: hsla(142, 71%, 29%, 1);
--background-primary: hsla(216, 27.8%, 7.1%, 1);
--background-secondary: hsla(216, 27.7%, 12%, 1);
--background-tertiary: hsla(216, 27.7%, 22%, 1);
--foreground-primary: hsla(215, 17%, 99%, 1);
--foreground-secondary: hsla(215, 17%, 71%, 1);
--foreground-tertiary: hsla(215, 17%, 20%, 1);
--foreground-quaternary: hsla(215, 17%, 10%, 1);
--info: hsla(194, 76%, 41%, 1);
color: var(--foreground-primary);
background-color: var(--background-primary);
}
/* Scrollbar colors that look good on light and dark theme */
* {
scrollbar-color: hsla(0deg, 0%, 50%, 0.5) hsla(0deg, 0%, 50%, 0.1) !important;
}
@font-face {
font-family: Fixel;
font-style: normal;
src: url("/fonts/FixelVariable.woff2") format("woff2");
font-weight: 100 900;
font-display: swap;
}
@font-face {
font-family: Fixel;
font-style: italic;
src: url("/fonts/FixelVariableItalic.woff2") format("woff2");
font-weight: 100 900;
font-display: swap;
}
body {
font-family:
Fixel,
system-ui,
-apple-system,
BlinkMacSystemFont,
"Segoe UI",
Roboto,
Oxygen,
Ubuntu,
Cantarell,
"Open Sans",
"Helvetica Neue",
sans-serif;
font-weight: 450;
font-size: 1.125rem;
line-height: 1.5;
color: #333;
}
h1,
h2,
h3,
h4,
h5,
h6 {
scroll-margin-top: 6rem;
}
b,
strong,
.font-bold,
h1,
h2,
h3,
h4,
h5,
h6 {
font-weight: 750;
}
hr {
/* @apply border-foreground-secondary/10; */
border-color: hsla(var(--foreground-secondary), 0.1);
}
.dark-mode-toggle-button img {
/* @apply fill-foreground-primary; */
fill: var(--foreground-primary);
}
::selection {
background-color: #b1d5ff;
}
html[data-theme="dark"] ::selection {
background-color: #064c9c;
}