astro-nosferatu 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +39 -7
- package/package.json +20 -1
- package/src/components/Accordion.astro +446 -0
- package/src/components/Button.astro +190 -35
- package/src/components/Callout.astro +286 -0
- package/src/components/Container.astro +27 -0
- package/src/components/NavItemsDesktop.astro +77 -0
- package/src/components/NavItemsMobile.astro +76 -0
- package/src/components/NavLogo.astro +40 -0
- package/src/components/NavSocial.astro +62 -0
- package/src/components/Navbar.astro +311 -0
- package/src/components/ReadingProgress.astro +166 -0
- package/src/components/TableOfContent.astro +221 -0
- package/src/html/BaseHead.astro +51 -0
- package/src/html/BaseHtml.astro +22 -0
- package/src/layouts/BlogArticle.astro +79 -0
- package/src/styles/borders.css +12 -0
- package/src/styles/colors/colors-dark.css +219 -0
- package/src/styles/colors/colors-light.css +219 -0
- package/src/styles/colors/index.css +2 -0
- package/src/styles/generic.css +8 -0
- package/src/styles/index.css +5 -5
- package/src/styles/reset.css +53 -0
- package/src/styles/shadows.css +222 -0
- package/src/styles/spacings.css +21 -0
- package/src/styles/tokens.css +12 -41
- package/src/styles/typography.css +97 -68
- package/src/types/components.ts +42 -0
- package/src/styles/base.css +0 -24
|
@@ -0,0 +1,221 @@
|
|
|
1
|
+
---
|
|
2
|
+
import type { MarkdownHeading } from "astro";
|
|
3
|
+
import type { HTMLAttributes } from "astro/types";
|
|
4
|
+
import type { ColorPalette } from "../types/components";
|
|
5
|
+
|
|
6
|
+
interface Props extends HTMLAttributes<"nav"> {
|
|
7
|
+
/** The page's headings; depth 2 become main links, depth 3 their sub-links. */
|
|
8
|
+
headings: MarkdownHeading[];
|
|
9
|
+
title?: string;
|
|
10
|
+
color?: ColorPalette;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const {
|
|
14
|
+
headings,
|
|
15
|
+
title = "Table of contents",
|
|
16
|
+
color,
|
|
17
|
+
class: className,
|
|
18
|
+
"data-ui-color": _color,
|
|
19
|
+
...attrs
|
|
20
|
+
} = Astro.props;
|
|
21
|
+
|
|
22
|
+
type Item = MarkdownHeading & { children: MarkdownHeading[] };
|
|
23
|
+
|
|
24
|
+
const items: Item[] = [];
|
|
25
|
+
|
|
26
|
+
for (const heading of headings) {
|
|
27
|
+
if (heading.depth === 2 || (heading.depth === 3 && items.length === 0)) {
|
|
28
|
+
items.push({ ...heading, children: [] });
|
|
29
|
+
} else if (heading.depth === 3) {
|
|
30
|
+
items[items.length - 1].children.push(heading);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
{items.length > 0 && (
|
|
36
|
+
<nav
|
|
37
|
+
{...attrs}
|
|
38
|
+
aria-label={title}
|
|
39
|
+
data-ui-color={color}
|
|
40
|
+
class:list={["nf-table-of-content", className]}
|
|
41
|
+
>
|
|
42
|
+
<p class="nf-table-of-content-title">{title}</p>
|
|
43
|
+
<ol class="nf-table-of-content-list">
|
|
44
|
+
{items.map((item) => (
|
|
45
|
+
<li class="nf-table-of-content-item">
|
|
46
|
+
<a class="nf-table-of-content-link" href={`#${item.slug}`}>
|
|
47
|
+
{item.text}
|
|
48
|
+
</a>
|
|
49
|
+
{item.children.length > 0 && (
|
|
50
|
+
<ol class="nf-table-of-content-sublist">
|
|
51
|
+
{item.children.map((child) => (
|
|
52
|
+
<li class="nf-table-of-content-subitem">
|
|
53
|
+
<a
|
|
54
|
+
class="nf-table-of-content-sublink"
|
|
55
|
+
href={`#${child.slug}`}
|
|
56
|
+
>
|
|
57
|
+
{child.text}
|
|
58
|
+
</a>
|
|
59
|
+
</li>
|
|
60
|
+
))}
|
|
61
|
+
</ol>
|
|
62
|
+
)}
|
|
63
|
+
</li>
|
|
64
|
+
))}
|
|
65
|
+
</ol>
|
|
66
|
+
</nav>
|
|
67
|
+
)}
|
|
68
|
+
|
|
69
|
+
<style>
|
|
70
|
+
.nf-table-of-content {
|
|
71
|
+
--nf-table-of-content-small-font-size: 0.875rem;
|
|
72
|
+
|
|
73
|
+
font-family: var(--nf-font-family);
|
|
74
|
+
|
|
75
|
+
&[data-ui-color="blue"] {
|
|
76
|
+
--nf-table-of-content-active-color: light-dark(
|
|
77
|
+
var(--nf-blue-l-40),
|
|
78
|
+
var(--nf-blue-d-50)
|
|
79
|
+
);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
&[data-ui-color="cyan"] {
|
|
83
|
+
--nf-table-of-content-active-color: light-dark(
|
|
84
|
+
var(--nf-cyan-l-40),
|
|
85
|
+
var(--nf-cyan-d-50)
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
&[data-ui-color="green"] {
|
|
90
|
+
--nf-table-of-content-active-color: light-dark(
|
|
91
|
+
var(--nf-green-l-40),
|
|
92
|
+
var(--nf-green-d-50)
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&[data-ui-color="grey"] {
|
|
97
|
+
--nf-table-of-content-active-color: light-dark(
|
|
98
|
+
var(--nf-grey-l-40),
|
|
99
|
+
var(--nf-grey-d-50)
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
&[data-ui-color="orange"] {
|
|
104
|
+
--nf-table-of-content-active-color: light-dark(
|
|
105
|
+
var(--nf-orange-l-40),
|
|
106
|
+
var(--nf-orange-d-50)
|
|
107
|
+
);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
&[data-ui-color="pink"] {
|
|
111
|
+
--nf-table-of-content-active-color: light-dark(
|
|
112
|
+
var(--nf-pink-l-40),
|
|
113
|
+
var(--nf-pink-d-50)
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
&[data-ui-color="purple"] {
|
|
118
|
+
--nf-table-of-content-active-color: light-dark(
|
|
119
|
+
var(--nf-purple-l-40),
|
|
120
|
+
var(--nf-purple-d-50)
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&[data-ui-color="red"] {
|
|
125
|
+
--nf-table-of-content-active-color: light-dark(
|
|
126
|
+
var(--nf-red-l-40),
|
|
127
|
+
var(--nf-red-d-50)
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
&[data-ui-color="yellow"] {
|
|
132
|
+
--nf-table-of-content-active-color: light-dark(
|
|
133
|
+
var(--nf-yellow-l-40),
|
|
134
|
+
var(--nf-yellow-d-50)
|
|
135
|
+
);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.nf-table-of-content-title {
|
|
140
|
+
margin-block: 0 var(--nf-spacing-base);
|
|
141
|
+
color: inherit;
|
|
142
|
+
font-size: var(--nf-table-of-content-small-font-size);
|
|
143
|
+
font-weight: 600;
|
|
144
|
+
letter-spacing: 1px;
|
|
145
|
+
text-transform: uppercase;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.nf-table-of-content-list,
|
|
149
|
+
.nf-table-of-content-sublist {
|
|
150
|
+
margin: 0;
|
|
151
|
+
padding: 0;
|
|
152
|
+
list-style: none;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.nf-table-of-content-item:not(:last-child) {
|
|
156
|
+
margin-block-end: var(--nf-spacing-base-low-1);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.nf-table-of-content-sublist {
|
|
160
|
+
margin-block-start: var(--nf-spacing-base-low-3);
|
|
161
|
+
padding-inline-start: var(--nf-spacing-base-low-2);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.nf-table-of-content-subitem:not(:last-child) {
|
|
165
|
+
margin-block-end: var(--nf-spacing-base-low-3);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.nf-table-of-content-link,
|
|
169
|
+
.nf-table-of-content-sublink {
|
|
170
|
+
--nf-table-of-content-transition-duration: 0.25s;
|
|
171
|
+
|
|
172
|
+
color: inherit;
|
|
173
|
+
text-decoration: none;
|
|
174
|
+
transition-property: color;
|
|
175
|
+
transition-duration: var(--nf-table-of-content-transition-duration);
|
|
176
|
+
transition-timing-function: ease-in-out;
|
|
177
|
+
|
|
178
|
+
&:focus-visible {
|
|
179
|
+
outline: 2px solid currentColor;
|
|
180
|
+
outline-offset: 2px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
&:hover,
|
|
184
|
+
&[aria-current="location"] {
|
|
185
|
+
color: var(
|
|
186
|
+
--nf-table-of-content-active-color,
|
|
187
|
+
light-dark(var(--nf-purple-l-40), var(--nf-purple-d-50))
|
|
188
|
+
);
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
|
|
192
|
+
.nf-table-of-content-link {
|
|
193
|
+
font-size: 1rem;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
.nf-table-of-content-sublink {
|
|
197
|
+
font-size: var(--nf-table-of-content-small-font-size);
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
@media (prefers-reduced-motion: reduce) {
|
|
201
|
+
.nf-table-of-content-link,
|
|
202
|
+
.nf-table-of-content-sublink {
|
|
203
|
+
--nf-table-of-content-transition-duration: 0s;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
/* Native scroll-spy: the browser marks the link whose section is in view */
|
|
208
|
+
@supports (scroll-target-group: auto) {
|
|
209
|
+
.nf-table-of-content-list {
|
|
210
|
+
scroll-target-group: auto;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.nf-table-of-content-link:target-current,
|
|
214
|
+
.nf-table-of-content-sublink:target-current {
|
|
215
|
+
color: var(
|
|
216
|
+
--nf-table-of-content-active-color,
|
|
217
|
+
light-dark(var(--nf-purple-l-40), var(--nf-purple-d-50))
|
|
218
|
+
);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
</style>
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
---
|
|
2
|
+
/* Relative, never "@/styles": a consumer compiles this file without the
|
|
3
|
+
* library's tsconfig. index.css is the file that declares the layer order,
|
|
4
|
+
* so the parts are never imported individually. */
|
|
5
|
+
import "../styles/index.css";
|
|
6
|
+
|
|
7
|
+
interface Props {
|
|
8
|
+
title: string;
|
|
9
|
+
description: string;
|
|
10
|
+
imageSocialMedia?: string;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
const { title, description, imageSocialMedia } = Astro.props;
|
|
14
|
+
|
|
15
|
+
/* Astro.site is undefined until a consumer configures it, and
|
|
16
|
+
* new URL(path, undefined) throws — fall back to the current page. */
|
|
17
|
+
const canonicalURL = new URL(Astro.url.pathname, Astro.site ?? Astro.url);
|
|
18
|
+
|
|
19
|
+
const socialMediaURL = imageSocialMedia
|
|
20
|
+
? new URL(imageSocialMedia, Astro.url)
|
|
21
|
+
: undefined;
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
<!-- Global Metadata -->
|
|
25
|
+
<meta charset="utf-8" />
|
|
26
|
+
<meta name="color-scheme" content="dark light" />
|
|
27
|
+
<meta name="generator" content={Astro.generator} />
|
|
28
|
+
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
|
29
|
+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
|
|
30
|
+
|
|
31
|
+
<!-- Canonical URL -->
|
|
32
|
+
<link rel="canonical" href={canonicalURL} />
|
|
33
|
+
|
|
34
|
+
<!-- Primary Meta Tags -->
|
|
35
|
+
<title>{title}</title>
|
|
36
|
+
<meta name="title" content={title} />
|
|
37
|
+
<meta name="description" content={description} />
|
|
38
|
+
|
|
39
|
+
<!-- Open Graph / Facebook -->
|
|
40
|
+
<meta property="og:type" content="website" />
|
|
41
|
+
<meta property="og:url" content={Astro.url} />
|
|
42
|
+
<meta property="og:title" content={title} />
|
|
43
|
+
<meta property="og:description" content={description} />
|
|
44
|
+
{socialMediaURL && <meta property="og:image" content={socialMediaURL} />}
|
|
45
|
+
|
|
46
|
+
<!-- Twitter -->
|
|
47
|
+
<meta property="twitter:card" content="summary_large_image" />
|
|
48
|
+
<meta property="twitter:url" content={Astro.url} />
|
|
49
|
+
<meta property="twitter:title" content={title} />
|
|
50
|
+
<meta property="twitter:description" content={description} />
|
|
51
|
+
{socialMediaURL && <meta property="twitter:image" content={socialMediaURL} />}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
---
|
|
2
|
+
/*
|
|
3
|
+
* The document skeleton. Like a layout, it takes explicit props only and
|
|
4
|
+
* forwards nothing: the tags below are the contract, so an arbitrary attribute
|
|
5
|
+
* must not be able to land on <html>.
|
|
6
|
+
*/
|
|
7
|
+
interface Props {
|
|
8
|
+
lang?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
const { lang = "en" } = Astro.props;
|
|
12
|
+
---
|
|
13
|
+
|
|
14
|
+
<!doctype html>
|
|
15
|
+
<html lang={lang}>
|
|
16
|
+
<head>
|
|
17
|
+
<slot name="head" />
|
|
18
|
+
</head>
|
|
19
|
+
<body>
|
|
20
|
+
<slot />
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
---
|
|
2
|
+
/*
|
|
3
|
+
* A layout renders the whole document, so it takes no native attributes and
|
|
4
|
+
* merges no consumer class: the markup below is the contract.
|
|
5
|
+
*/
|
|
6
|
+
import BaseHtml from "../html/BaseHtml.astro";
|
|
7
|
+
import BaseHead from "../html/BaseHead.astro";
|
|
8
|
+
import Container from "../components/Container.astro";
|
|
9
|
+
|
|
10
|
+
interface Props {
|
|
11
|
+
title: string;
|
|
12
|
+
description: string;
|
|
13
|
+
lang?: string;
|
|
14
|
+
imageSocialMedia?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const { title, description, lang = "en", imageSocialMedia } = Astro.props;
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
<BaseHtml lang={lang}>
|
|
21
|
+
<BaseHead
|
|
22
|
+
slot="head"
|
|
23
|
+
title={title}
|
|
24
|
+
description={description}
|
|
25
|
+
imageSocialMedia={imageSocialMedia}
|
|
26
|
+
/>
|
|
27
|
+
<main class="nf-layout-blog-article">
|
|
28
|
+
<Container>
|
|
29
|
+
<article class="nf-layout-blog-article-content">
|
|
30
|
+
<h1>{title}</h1>
|
|
31
|
+
<p>{description}</p>
|
|
32
|
+
<slot />
|
|
33
|
+
</article>
|
|
34
|
+
</Container>
|
|
35
|
+
</main>
|
|
36
|
+
</BaseHtml>
|
|
37
|
+
|
|
38
|
+
<style>
|
|
39
|
+
.nf-layout-blog-article {
|
|
40
|
+
/*
|
|
41
|
+
* The article's own fonts, defaulting to the library's. Going through a
|
|
42
|
+
* layout-scoped property is what lets a consumer re-tune one article
|
|
43
|
+
* without moving the page's general font.
|
|
44
|
+
*/
|
|
45
|
+
--nf-layout-blog-article-font-family: var(--nf-font-family-blog-post);
|
|
46
|
+
--nf-layout-blog-article-font-family-code: var(
|
|
47
|
+
--nf-font-family-code-blog-post
|
|
48
|
+
);
|
|
49
|
+
--nf-layout-blog-article-font-weight: var(--nf-font-weight);
|
|
50
|
+
/* Inherited by the Container around the article: the narrow measure. */
|
|
51
|
+
--nf-container-max-inline-size: var(--nf-container-small-size);
|
|
52
|
+
|
|
53
|
+
p {
|
|
54
|
+
font-family: var(--nf-layout-blog-article-font-family);
|
|
55
|
+
font-weight: var(--nf-layout-blog-article-font-weight);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
/*
|
|
59
|
+
* Family only: a weight here would un-bold every <strong> in the article.
|
|
60
|
+
* Headings are deliberately left out — they inherit the page's general
|
|
61
|
+
* font, so an article reads as Outfit for structure and the article font
|
|
62
|
+
* for prose.
|
|
63
|
+
*/
|
|
64
|
+
strong,
|
|
65
|
+
span,
|
|
66
|
+
a {
|
|
67
|
+
font-family: var(--nf-layout-blog-article-font-family);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/*
|
|
71
|
+
* A fenced code block is <pre><code>, and <pre> carries the UA's own
|
|
72
|
+
* monospace, which beats inheritance — so both need the rule.
|
|
73
|
+
*/
|
|
74
|
+
code,
|
|
75
|
+
pre {
|
|
76
|
+
font-family: var(--nf-layout-blog-article-font-family-code);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
</style>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Border tokens. Named for the property family, holding radii only: the
|
|
3
|
+
* library has no opinion on border width, style or color, so a component that
|
|
4
|
+
* draws a border states the width itself and takes the color from the palette.
|
|
5
|
+
*
|
|
6
|
+
* Absolute px, like the spacing scale — a corner is geometry, not type.
|
|
7
|
+
*/
|
|
8
|
+
:root {
|
|
9
|
+
--nf-border-radius-base-low-1: 4px;
|
|
10
|
+
--nf-border-radius-base: 8px;
|
|
11
|
+
--nf-border-radius-base-up-1: 12px;
|
|
12
|
+
}
|
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--nf-blue-d-10: oklch(0.98 0.01 270.1);
|
|
3
|
+
--nf-blue-d-20: oklch(0.94 0.03 270.1);
|
|
4
|
+
--nf-blue-d-30: oklch(0.89 0.06 270.1);
|
|
5
|
+
--nf-blue-d-40: oklch(0.84 0.09 270.1);
|
|
6
|
+
--nf-blue-d-50: oklch(0.79 0.12 270.1);
|
|
7
|
+
--nf-blue-d-60: oklch(0.73 0.15 270.1);
|
|
8
|
+
--nf-blue-d-70: oklch(0.67 0.15 270.1);
|
|
9
|
+
--nf-blue-d-80: oklch(0.6 0.13 270.1);
|
|
10
|
+
--nf-blue-d-90: oklch(0.52 0.12 270.1);
|
|
11
|
+
--nf-blue-d-100: oklch(0.43 0.1 270.1);
|
|
12
|
+
|
|
13
|
+
--nf-blue-d-10-25: oklch(0.98 0.01 270.1 / 25%);
|
|
14
|
+
--nf-blue-d-20-25: oklch(0.94 0.03 270.1 / 25%);
|
|
15
|
+
--nf-blue-d-30-25: oklch(0.89 0.06 270.1 / 25%);
|
|
16
|
+
--nf-blue-d-40-25: oklch(0.84 0.09 270.1 / 25%);
|
|
17
|
+
--nf-blue-d-50-25: oklch(0.79 0.12 270.1 / 25%);
|
|
18
|
+
--nf-blue-d-60-25: oklch(0.73 0.15 270.1 / 25%);
|
|
19
|
+
--nf-blue-d-70-25: oklch(0.67 0.15 270.1 / 25%);
|
|
20
|
+
--nf-blue-d-80-25: oklch(0.6 0.13 270.1 / 25%);
|
|
21
|
+
--nf-blue-d-90-25: oklch(0.52 0.12 270.1 / 25%);
|
|
22
|
+
--nf-blue-d-100-25: oklch(0.43 0.1 270.1 / 25%);
|
|
23
|
+
|
|
24
|
+
--nf-cyan-d-10: oklch(0.98 0.01 212.8);
|
|
25
|
+
--nf-cyan-d-20: oklch(0.93 0.03 212.8);
|
|
26
|
+
--nf-cyan-d-30: oklch(0.88 0.06 212.8);
|
|
27
|
+
--nf-cyan-d-40: oklch(0.83 0.09 212.8);
|
|
28
|
+
--nf-cyan-d-50: oklch(0.77 0.12 212.8);
|
|
29
|
+
--nf-cyan-d-60: oklch(0.71 0.15 212.8);
|
|
30
|
+
--nf-cyan-d-70: oklch(0.64 0.15 212.8);
|
|
31
|
+
--nf-cyan-d-80: oklch(0.58 0.13 212.8);
|
|
32
|
+
--nf-cyan-d-90: oklch(0.5 0.12 212.8);
|
|
33
|
+
--nf-cyan-d-100: oklch(0.42 0.1 212.8);
|
|
34
|
+
|
|
35
|
+
--nf-cyan-d-10-25: oklch(0.98 0.01 212.8 / 25%);
|
|
36
|
+
--nf-cyan-d-20-25: oklch(0.93 0.03 212.8 / 25%);
|
|
37
|
+
--nf-cyan-d-30-25: oklch(0.88 0.06 212.8 / 25%);
|
|
38
|
+
--nf-cyan-d-40-25: oklch(0.83 0.09 212.8 / 25%);
|
|
39
|
+
--nf-cyan-d-50-25: oklch(0.77 0.12 212.8 / 25%);
|
|
40
|
+
--nf-cyan-d-60-25: oklch(0.71 0.15 212.8 / 25%);
|
|
41
|
+
--nf-cyan-d-70-25: oklch(0.64 0.15 212.8 / 25%);
|
|
42
|
+
--nf-cyan-d-80-25: oklch(0.58 0.13 212.8 / 25%);
|
|
43
|
+
--nf-cyan-d-90-25: oklch(0.5 0.12 212.8 / 25%);
|
|
44
|
+
--nf-cyan-d-100-25: oklch(0.42 0.1 212.8 / 25%);
|
|
45
|
+
|
|
46
|
+
--nf-green-d-10: oklch(0.98 0.01 148);
|
|
47
|
+
--nf-green-d-20: oklch(0.93 0.03 148);
|
|
48
|
+
--nf-green-d-30: oklch(0.88 0.06 148);
|
|
49
|
+
--nf-green-d-40: oklch(0.83 0.09 148);
|
|
50
|
+
--nf-green-d-50: oklch(0.77 0.12 148);
|
|
51
|
+
--nf-green-d-60: oklch(0.71 0.15 148);
|
|
52
|
+
--nf-green-d-70: oklch(0.65 0.15 148);
|
|
53
|
+
--nf-green-d-80: oklch(0.58 0.13 148);
|
|
54
|
+
--nf-green-d-90: oklch(0.5 0.12 148);
|
|
55
|
+
--nf-green-d-100: oklch(0.42 0.1 148);
|
|
56
|
+
|
|
57
|
+
--nf-green-d-10-25: oklch(0.98 0.01 148 / 25%);
|
|
58
|
+
--nf-green-d-20-25: oklch(0.93 0.03 148 / 25%);
|
|
59
|
+
--nf-green-d-30-25: oklch(0.88 0.06 148 / 25%);
|
|
60
|
+
--nf-green-d-40-25: oklch(0.83 0.09 148 / 25%);
|
|
61
|
+
--nf-green-d-50-25: oklch(0.77 0.12 148 / 25%);
|
|
62
|
+
--nf-green-d-60-25: oklch(0.71 0.15 148 / 25%);
|
|
63
|
+
--nf-green-d-70-25: oklch(0.65 0.15 148 / 25%);
|
|
64
|
+
--nf-green-d-80-25: oklch(0.58 0.13 148 / 25%);
|
|
65
|
+
--nf-green-d-90-25: oklch(0.5 0.12 148 / 25%);
|
|
66
|
+
--nf-green-d-100-25: oklch(0.42 0.1 148 / 25%);
|
|
67
|
+
|
|
68
|
+
--nf-grey-d-10: oklch(0.98 0 277.51);
|
|
69
|
+
--nf-grey-d-20: oklch(0.93 0.0022 277.51);
|
|
70
|
+
--nf-grey-d-30: oklch(0.88 0.0044 277.51);
|
|
71
|
+
--nf-grey-d-40: oklch(0.83 0.0077 277.51);
|
|
72
|
+
--nf-grey-d-50: oklch(0.78 0.0099 277.51);
|
|
73
|
+
--nf-grey-d-60: oklch(0.7 0.0122 277.51);
|
|
74
|
+
--nf-grey-d-70: oklch(0.61 0.0144 277.51);
|
|
75
|
+
--nf-grey-d-80: oklch(0.51 0.0177 277.51);
|
|
76
|
+
--nf-grey-d-90: oklch(0.4 0.0199 277.51);
|
|
77
|
+
--nf-grey-d-100: oklch(0.2882 0.0221 277.51);
|
|
78
|
+
--nf-grey-d-110: oklch(0.27 0.021 277.51);
|
|
79
|
+
--nf-grey-d-120: oklch(0.25 0.0199 277.51);
|
|
80
|
+
--nf-grey-d-130: oklch(0.23 0.0188 277.51);
|
|
81
|
+
--nf-grey-d-140: oklch(0.21 0.0177 277.51);
|
|
82
|
+
--nf-grey-d-150: oklch(0.19 0.0166 277.51);
|
|
83
|
+
--nf-grey-d-160: oklch(0.17 0.0155 277.51);
|
|
84
|
+
--nf-grey-d-170: oklch(0.15 0.0144 277.51);
|
|
85
|
+
--nf-grey-d-180: oklch(0.13 0.0133 277.51);
|
|
86
|
+
--nf-grey-d-190: oklch(0.11 0.0122 277.51);
|
|
87
|
+
--nf-grey-d-200: oklch(0.09 0.0111 277.51);
|
|
88
|
+
|
|
89
|
+
--nf-grey-d-10-25: oklch(0.98 0 277.51 / 25%);
|
|
90
|
+
--nf-grey-d-20-25: oklch(0.93 0.0022 277.51 / 25%);
|
|
91
|
+
--nf-grey-d-30-25: oklch(0.88 0.0044 277.51 / 25%);
|
|
92
|
+
--nf-grey-d-40-25: oklch(0.83 0.0077 277.51 / 25%);
|
|
93
|
+
--nf-grey-d-50-25: oklch(0.78 0.0099 277.51 / 25%);
|
|
94
|
+
--nf-grey-d-60-25: oklch(0.7 0.0122 277.51 / 25%);
|
|
95
|
+
--nf-grey-d-70-25: oklch(0.61 0.0144 277.51 / 25%);
|
|
96
|
+
--nf-grey-d-80-25: oklch(0.51 0.0177 277.51 / 25%);
|
|
97
|
+
--nf-grey-d-90-25: oklch(0.4 0.0199 277.51 / 25%);
|
|
98
|
+
--nf-grey-d-100-25: oklch(0.2882 0.0221 277.51 / 25%);
|
|
99
|
+
--nf-grey-d-110-25: oklch(0.27 0.021 277.51 / 25%);
|
|
100
|
+
--nf-grey-d-120-25: oklch(0.25 0.0199 277.51 / 25%);
|
|
101
|
+
--nf-grey-d-130-25: oklch(0.23 0.0188 277.51 / 25%);
|
|
102
|
+
--nf-grey-d-140-25: oklch(0.21 0.0177 277.51 / 25%);
|
|
103
|
+
--nf-grey-d-150-25: oklch(0.19 0.0166 277.51 / 25%);
|
|
104
|
+
--nf-grey-d-160-25: oklch(0.17 0.0155 277.51 / 25%);
|
|
105
|
+
--nf-grey-d-170-25: oklch(0.15 0.0144 277.51 / 25%);
|
|
106
|
+
--nf-grey-d-180-25: oklch(0.13 0.0133 277.51 / 25%);
|
|
107
|
+
--nf-grey-d-190-25: oklch(0.11 0.0122 277.51 / 25%);
|
|
108
|
+
--nf-grey-d-200-25: oklch(0.09 0.0111 277.51 / 25%);
|
|
109
|
+
|
|
110
|
+
--nf-orange-d-10: oklch(0.98 0.01 66.6);
|
|
111
|
+
--nf-orange-d-20: oklch(0.94 0.03 66.6);
|
|
112
|
+
--nf-orange-d-30: oklch(0.89 0.06 66.6);
|
|
113
|
+
--nf-orange-d-40: oklch(0.84 0.09 66.6);
|
|
114
|
+
--nf-orange-d-50: oklch(0.79 0.12 66.6);
|
|
115
|
+
--nf-orange-d-60: oklch(0.73 0.15 66.6);
|
|
116
|
+
--nf-orange-d-70: oklch(0.67 0.15 66.6);
|
|
117
|
+
--nf-orange-d-80: oklch(0.6 0.13 66.6);
|
|
118
|
+
--nf-orange-d-90: oklch(0.52 0.12 66.6);
|
|
119
|
+
--nf-orange-d-100: oklch(0.43 0.1 66.6);
|
|
120
|
+
|
|
121
|
+
--nf-orange-d-10-25: oklch(0.98 0.01 66.6 / 25%);
|
|
122
|
+
--nf-orange-d-20-25: oklch(0.94 0.03 66.6 / 25%);
|
|
123
|
+
--nf-orange-d-30-25: oklch(0.89 0.06 66.6 / 25%);
|
|
124
|
+
--nf-orange-d-40-25: oklch(0.84 0.09 66.6 / 25%);
|
|
125
|
+
--nf-orange-d-50-25: oklch(0.79 0.12 66.6 / 25%);
|
|
126
|
+
--nf-orange-d-60-25: oklch(0.73 0.15 66.6 / 25%);
|
|
127
|
+
--nf-orange-d-70-25: oklch(0.67 0.15 66.6 / 25%);
|
|
128
|
+
--nf-orange-d-80-25: oklch(0.6 0.13 66.6 / 25%);
|
|
129
|
+
--nf-orange-d-90-25: oklch(0.52 0.12 66.6 / 25%);
|
|
130
|
+
--nf-orange-d-100-25: oklch(0.43 0.1 66.6 / 25%);
|
|
131
|
+
|
|
132
|
+
--nf-pink-d-10: oklch(0.98 0.01 346.8);
|
|
133
|
+
--nf-pink-d-20: oklch(0.94 0.03 346.8);
|
|
134
|
+
--nf-pink-d-30: oklch(0.89 0.06 346.8);
|
|
135
|
+
--nf-pink-d-40: oklch(0.85 0.09 346.8);
|
|
136
|
+
--nf-pink-d-50: oklch(0.8 0.12 346.8);
|
|
137
|
+
--nf-pink-d-60: oklch(0.74 0.15 346.8);
|
|
138
|
+
--nf-pink-d-70: oklch(0.68 0.15 346.8);
|
|
139
|
+
--nf-pink-d-80: oklch(0.61 0.13 346.8);
|
|
140
|
+
--nf-pink-d-90: oklch(0.53 0.12 346.8);
|
|
141
|
+
--nf-pink-d-100: oklch(0.44 0.1 346.8);
|
|
142
|
+
|
|
143
|
+
--nf-pink-d-10-25: oklch(0.98 0.01 346.8 / 25%);
|
|
144
|
+
--nf-pink-d-20-25: oklch(0.94 0.03 346.8 / 25%);
|
|
145
|
+
--nf-pink-d-30-25: oklch(0.89 0.06 346.8 / 25%);
|
|
146
|
+
--nf-pink-d-40-25: oklch(0.85 0.09 346.8 / 25%);
|
|
147
|
+
--nf-pink-d-50-25: oklch(0.8 0.12 346.8 / 25%);
|
|
148
|
+
--nf-pink-d-60-25: oklch(0.74 0.15 346.8 / 25%);
|
|
149
|
+
--nf-pink-d-70-25: oklch(0.68 0.15 346.8 / 25%);
|
|
150
|
+
--nf-pink-d-80-25: oklch(0.61 0.13 346.8 / 25%);
|
|
151
|
+
--nf-pink-d-90-25: oklch(0.53 0.12 346.8 / 25%);
|
|
152
|
+
--nf-pink-d-100-25: oklch(0.44 0.1 346.8 / 25%);
|
|
153
|
+
|
|
154
|
+
--nf-purple-d-10: oklch(0.98 0.01 301.9);
|
|
155
|
+
--nf-purple-d-20: oklch(0.94 0.03 301.9);
|
|
156
|
+
--nf-purple-d-30: oklch(0.89 0.06 301.9);
|
|
157
|
+
--nf-purple-d-40: oklch(0.84 0.09 301.9);
|
|
158
|
+
--nf-purple-d-50: oklch(0.79 0.12 301.9);
|
|
159
|
+
--nf-purple-d-60: oklch(0.74 0.15 301.9);
|
|
160
|
+
--nf-purple-d-70: oklch(0.68 0.15 301.9);
|
|
161
|
+
--nf-purple-d-80: oklch(0.61 0.13 301.9);
|
|
162
|
+
--nf-purple-d-90: oklch(0.53 0.12 301.9);
|
|
163
|
+
--nf-purple-d-100: oklch(0.44 0.1 301.9);
|
|
164
|
+
|
|
165
|
+
--nf-purple-d-10-25: oklch(0.98 0.01 301.9 / 25%);
|
|
166
|
+
--nf-purple-d-20-25: oklch(0.94 0.03 301.9 / 25%);
|
|
167
|
+
--nf-purple-d-30-25: oklch(0.89 0.06 301.9 / 25%);
|
|
168
|
+
--nf-purple-d-40-25: oklch(0.84 0.09 301.9 / 25%);
|
|
169
|
+
--nf-purple-d-50-25: oklch(0.79 0.12 301.9 / 25%);
|
|
170
|
+
--nf-purple-d-60-25: oklch(0.74 0.15 301.9 / 25%);
|
|
171
|
+
--nf-purple-d-70-25: oklch(0.68 0.15 301.9 / 25%);
|
|
172
|
+
--nf-purple-d-80-25: oklch(0.61 0.13 301.9 / 25%);
|
|
173
|
+
--nf-purple-d-90-25: oklch(0.53 0.12 301.9 / 25%);
|
|
174
|
+
--nf-purple-d-100-25: oklch(0.44 0.1 301.9 / 25%);
|
|
175
|
+
|
|
176
|
+
--nf-red-d-10: oklch(0.98 0.01 24.4);
|
|
177
|
+
--nf-red-d-20: oklch(0.94 0.03 24.4);
|
|
178
|
+
--nf-red-d-30: oklch(0.89 0.06 24.4);
|
|
179
|
+
--nf-red-d-40: oklch(0.85 0.09 24.4);
|
|
180
|
+
--nf-red-d-50: oklch(0.79 0.12 24.4);
|
|
181
|
+
--nf-red-d-60: oklch(0.74 0.15 24.4);
|
|
182
|
+
--nf-red-d-70: oklch(0.68 0.15 24.4);
|
|
183
|
+
--nf-red-d-80: oklch(0.61 0.13 24.4);
|
|
184
|
+
--nf-red-d-90: oklch(0.53 0.12 24.4);
|
|
185
|
+
--nf-red-d-100: oklch(0.44 0.1 24.4);
|
|
186
|
+
|
|
187
|
+
--nf-red-d-10-25: oklch(0.98 0.01 24.4 / 25%);
|
|
188
|
+
--nf-red-d-20-25: oklch(0.94 0.03 24.4 / 25%);
|
|
189
|
+
--nf-red-d-30-25: oklch(0.89 0.06 24.4 / 25%);
|
|
190
|
+
--nf-red-d-40-25: oklch(0.85 0.09 24.4 / 25%);
|
|
191
|
+
--nf-red-d-50-25: oklch(0.79 0.12 24.4 / 25%);
|
|
192
|
+
--nf-red-d-60-25: oklch(0.74 0.15 24.4 / 25%);
|
|
193
|
+
--nf-red-d-70-25: oklch(0.68 0.15 24.4 / 25%);
|
|
194
|
+
--nf-red-d-80-25: oklch(0.61 0.13 24.4 / 25%);
|
|
195
|
+
--nf-red-d-90-25: oklch(0.53 0.12 24.4 / 25%);
|
|
196
|
+
--nf-red-d-100-25: oklch(0.44 0.1 24.4 / 25%);
|
|
197
|
+
|
|
198
|
+
--nf-yellow-d-10: oklch(0.98 0.01 112.8);
|
|
199
|
+
--nf-yellow-d-20: oklch(0.93 0.03 112.8);
|
|
200
|
+
--nf-yellow-d-30: oklch(0.88 0.06 112.8);
|
|
201
|
+
--nf-yellow-d-40: oklch(0.83 0.09 112.8);
|
|
202
|
+
--nf-yellow-d-50: oklch(0.78 0.12 112.8);
|
|
203
|
+
--nf-yellow-d-60: oklch(0.72 0.15 112.8);
|
|
204
|
+
--nf-yellow-d-70: oklch(0.66 0.15 112.8);
|
|
205
|
+
--nf-yellow-d-80: oklch(0.59 0.13 112.8);
|
|
206
|
+
--nf-yellow-d-90: oklch(0.51 0.12 112.8);
|
|
207
|
+
--nf-yellow-d-100: oklch(0.42 0.1 112.8);
|
|
208
|
+
|
|
209
|
+
--nf-yellow-d-10-25: oklch(0.98 0.01 112.8 / 25%);
|
|
210
|
+
--nf-yellow-d-20-25: oklch(0.93 0.03 112.8 / 25%);
|
|
211
|
+
--nf-yellow-d-30-25: oklch(0.88 0.06 112.8 / 25%);
|
|
212
|
+
--nf-yellow-d-40-25: oklch(0.83 0.09 112.8 / 25%);
|
|
213
|
+
--nf-yellow-d-50-25: oklch(0.78 0.12 112.8 / 25%);
|
|
214
|
+
--nf-yellow-d-60-25: oklch(0.72 0.15 112.8 / 25%);
|
|
215
|
+
--nf-yellow-d-70-25: oklch(0.66 0.15 112.8 / 25%);
|
|
216
|
+
--nf-yellow-d-80-25: oklch(0.59 0.13 112.8 / 25%);
|
|
217
|
+
--nf-yellow-d-90-25: oklch(0.51 0.12 112.8 / 25%);
|
|
218
|
+
--nf-yellow-d-100-25: oklch(0.42 0.1 112.8 / 25%);
|
|
219
|
+
}
|