Skip to content
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

chore(tokens): use latest dependency & fix build error #1591

Merged
merged 8 commits into from
Feb 1, 2023

Conversation

pfulton
Copy link
Collaborator

@pfulton pfulton commented Jan 20, 2023

Description

  • Updates the @spectrum-css/tokens package to use the latest release of @adobe/spectrum-tokens
  • Fixes all instances of undefined custom property errors as a result of renamed tokens introduced in the previous bullet point
  • Removes previously defined-by-us custom properties in tokens/custom-spectrum/custom-vars.css and uses custom properties driven by @adobe/spectrum-tokens instead.
  • Fixes all instances of undefined custom property errors as a result of the previous bullet point.

How and where has this been tested?

  • How this was tested:
  • Browser(s) and OS(s) this was tested with:

Screenshots

To-do list

  • If my change impacts other components, I have tested to make sure they don't break.
  • If my change impacts documentation, I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have tested these changes in Windows High Contrast mode.
  • This pull request is ready to merge.

@pfulton pfulton force-pushed the castastrophe/chore-bump-tokens-beta64-CSS-379 branch 2 times, most recently from d8c673a to 75f5fef Compare January 20, 2023 22:00
@github-actions
Copy link
Contributor

github-actions bot commented Jan 20, 2023

🚀 Deployed on https://pr-1591--spectrum-css.netlify.app

@github-actions github-actions bot temporarily deployed to pull request January 20, 2023 22:07 Inactive
@pfulton pfulton force-pushed the castastrophe/chore-bump-tokens-beta64-CSS-379 branch from 75f5fef to 4050556 Compare January 27, 2023 19:11
@github-actions github-actions bot temporarily deployed to pull request January 27, 2023 19:17 Inactive
@pfulton pfulton force-pushed the castastrophe/chore-bump-tokens-beta64-CSS-379 branch from adf364e to a2b2c56 Compare January 30, 2023 16:23
@github-actions github-actions bot temporarily deployed to pull request January 30, 2023 19:19 Inactive
@pfulton pfulton marked this pull request as ready for review January 30, 2023 20:56
@github-actions github-actions bot temporarily deployed to pull request January 30, 2023 21:01 Inactive
@pfulton pfulton force-pushed the castastrophe/chore-bump-tokens-beta64-CSS-379 branch from 764f035 to 279a337 Compare January 31, 2023 15:59
components/tokens/config.js Show resolved Hide resolved
components/commons/basebutton-coretokens.css Show resolved Hide resolved
@github-actions github-actions bot temporarily deployed to pull request January 31, 2023 21:00 Inactive
Copy link
Contributor

@lunarfusion lunarfusion left a comment

Choose a reason for hiding this comment

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

Just some comment cleanup.

components/breadcrumb/index.css Outdated Show resolved Hide resolved
components/breadcrumb/index.css Outdated Show resolved Hide resolved
components/breadcrumb/index.css Outdated Show resolved Hide resolved
components/breadcrumb/index.css Outdated Show resolved Hide resolved
components/breadcrumb/index.css Outdated Show resolved Hide resolved
@@ -18,35 +18,35 @@ governing permissions and limitations under the License.
--spectrum-breadcrumbs-block-size-multiline: var(--spectrum-breadcrumbs-height-multiline);

/* text regular */
--spectrum-breadcrumbs-line-height: var(--spectrum-line-height-small);
--spectrum-breadcrumbs-line-height: var(--spectrum-line-height-100);
--spectrum-breadcrumbs-font-size: var(--spectrum-font-size-200);
--spectrum-breadcrumbs-font-family: var(--spectrum-font-family-base); /* placeholder for --spectrum-font-family-default */
Copy link
Contributor

Choose a reason for hiding this comment

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

Since we are using the custom vars token name of --spectrum-font-family-base, I think this placeholder note (referencing the original token name provided in the XD) can be removed:

/* placeholder for --spectrum-font-family-default */

components/breadcrumb/index.css Outdated Show resolved Hide resolved
components/breadcrumb/index.css Outdated Show resolved Hide resolved
components/breadcrumb/index.css Outdated Show resolved Hide resolved
components/breadcrumb/index.css Outdated Show resolved Hide resolved
@pfulton pfulton force-pushed the castastrophe/chore-bump-tokens-beta64-CSS-379 branch from 227bbee to 59b7c26 Compare February 1, 2023 14:59
@github-actions github-actions bot temporarily deployed to pull request February 1, 2023 15:05 Inactive
Copy link
Contributor

@lunarfusion lunarfusion left a comment

Choose a reason for hiding this comment

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

Thanks for cleaning things up!

@pfulton pfulton force-pushed the castastrophe/chore-bump-tokens-beta64-CSS-379 branch from 59b7c26 to 2ce0862 Compare February 1, 2023 20:43
@github-actions github-actions bot temporarily deployed to pull request February 1, 2023 20:49 Inactive
@pfulton pfulton merged commit f2532e7 into main Feb 1, 2023
@pfulton pfulton deleted the castastrophe/chore-bump-tokens-beta64-CSS-379 branch February 1, 2023 21:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants