design-system icon indicating copy to clipboard operation
design-system copied to clipboard

๐Ÿงช [Spike] Viewport breakpoints (re-using IBM Carbon values/mixins)

Open didoo opened this issue 8 months ago โ€ข 1 comments

๐Ÿšจ DO NOT MERGE ๐Ÿšจ

:pushpin: Summary

This PR is an exploration of how we could potentially use the IBM Carbon breakpoints values and mixins within HDS (eg. for our components) and expose them to our consumers.

๐Ÿ‘‰ ๐Ÿ‘‰ ๐Ÿ‘‰ Preview: https://hds-showcase-git-spike-viewport-breakpoints-hashicorp.vercel.app/foundations/breakpoints

๐Ÿšง TODOs

  • [ ] move the "source" Sass files for the Sass variables and mixins (showcase/app/styles/_temp-hds-breakpoints.scss) under the packages/components folder.
  • [ ] see if there are other ways we can expose these values/mixins to the consumers
    • [ ] breakpoint values as JavaScript object (see showcase/app/components/mock/demo/hds-breakpoints.ts)
    • [ ] consume these JS breakpoints in the showcase (add a demo, in which I render a string with the current breakpoint)

:link: External links

Jira ticket: https://hashicorp.atlassian.net/browse/HDS-4806

didoo avatar Apr 29 '25 09:04 didoo

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Updated (UTC)
hds-showcase โœ… Ready (Inspect) Visit Preview Apr 29, 2025 9:12am
hds-website โœ… Ready (Inspect) Visit Preview Apr 29, 2025 9:12am

vercel[bot] avatar Apr 29 '25 09:04 vercel[bot]