Skip to content

Commit 5271b89

Browse files
committed
docs(deps): update @nuxt/ui-pro
1 parent 47e0035 commit 5271b89

File tree

7 files changed

+42
-246
lines changed

7 files changed

+42
-246
lines changed

docs/app/app.vue

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -59,37 +59,3 @@ provide('navigation', navigation)
5959
</ClientOnly>
6060
</UApp>
6161
</template>
62-
63-
<style>
64-
@import "tailwindcss";
65-
@import "@nuxt/ui-pro";
66-
67-
@source "../content/**/*";
68-
69-
@theme {
70-
--font-sans: 'Public Sans', sans-serif;
71-
72-
--color-green-50: #EFFDF5;
73-
--color-green-100: #D9FBE8;
74-
--color-green-200: #B3F5D1;
75-
--color-green-300: #75EDAE;
76-
--color-green-400: #00DC82;
77-
--color-green-500: #00C16A;
78-
--color-green-600: #00A155;
79-
--color-green-700: #007F45;
80-
--color-green-800: #016538;
81-
--color-green-900: #0A5331;
82-
--color-green-950: #052E16;
83-
}
84-
85-
:root {
86-
--ui-container: 80rem;
87-
}
88-
89-
.dark {
90-
--ui-bg: var(--ui-color-neutral-950);
91-
--ui-bg-muted: var(--ui-color-neutral-900);
92-
--ui-bg-elevated: var(--ui-color-neutral-900);
93-
--ui-bg-accented: var(--ui-color-neutral-800);
94-
}
95-
</style>

docs/app/assets/css/main.css

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
@import "tailwindcss";
2+
@import "@nuxt/ui-pro";
3+
4+
@source "../../../content";
5+
6+
@theme {
7+
--font-sans: 'Public Sans', sans-serif;
8+
9+
--color-green-50: #EFFDF5;
10+
--color-green-100: #D9FBE8;
11+
--color-green-200: #B3F5D1;
12+
--color-green-300: #75EDAE;
13+
--color-green-400: #00DC82;
14+
--color-green-500: #00C16A;
15+
--color-green-600: #00A155;
16+
--color-green-700: #007F45;
17+
--color-green-800: #016538;
18+
--color-green-900: #0A5331;
19+
--color-green-950: #052E16;
20+
}
21+
22+
:root {
23+
--ui-container: 80rem;
24+
}
25+
26+
.dark {
27+
--ui-bg: var(--ui-color-neutral-950);
28+
--ui-bg-muted: var(--ui-color-neutral-900);
29+
--ui-bg-elevated: var(--ui-color-neutral-900);
30+
--ui-bg-accented: var(--ui-color-neutral-800);
31+
}

docs/app/components/AppHeader.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ const linksWithoutIcon = computed(() => links.value.map(({ icon, ...link }) => l
7878
/>
7979
</template>
8080

81-
<template #content>
81+
<template #body>
8282
<UNavigationMenu
8383
orientation="vertical"
8484
:items="links"

docs/nuxt.config.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ export default defineNuxtConfig({
2121
},
2222
},
2323

24+
css: [
25+
'~/assets/css/main.css',
26+
],
27+
2428
site: {
2529
url: 'https://content.nuxt.com',
2630
},

docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"@iconify-json/vscode-icons": "^1.2.11",
99
"@nuxt/content": "latest",
1010
"@nuxt/image": "^1.9.0",
11-
"@nuxt/ui-pro": "3.0.0-alpha.12",
11+
"@nuxt/ui-pro": "3.0.0-alpha.13",
1212
"@nuxthub/core": "^0.8.15",
1313
"@nuxtjs/plausible": "^1.2.0",
1414
"@octokit/rest": "^21.1.0",

playground/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"devDependencies": {
1212
"@nuxt/content": "latest",
13-
"@nuxt/ui-pro": "3.0.0-alpha.12",
13+
"@nuxt/ui-pro": "3.0.0-alpha.13",
1414
"@nuxthub/core": "^0.8.15",
1515
"nuxt": "^3.15.4",
1616
"remark-code-import": "latest",

0 commit comments

Comments
 (0)