From bc2dba5d71c3f675ea42cacafdb6a52506a38e9c Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Tue, 12 Mar 2024 15:42:14 +0100 Subject: [PATCH] chore(templates): add base styles --- src/templates.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/templates.ts b/src/templates.ts index 8733a784..808e8858 100644 --- a/src/templates.ts +++ b/src/templates.ts @@ -11,6 +11,16 @@ export default function createTemplates (options: ModuleOptions, nuxt: Nuxt) { write: true, getContents: () => `@import "tailwindcss"; + @layer base { + a:focus-visible { + outline-color: var(--color-primary-500); + } + + :root { + color-scheme: light dark; + } + } + @theme { --color-gray-*: initial; --color-cool-50: #f9fafb;