-
Notifications
You must be signed in to change notification settings - Fork 201
Update to Spectrum Tokens Beta 17 #757
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
Conversation
--spectrum-badge-error-background-color: var(--spectrum-semantic-negative-color-default); | ||
--spectrum-badge-info-background-color: var(--spectrum-semantic-informative-color-default); | ||
--spectrum-badge-warning-background-color: var(--spectrum-semantic-notice-color-default); | ||
--spectrum-badge-fuchsia-l-focus-ring-border-radius-key-focus: var(--spectrum-global-dimension-size-75); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it required that the css variables are now a combination of color and size? Was looking at the previous label css and it looked as if there were separate variables for sizing and colors. (Asking as I'm building something for RSPv3)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, this looks wrong. @GarthDB thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jluyau the CSS vars file has the size and color tokens. What's new in spectrum-badge
file are the t-shirt sizes. T-shirt sizes are separate from scale
(i.e., large
, medium
). We are going to see a ton of new tokens for each component that gets t-shirt sizing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update @GarthDB
Does it build:
|
* fix: match capitalization with UI kit * fix: change workflow icon size to medium to align with UI kit * fix: align with Action bar UI kit * feat: add migration guide Co-authored-by: Jian Liao <jianliao@adobe.com>
Co-authored-by: Jian Liao <jianliao@adobe.com>
* fix: removed global and deprecated tokens, closes #806 * fix: added height to spectrum-Accordion-itemHeading
533a51b
to
0399609
Compare
* fix: make default Checkbox look correct BREAKING CHANGE: colors change in a way that may be unexpected docs: add docs explaining quiet/emphasized Checkbox * docs: make Quiet/Emphasized information a Migration Guide
* fix: workflow icon size change to medium * fix: add migration guide Co-authored-by: Jian Liao <jianliao@adobe.com>
* build: fix renamed component names, duplicates * docs: fix icon size in Picker, delete duplicate example * build: fix Dropdown -> Picker naming issues, version numbers * docs: add Picker migration guide * docs: fix migration guide wording * build: show "Unreleased" for renamed components instead of blank
Co-authored-by: Jian Liao <jianliao@adobe.com>
Co-authored-by: Jian Liao <jianliao@adobe.com>
* docs: added migration guide * docs: updated migration guide for a/b switch
* fix: change pagination counter text color to match design * fix: change to use color alias Co-authored-by: Jian Liao <jianliao@adobe.com>
Co-authored-by: Jian Liao <jianliao@adobe.com>
* fix: typography styles for Checkbox, fixes #243 * fix: remove Checkbox and Radio margin, fixes #124 BREAKING CHANGE: Checkbox and Radio no longer have margin on their own, must use FieldGroup * feat: add .spectrum-Example to wrap sub-examples * docs: show all combinations of Checkbox/Radio states, closes #707 * fix: typography styles for Radio, related to #243 * docs: put disabled last * docs: fix Form examples, missing FieldGroup dependency * fix: invalid Radio button text color, fixes #251 * fix: add missing color animation to Checkbox * feat: add margin to items, require --horizontal BREAKING CHANGE: The spectrum-FieldGroup--horizontal is now required for horizontal field groups * feat: remove hit area from Radio/Checkbox
Spectrum tokens 17 - Textfield Textarea
* feat: tags contributd by rsp@v3 * fix: move border-radius setting to index.css * fix: add back the margin-inline-end for the tag has icon or avatar * fix: fix truncation example for tag and fix clear button size * fix: remove the margin-left for clearButton * fix: adjust the color to match design for standard tag item * fix: implements the background for clearButton * fix: fix some mismatch between impl and design xd * fix: mix tag with or without icon/avatar * fix: use dna variables for border-shadow and border-size * fix: update dna variable for focus-ring and border-size * Performance for focus-ring transition box-shadow is hard, opacity is easy * build(deps-dev): bump prismjs from 1.17.1 to 1.21.0 Bumps [prismjs](https://github.com/PrismJS/prism) from 1.17.1 to 1.21.0. - [Release notes](https://github.com/PrismJS/prism/releases) - [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md) - [Commits](PrismJS/prism@v1.17.1...v1.21.0) Signed-off-by: dependabot[bot] <support@github.com> * fix: fix the issues caused by component rename (#778) * fix: fix the issues caused by component rename * fix: fix package security vulnerabilities Co-authored-by: Jian Liao <jianliao@adobe.com> * test: update VRT instruction documentation (#772) * test: update VRT instruction documentation * docs: fixed typo Co-authored-by: Jian Liao <jianliao@adobe.com> Co-authored-by: Garth Braithwaite <garthdb@gmail.com> * fix: high contrast mode for checkboxes. (#791) partly resolves #786 This will not work in IE11 or with our legacy build. It must support CSS vars. Co-authored-by: Milan Brkic <milan.brkic1@yahoo.com> Co-authored-by: Jian Liao <jianliao@adobe.com> Co-authored-by: Rob Snow <rsnow@adobe.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jian Liao <jianliao@users.noreply.github.com> Co-authored-by: Aaron <misterbrownlee@users.noreply.github.com> Co-authored-by: James Nurthen <jnurthen@users.noreply.github.com>
…to spectrum-tokens-17
VRT successfully! 🎊 |
VRT successfully! 🎊 |
Spectrum CSS documentation build successfully! 🎉 |
VRT successfully! 🎊 |
Description
I updated the latest Spectrum Tokens package (beta 17) and found it broke a lot of components.
Most likely it's because a bunch of deprecated tokens was deleted. I need to figure out how they were deleted.
Closes issues
Fixes #230
Fixes #517
To-do list