vtex / shoreline

Design System for the VTEX Admin, previously called Admin UI
https://shoreline.vtex.com
15 stars 0 forks source link

feat(shoreline): css theming #1624

Closed matheusps closed 1 month ago

matheusps commented 1 month ago

Summary

Implements #1628

Examples

@theme theme-name {
  :root {
    --space-1: 1rem;
    --space-2: 2rem;
    --space-3: 3rem;
    --space-4: 4rem;
  }
}
@layer sl-tokens {
  :root {
    --sl-space-1: 1rem;
    --sl-space-2: 2rem;
    --sl-space-3: 3rem;
    --sl-space-4: 4rem;
  }
}
:root {
  --sl-space-1: 1rem;
  --sl-space-2: 2rem;
  --sl-space-3: 3rem;
  --sl-space-4: 4rem;
}
vercel[bot] commented 1 month ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
shoreline-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 28, 2024 7:24pm
matheusps commented 1 month ago

This PR misses documentation. It will be added on other PR