Documentation Index
Fetch the complete documentation index at: https://docs.tariqdev.xyz/llms.txt
Use this file to discover all available pages before exploring further.
Colors and Theme
Global visual styling lives in:Change tokens first. Edit component classes only when the token system cannot express the brand style you need.
Accent Tokens
Main accent colors:Background Tokens
Text Tokens
html.light values too.
Light Mode
Light mode overrides live in:Depth Tokens
Sonata uses depth tokens to create tactile buttons and cards. Important tokens:Shared Visual Hooks
Border Beam
Border beam values:--border-beam-opacity.
If it feels too sharp, increase --border-beam-blur.
Recommended Color Workflow
- Pick one primary accent color.
- Create hover, text, and glow variants.
- Update dark mode tokens.
- Update
html.lighttokens. - Update
seo.themeColor. - Test buttons, badges, cards, nav, and forms.
Contrast Checks
Check contrast on:- Primary buttons.
- Secondary buttons.
- Plan card text.
- Muted feature text.
- Header links.
- Footer links.
- Form placeholders.
- Badges and pills.
Button and Card Depth
Sonata’s visual style depends on depth. When changing shadows:- Keep pressed states visibly different from hover states.
- Avoid shadows that make small button text harder to read.
- Check card hover states on light backgrounds.
- Check primary CTA glow against hero content.
Rebrand Checklist
- Accent tokens updated.
- Light mode tokens updated.
- Metadata theme color updated.
- Logo assets replaced.
- Open Graph image replaced.
- Favicon replaced.
- Buttons are readable.
- Cards still have clear borders.
- Border beam is visible but not distracting.