Skip to content

feat: add coss/style preset for full project setup#710

Merged
sean-brydon merged 2 commits intomainfrom
pasquale/cui-140-add-cossstyle-preset
Mar 2, 2026
Merged

feat: add coss/style preset for full project setup#710
sean-brydon merged 2 commits intomainfrom
pasquale/cui-140-add-cossstyle-preset

Conversation

@pasqualevitiello
Copy link
Contributor

Summary

Introduces a coss/style registry preset so new projects can run npx shadcn init coss/style instead of npx shadcn add @coss/ui @coss/colors-neutral.

Changes

  • New style registry item (registry-styles.ts): Full theme with semantic colors, sidebar variables, font variables (--font-sans, --font-heading, --font-mono), base layer styles, and extends: "none" for a clean init
  • Docs: Get Started and Styling now recommend npx shadcn init coss/style for new projects and npx shadcn add @coss/style for existing ones
  • Font variables: Added a Font Variables section in Styling with next/font setup for font-heading used by Dialog, AlertDialog, Sheet, Empty
  • Manual snippet: Aligned color values with packages/ui globals.css (e.g. dark background 96%, popover 96%) and added font mappings to the @theme inline block

Usage

New project

npx shadcn init coss/style

Existing project

npx shadcn add @coss/style

@vercel
Copy link

vercel bot commented Mar 1, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
coss-com Ready Ready Preview, Comment Mar 1, 2026 10:33am
coss-com-ui Ready Ready Preview, Comment Mar 1, 2026 10:33am
coss-examples-calcom Ready Ready Preview, Comment Mar 1, 2026 10:33am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
coss-com-origin Skipped Skipped Mar 1, 2026 10:33am

Request Review

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 8 files

@sean-brydon sean-brydon merged commit a6b9edc into main Mar 2, 2026
14 checks passed
@sean-brydon sean-brydon deleted the pasquale/cui-140-add-cossstyle-preset branch March 2, 2026 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants