starlight-theme-nova 0.11.2 → 0.11.3
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/lib/layer.css +1 -0
- package/lib/styles.css +0 -2
- package/lib/tailwind.build.css +2 -0
- package/lib/tailwind.css +0 -2
- package/package.json +2 -2
- package/src/index.ts +6 -6
package/lib/layer.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer base, starlight, nova, theme, components, utilities;
|
package/lib/styles.css
CHANGED
package/lib/tailwind.css
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "starlight-theme-nova",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.3",
|
|
5
5
|
"description": "A beautiful theme for Astro Starlight",
|
|
6
6
|
"author": "ocavue <ocavue@gmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -58,6 +58,6 @@
|
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "pnpm run build:tailwindcss",
|
|
61
|
-
"build:tailwindcss": "tailwindcss -i ./lib/tailwind.css -o ./lib/tailwind.gen.css"
|
|
61
|
+
"build:tailwindcss": "tailwindcss -i ./lib/tailwind.build.css -o ./lib/tailwind.gen.css"
|
|
62
62
|
}
|
|
63
63
|
}
|
package/src/index.ts
CHANGED
|
@@ -53,14 +53,14 @@ export default function starlightThemeNova(
|
|
|
53
53
|
|
|
54
54
|
const newConfig = {
|
|
55
55
|
customCss: [
|
|
56
|
+
'starlight-theme-nova/layer.css',
|
|
57
|
+
|
|
58
|
+
useTailwind ? '' : 'starlight-theme-nova/tailwind.gen.css',
|
|
59
|
+
|
|
56
60
|
...(config.customCss || []),
|
|
57
|
-
|
|
58
|
-
// can have a higher precedence.
|
|
61
|
+
|
|
59
62
|
'starlight-theme-nova/styles.css',
|
|
60
|
-
|
|
61
|
-
? 'starlight-theme-nova/tailwind.css'
|
|
62
|
-
: 'starlight-theme-nova/tailwind.gen.css',
|
|
63
|
-
],
|
|
63
|
+
].filter(Boolean),
|
|
64
64
|
components: {
|
|
65
65
|
// Including any user components *after* our own.
|
|
66
66
|
...components,
|