Skip to content

Commit 22121e0

Browse files
committed
fix: @types/chroma-js
1 parent a87bf59 commit 22121e0

File tree

4 files changed

+25
-14
lines changed

4 files changed

+25
-14
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
"@iconify-json/material-symbols": "^1.2.4",
1919
"@iconify-json/mingcute": "^1.2.1",
2020
"@next/bundle-analyzer": "^14.2.15",
21+
"@types/chroma-js": "^2.4.4",
2122
"@types/prettier": "^3.0.0",
2223
"chroma-js": "^3.1.2",
2324
"colorjs.io": "^0.5.2",

pnpm-lock.yaml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/styles/layer.css

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,10 @@
1313
height: 0 !important;
1414
}
1515

16-
.link--underline, a {
16+
.link--underline,
17+
a {
1718
color: currentColor;
18-
background-image: linear-gradient(
19-
var(--accent-color),
20-
var(--accent-color)
21-
);
19+
background-image: linear-gradient(var(--accent-color), var(--accent-color));
2220
background-size: 0% 1.5px;
2321
background-repeat: no-repeat;
2422
transition: all 500ms ease;
@@ -53,10 +51,12 @@
5351
}
5452

5553
@keyframes blink {
56-
0%, 40% {
54+
0%,
55+
40% {
5756
opacity: 0;
5857
}
59-
40.1%, 99.9% {
58+
40.1%,
59+
99.9% {
6060
opacity: 1;
6161
}
6262
100% {
@@ -117,11 +117,13 @@
117117
15% {
118118
fill: transparent;
119119
}
120-
35%, 75% {
120+
35%,
121+
75% {
121122
stroke-dashoffset: 0;
122123
fill: theme('colors.base-content');
123124
}
124-
90%, 100% {
125+
90%,
126+
100% {
125127
stroke-dashoffset: 2400;
126128
fill: transparent;
127129
}
@@ -132,7 +134,8 @@
132134
}
133135

134136
@keyframes wave {
135-
0%, 100% {
137+
0%,
138+
100% {
136139
transform: rotate(0deg);
137140
}
138141
50% {
@@ -188,8 +191,8 @@
188191
--base: hsl(var(--tint, 214) 80% 27% / calc(var(--alpha, 4) * 1%));
189192
--shade: hsl(from var(--base) calc(h + 8) 25 calc(l - 5));
190193
--perfect-shadow: 0 0 0 1px var(--base), 0 1px 1px -0.5px var(--shade),
191-
0 3px 3px -1.5px var(--shade), 0 6px 6px -3px var(--shade),
192-
0 12px 12px -6px var(--base), 0 24px 24px -12px var(--base);
194+
0 3px 3px -1.5px var(--shade), 0 6px 6px -3px var(--shade), 0 12px 12px -6px var(--base),
195+
0 24px 24px -12px var(--base);
193196
box-shadow: var(--perfect-shadow);
194197
}
195198

@@ -262,4 +265,4 @@
262265
rgba(0, 0, 0, 0.067) 0px 2px 5px,
263266
rgba(0, 0, 0, 0.067) 0px 1px 1px;
264267
}
265-
}
268+
}

src/styles/theme.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ html.noise body::before {
99
opacity: 0.01;
1010
} */
1111

12-
1312
.code-wrap {
1413
white-space: break-spaces !important;
1514
overflow: auto !important;

0 commit comments

Comments
 (0)