-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add alpha design token types #2564
Conversation
🦋 Changeset detectedLatest commit: ae9ed4f The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Chromatic Report🚀 Congratulations! Your build was successful! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2564 +/- ##
==========================================
- Coverage 81.95% 81.88% -0.08%
==========================================
Files 143 145 +2
Lines 2871 2887 +16
Branches 918 918
==========================================
+ Hits 2353 2364 +11
+ Misses 514 493 -21
- Partials 4 30 +26 ☔ View full report in Codecov by Sentry. |
0ea6fb1
to
c870003
Compare
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @channel.io/[email protected] ### Minor Changes - Add SCSS support to access design tokens directly through SCSS variables. ([#2568](#2568)) by @sungik-choi ## @channel.io/[email protected] ### Patch Changes - Export the `alphaTokens`, `AlphaTokens`, and `useAlphaTokens` modules. ([#2564](#2564)) by @sungik-choi - Updated dependencies - @channel.io/[email protected] ## @channel.io/[email protected] ### Patch Changes - Updated dependencies - @channel.io/[email protected] ## [email protected] ### Minor Changes - Fixed bug where autocomplete did not work. ([#2507](#2507)) by @yangwooseong ### Patch Changes - Updated dependencies - @channel.io/[email protected] ## [email protected] ### Patch Changes - Updated dependencies - @channel.io/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Self Checklist
Related Issue
Summary
Details
alphaTokens
로 토큰 객체에,AlphaTokens
네임스페이스로 토큰 타입에 접근할 수 있도록 합니다.useAlphaTokens
훅으로 자바스크립트에서 현재 테마명에 맞는 알파 버전 디자인 토큰에 접근할 수 있습니다.ThemeProvider
도AlphaThemeProvider
를 별도로 두어야하나 고민했지만, 이미 알파 디자인 토큰이 스타일 시트에 말려들어가있어서ThemeProvider
하나만(=AppProvider
하나만) 사용하더라도useAlphaTokens
훅을 사용할 수 있도록 해도 괜찮겠다고 생각했습니다.Breaking change? (Yes/No)
No
References
없음