-
Notifications
You must be signed in to change notification settings - Fork 196
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
feat!: 🎉 Spectrum 2 foundations #2786
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 6938987 The changes in this PR will be included in the next version bump. This PR includes changesets to release 86 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 |
🚀 Deployed on https://pr-2786--spectrum-css.netlify.app |
File metricsSummaryTotal size: 3.13 MB* Table reports on changes to a package's main file. Other changes can be found in the collapsed Details section below.
Detailsactionbutton
actiongroup
alertbanner
asset
assetcard
assetlist
avatar
button
buttongroup
calendar
card
checkbox
clearbutton
closebutton
coachindicator
coachmark
colorarea
colorhandle
colorloupe
colorslider
colorwheel
combobox
contextualhelp
datepicker
dial
dialog
divider
dropindicator
dropzone
fieldgroup
fieldlabel
floatingactionbutton
form
helptext
illustratedmessage
infieldbutton
link
logicbutton
menu
meter
miller
modal
opacitycheckerboard
page
pagination
picker
pickerbutton
popover
progressbar
progresscircle
radio
rating
search
sidenav
slider
splitview
statuslight
steplist
stepper
swatch
swatchgroup
switch
table
tabs
tag
textfield
thumbnail
toast
tooltip
tray
treeview
typography
underlay
well
tokens
* Results are not gzipped or minified. * An ASCII character in UTF-8 is 8 bits or 1 byte. |
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.
Some initial thoughts here.
3c12625
to
5f49e47
Compare
88ff338
to
ad2cea7
Compare
07e741e
to
e668259
Compare
e9f4bbc
to
99d17de
Compare
@import "./spectrum.css"; | ||
|
||
@container (--system: express) { | ||
@container style(--system: express) { | ||
.spectrum-Textfield { | ||
--spectrum-textfield-border-color: var(--spectrum-gray-400); |
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.
Custom property "--spectrum-textfield-border-color" is not used or defined by the base file (themes/spectrum-two.css).
@import "./spectrum.css"; | ||
|
||
@container (--system: express) { | ||
@container style(--system: express) { | ||
.spectrum-Textfield { | ||
--spectrum-textfield-border-color: var(--spectrum-gray-400); | ||
--spectrum-textfield-border-color-hover: var(--spectrum-gray-500); |
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.
Custom property "--spectrum-textfield-border-color-hover" is not used or defined by the base file (themes/spectrum-two.css).
DocsInternationalizedDetailVariants, | ||
DocsInternationalizedHeadingBodyPairing, | ||
DocsInternationalizedHeadingVariants, Template | ||
DocsBodyVariants, |
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.
DocsInternationalizedHeadingBodyPairing, | ||
DocsInternationalizedHeadingVariants, Template | ||
DocsBodyVariants, | ||
DocsCodeVariants, |
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.
DocsInternationalizedHeadingVariants, Template | ||
DocsBodyVariants, | ||
DocsCodeVariants, | ||
DocsDetailVariants, |
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.
DocsBodyVariants, | ||
DocsCodeVariants, | ||
DocsDetailVariants, | ||
DocsHeadingBodyPairing, |
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.
DocsCodeVariants, | ||
DocsDetailVariants, | ||
DocsHeadingBodyPairing, | ||
DocsHeadingVariants, |
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.
DocsDetailVariants, | ||
DocsHeadingBodyPairing, | ||
DocsHeadingVariants, | ||
DocsInternationalizedBodyVariants, |
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.
DocsHeadingBodyPairing, | ||
DocsHeadingVariants, | ||
DocsInternationalizedBodyVariants, | ||
DocsInternationalizedCodeVariants, |
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.
DocsHeadingVariants, | ||
DocsInternationalizedBodyVariants, | ||
DocsInternationalizedCodeVariants, | ||
DocsInternationalizedDetailVariants, |
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.
DocsInternationalizedBodyVariants, | ||
DocsInternationalizedCodeVariants, | ||
DocsInternationalizedDetailVariants, | ||
DocsInternationalizedHeadingBodyPairing, |
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.
DocsInternationalizedCodeVariants, | ||
DocsInternationalizedDetailVariants, | ||
DocsInternationalizedHeadingBodyPairing, | ||
DocsInternationalizedHeadingVariants, Template |
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.
3114d29
to
246fa4d
Compare
Expanding the existing themes system to support the new S2 mappings. --- Co-authored-by: castastrophe <[email protected]> Co-authored-by: Patrick Fulton <[email protected]> Co-authored-by: Cory Dransfeldt <[email protected]> Co-authored-by: Aziz Ramos <[email protected]> Co-authored-by: Josh Winn <[email protected]> Co-authored-by: Rise Erpelding <[email protected]> Co-authored-by: Marissa Huysentruyt <[email protected]> Co-authored-by: Rajdeep Chandra <[email protected]> Co-authored-by: TarunAdobe <[email protected]> Co-authored-by: Dragan Eror<[email protected]>
* chore(menu): remove mod property and add fallback for spectrum classic
246fa4d
to
005b0c7
Compare
Description
This pull request brings in the Spectrum 2 design foundations tokens to start the migration from our current design system to the latest. To accommodate these changes, this pull request makes a few updates to our build to facilitate more robust theme switching.
How and where has this been tested?
Please tag yourself on the tests you've marked complete to confirm the tests have been run by someone other than the author.
Remaining TODOs
Validation steps
Validating the compiled output
.spectrum--express
in thedist/themes/express
file; this class should contain --system prefixed variables.spectrum--legacy
in thedist/themes/legacy.css
file; this class should contain --system prefixed variables.spectrum
in thedist/themes/spectrum.css
file; this class should contain --system prefixed variablesdist/index-theme.css
file but no top-level classes (i.e., no.spectrum
or.spectrum--legacy
)Validating the compiled token output
tokens/components
andtokens/dist/css/components
folder withbridge
,express
,legacy
, andspectrum
folders insidetokens/components/bridge/actionbutton.css
file to match thecomponents/actionbutton/dist/index-theme.css
outputtokens/components/spectrum/actionbutton.css
file to match thecomponents/actionbutton/dist/themes/spectrum.css
outputtokens/components/legacy/actionbutton.css
file to match thecomponents/actionbutton/dist/themes/legacy.css
outputtokens/components/express/actionbutton.css
file to match thecomponents/actionbutton/dist/themes/express.css
outputRegression testing
Validate:
Screenshots
To-do list