Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 18 additions & 11 deletions docs/assets/css/tailwind.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
@import 'tailwindcss';

@config '../../tailwind.config.js';
@source '../../node_modules/shadcn-docs-nuxt';

@layer base {
*,
::after,
::before,
::backdrop,
::file-selector-button {
border-color: var(--color-gray-200, currentcolor);
}
}

@layer base {
:root {
Expand Down Expand Up @@ -29,7 +39,7 @@
--destructive: 0 84.2% 60.2%;
--destructive-foreground: 0 0% 98%;

--border:240 5.9% 10%;
--border:240 5.9% 90%;
--input:240 5.9% 90%;
--ring:240 5.9% 10%;
--radius: 0.5rem;
Expand Down Expand Up @@ -66,13 +76,10 @@
}
}

@utility step {
counter-increment: step;

@layer utilities {
.step {
counter-increment: step;
}

.step:before {
&:before {
@apply absolute w-9 h-9 bg-muted rounded-full font-mono font-medium text-center text-base inline-flex items-center justify-center -indent-px border-4 border-background;
@apply -ml-[50px] -mt-1;
content: counter(step);
Expand All @@ -81,7 +88,7 @@

@layer base {
* {
@apply border-border;
@apply border-border outline-ring/50;
}

body {
Expand Down
10 changes: 10 additions & 0 deletions docs/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ export default defineNuxtConfig({
modules: [
'@nuxtjs/plausible',
],
i18n: {
defaultLocale: 'en',
locales: [
{
code: 'en',
name: 'English',
language: 'en-US',
},
],
},
compatibilityDate: '2024-07-06',
plausible: {
domain: 'regexp.dev',
Expand Down
10 changes: 5 additions & 5 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"dev": "nuxt dev",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
"postinstall": "cd .. && pnpm build --stub && cd docs && pnpm nuxt prepare"
},
"dependencies": {
"@nuxtjs/plausible": "^1.2.0",
"nuxt": "^3.16.0",
"shadcn-docs-nuxt": "^0.8.21",
"vue": "^3.5.13",
"vue-router": "^4.5.0"
"nuxt": "^3.17.4",
"shadcn-docs-nuxt": "^1.0.1",
"vue": "^3.5.16",
"vue-router": "^4.5.1"
}
}
Loading
Loading