Skip to content

Commit 2884c7d

Browse files
January Update
1 parent 67ca0ea commit 2884c7d

3 files changed

Lines changed: 20 additions & 1 deletion

File tree

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@
6262
"svelte": "^5.38.10",
6363
"tailwindcss": "^3.4.18",
6464
"typescript": "^5.9.3",
65-
"unist-util-visit": "^5.0.0"
65+
"unist-util-visit": "^5.0.0",
66+
"css": "^3.0.0",
67+
"postcss": "^8.4.32"
6668
},
6769
"devDependencies": {
6870
"@astrojs/ts-plugin": "^1.10.5",

src/styles/markdown.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
@tailwind components;
2+
3+
@layer components {
4+
.btn-regular-dark {
5+
@apply flex items-center justify-center
6+
bg-[oklch(0.45_0.01_var(--hue))] hover:bg-[oklch(0.50_0.01_var(--hue))] active:bg-[oklch(0.55_0.01_var(--hue))]
7+
dark:bg-[oklch(0.30_0.02_var(--hue))] dark:hover:bg-[oklch(0.35_0.03_var(--hue))] dark:active:bg-[oklch(0.40_0.03_var(--hue))]
8+
}
9+
110
.custom-md {
211
h1 {
312
@apply text-3xl;
@@ -130,3 +139,5 @@
130139
}
131140

132141
}
142+
143+
}

src/styles/twikoo.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
@tailwind components;
2+
3+
@layer components {
4+
15
:root {
26
--tk-text: black;
37
}
@@ -137,4 +141,6 @@ html.dark {
137141
.tk-expand-wrap .tk-expand,
138142
.tk-collapse-wrap .tk-expand {
139143
@apply hover:rounded-lg mt-1 hover:bg-[var(--btn-plain-bg-hover)];
144+
}
145+
140146
}

0 commit comments

Comments
 (0)