Export: add a shadcn/ui theme format
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- Half a day
- Newbie friendliness
- 74/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- css, typescript
- Domain
- design
Research direction
Start with the "Adding a new export format" section of CONTRIBUTING.md, then read the bootstrap and chakra entries in lib/tokens/formats.ts and their tests in lib/tokens/formats.test.ts. Use roleColor() in lib/tokens/native.ts for the light and dark values, and emit the shadcn variables under :root and .dark in OKLCH. Done when the format appears in the Export Engine and the all-formats ZIP, and a unit test covers both selectors.
Written by the indexing model from the issue text.
Description
Summary
Add a shadcn/ui export (globals.css snippet): the CSS variables shadcn components read (--background, --foreground, --primary, --primary-foreground, --muted, --accent, --border, --ring, --radius and so on) for :root and .dark, from the brand roles.
Where to look
- CONTRIBUTING.md, "Adding a new export format"
lib/tokens/formats.ts: thebootstrapandchakraformats are recent exampleslib/tokens/formats.test.tslib/tokens/native.ts:roleColor()for light and dark
Behaviour
- Use OKLCH values, like current shadcn themes do.
Acceptance criteria
- The format shows up in the Export Engine and in the all-formats ZIP.
- Pasted into a fresh shadcn project, buttons, inputs and cards pick up the brand (a screenshot in the PR).
- A unit test covers both
:rootand.dark.
Getting started: fork the repo, then pnpm install and pnpm dev (Node 22+, pnpm 11, no API keys). Before opening a PR, run pnpm typecheck && pnpm test && pnpm lint && pnpm format:check && pnpm check:dashes && pnpm build. See CONTRIBUTING.md and the first contribution walkthrough.
Everything needed is in the repository. This doesn't need maintainer access, secrets or paid services. Comment below to claim it, and ask questions here any time.
- Dominant language
- TypeScript
- Stars
- 11
- Forks
- 3
- Avg merge
- 7h 36m
- Merged PRs (30d)
- 23
Getting set up
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from yakew7/DesignHub
-
area: docs difficulty: easy documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Maintainers usually reply within 1 day
-
area: colors difficulty: easy enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
area: logo difficulty: easy good first issue testing
Difficulty 2/5 Half a day Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
difficulty: easy good first issue testing
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
area: ui difficulty: easy enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
All issues in yakew7/DesignHub
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 82/100
homarr-labs/dashboard-icons#2939 ·
Maintainers usually reply within 1 day
-
Agent/category reasoning variants are still checked against the stale model cache in chat.paramsOpenopencode
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
code-yeongyu/oh-my-openagent#10003 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
Maintainers usually reply within 1 day
-
Actions on ToastsOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
nextcloud-libraries/nextcloud-dialogs#2669 ·
Maintainers usually reply within 1 day