@qdesignsystems/theme-myra
v0.1.6
Published
MYRA theme for Q Design System
Readme
@qdesignsystems/theme-myra
MYRA theme for the Q Design System. Blue primary color, warm neutral background.
Setup
Step 1 — Install
npm install @qdesignsystems/design-system-core@latest @qdesignsystems/theme-myra@latestStep 2 — Run the init command (recommended)
npx qds-init --theme=myraThis automatically:
- Adds the correct CSS imports to
src/main.tsx - Removes the default
:root { }variable block fromsrc/index.cssthat would otherwise override the theme
Step 3 — Done
Manual Setup
src/main.tsx — add at the very top, before all other imports
import '@qdesignsystems/design-system-core/styles.css';
import '@qdesignsystems/theme-myra/styles.css';src/index.css — remove the :root and .dark variable blocks
Replace the entire file with:
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
* {
@apply border-border;
}
body {
@apply bg-background text-foreground;
}
}Important: The default
index.cssin Vite/shadcn projects contains hardcoded CSS variable values that override the theme. You must remove the:root { }and.dark { }blocks for the theme to apply.
