-
Notifications
You must be signed in to change notification settings - Fork 194
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(statuslight)!: migrate statuslight to core tokens #1495
feat(statuslight)!: migrate statuslight to core tokens #1495
Conversation
🚀 Deployed on https://pr-1495--spectrum-css.netlify.app |
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.
We might have to remove some of those log files and the local lint-settings.
Also do we maybe miss a high-contrast mode here for the Status-lights?
Otherwise great work!
.log/ti-56041.log
Outdated
@@ -0,0 +1,139 @@ | |||
[06:01:02.264] Global cache location '/Users/yosevu/Library/Caches/typescript/4.7', safe file path '/users/yosevu/.nvm/versions/node/v14.17.0/lib/node_modules/typescript/lib/typingsafelist.json', types map path /users/yosevu/.nvm/versions/node/v14.17.0/lib/node_modules/typescript/lib/typesmap.json |
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.
Can you please remove these log-files from being added to the repo?
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.
Oops, I didn't realize I committed them.
.stylelintrc.yml
Outdated
@@ -0,0 +1,21 @@ | |||
extends: stylelint-config-standard |
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.
I think this should maybe added to the local .stylelintrc file on your computer and maybe not to the repo
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.
Removed. I added this accidentally with the my .log
.spectrum-StatusLight { | ||
/* Static tokens */ | ||
--spectrum-statuslight-corner-radius: 50%; | ||
--spectrum-statuslight-font-weight: 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.
we could use here for now something like --spectrum-font-weight-regular: 400;
https://github.com/adobe/spectrum-css/blob/main/components/tokens/custom-spectrum/custom-vars.css#L32
50ed022
to
a073ba1
Compare
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.
This looks great, @yosevu - thanks for your work on this.
Released: |
@yosevu - there was a core tokens release that will affect the colors for StatusLight. The CSS tokens package for those changes will be in: There's also a Jira ticket about this: https://jira.corp.adobe.com/browse/CSS-240 |
23d4f4c
to
f2b9497
Compare
I updated tokens to 1.0.7 @pfulton |
Thanks! |
Released: |
FYI, I bumped the version number to the latest beta release in the Web Components PR. |
BREAKING CHANGE: migrate statuslight to core tokens
This is based on a comment in the batch 1 XD file
d117796
to
15228c3
Compare
Description
How and where has this been tested?
Screenshots
To-do list