1.7 KiB
1.7 KiB
1. Install dependencies
- 1.1 Install
tailwindcssand@tailwindcss/viteinwebsite/ - 1.2 Install
@astrojs/sitemapinwebsite/
2. Configure Astro
- 2.1 Update
astro.config.mjsto add@tailwindcss/viteas a Vite plugin and@astrojs/sitemapas an integration withsite: 'https://qumo.io'
3. Create global.css
- 3.1 Create
src/styles/global.csswith@import "tailwindcss" - 3.2 Add
@themeblock with brand color tokens:--color-midnight,--color-snow,--color-brand-blue,--color-brand-red - 3.3 Add
--font-archiato the@themeblock with system fallback stack - 3.4 Add
:rootblock with--gradient-brand: linear-gradient(135deg, #5257E4, #F71E3E) - 3.5 Add
@font-facedeclarations for all 6 Archia weights (Thin/100, Light/300, Regular/400, Medium/500, SemiBold/600, Bold/700) pointing to../assets/fonts/archia/woff2 files, each withfont-display: swap
4. Wire global.css into Astro
- 4.1 Import
../styles/global.cssinsrc/pages/index.astro(will move to BaseLayout in step 002)
5. Brand smoke test page
- 5.1 Replace the default
src/pages/index.astrocontent with a smoke test page: a color swatch grid (Midnight, Snow, Brand Blue, Brand Red, + gradient bar) and a font weight table (Thin through Bold, each row showing uppercase + sentence-case sample text)
6. Verify
- 6.1 Run
npm run buildinsidewebsite/— must succeed with zero errors - 6.2 Run
npm run devand open the index page — verify all 4 color swatches, the gradient bar, and all 6 font weights render correctly - 6.3 Confirm
dist/sitemap-index.xmlis present in the build output