Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions .changeset/provider-wonju.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"@sipe-team/theme": major
"@sipe-team/tokens": minor
---

Replace brand-color ThemeProvider with light/dark mode toggle and align design tokens with SSOT.

- `ThemeProvider` now applies themes via `data-theme` attribute instead of `assignInlineVars`
- `theme` prop changed from brand-color objects to `'light' | 'dark'` string union
- `ColorTheme` type is now exported from `@sipe-team/tokens`
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

실제 export 되는건 ThemeMode 아닌가요??

- VE contract structure for `color`, `spacing`, and `radius` reorganized into semantic token hierarchy
- Token values in `themes.css.ts` now reference Style Dictionary CSS variables instead of hardcoded JS constants
- Removed `@vanilla-extract/dynamic` dependency from `@sipe-team/theme`
5 changes: 3 additions & 2 deletions .claude/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@
"Bash(ls*)",
"Edit",
"Write",
"Read"
"Read",
"Read(./packages/tokens/dist/*)"
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

이거 dist/** 로 해야하지 않을까요...?
dist/* 면 1 depth 만 매칭되는데요.

],
"ask": ["Bash(git push*)", "Bash(git commit*)", "Bash(git reset*)", "Bash(rm *)"],
"deny": [
"Read(**/dist/**)",
Copy link
Copy Markdown
Collaborator

@G-hoon G-hoon May 26, 2026

Choose a reason for hiding this comment

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

deny 가 allow 보다 우선되므로,
Read(**/dist/**)가 Read(./packages/tokens/dist/*) 허용을 덮어써 tokens/dist 읽기가 막힐 수 있습니다.

"Read(./node_modules/)",
"Read(./dist/)",
"Read(./storybook-static/)",
"Read(./www/build/)",
"Read(./www/.docusaurus/)",
Expand Down
1 change: 0 additions & 1 deletion packages/theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"vitest": "catalog:"
},
"dependencies": {
"@vanilla-extract/dynamic": "catalog:",
"@sipe-team/tokens": "workspace:*"
},
"publishConfig": {
Expand Down
Loading
Loading