-
Couldn't load subscription status.
- Fork 50
[WIP-03] [Project Solar / Phase 1 / Themed CSS for HDS components] Rollup configuration and Sass processing for multiple files #3259
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
base: project-solar/phase-1/HDS-5216_modes/modes-pipeline-implementation
Are you sure you want to change the base?
Changes from all commits
14efb4e
6abb702
dd2f663
b228c8b
9ca58b2
49b9155
29415b1
fe0dfab
6feda57
3180ef8
1abfe15
f4877f6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [note for future] Not something that needs to be decided now. In the future, once the existing Would require consumers to make an update, but would allow us to say this There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [Note] The structure looks all good to me. I like the simplicity of not having the theming files be included in the components package. Did a test build and it generated as expected, and is much simpler than with the theming files. We do have some extra comments getting added in there when files get combined, but that is happening in our current build as well. We should update the showcase to follow our new recommendation of using the Example of the extra comments: |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| /** | ||
| * Copyright (c) HashiCorp, Inc. | ||
| * SPDX-License-Identifier: MPL-2.0 | ||
| */ | ||
|
|
||
| // these files come from `packages/tokens/dist/` | ||
| @use "products/css/helpers/color"; | ||
| @use "products/css/helpers/elevation"; | ||
| @use "products/css/helpers/focus-ring"; | ||
| @use "products/css/helpers/typography"; | ||
|
|
||
| // main components file | ||
| @use "../components/index"; | ||
|
|
||
| // screen-reader utility class | ||
| @use "../mixins/screen-reader-only" as *; | ||
|
|
||
| .sr-only { | ||
| @include screen-reader-only(); | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| /** | ||
| * Copyright (c) HashiCorp, Inc. | ||
| * SPDX-License-Identifier: MPL-2.0 | ||
| */ | ||
|
|
||
| // Notice: this list can be automatically edited by the Ember blueprint, please don't remove the start/end comments | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [todo] In the ember blueprint |
||
| // START COMPONENTS CSS FILES IMPORTS | ||
| @use "./accordion"; | ||
| @use "./advanced-table"; | ||
| @use "./alert"; | ||
| @use "./app-footer"; | ||
| @use "./app-frame"; | ||
| @use "./app-header"; | ||
| @use "./app-side-nav"; | ||
| @use "./application-state"; | ||
| @use "./badge"; | ||
| @use "./badge-count"; | ||
| @use "./breadcrumb"; | ||
| @use "./button"; | ||
| @use "./button-set"; | ||
| @use "./card"; | ||
| @use "./code-block"; | ||
| @use "./code-editor"; | ||
| @use "./copy"; | ||
| @use "./dialog-primitive"; | ||
| @use "./disclosure-primitive"; | ||
| @use "./dismiss-button"; | ||
| @use "./dropdown"; | ||
| @use "./flyout"; | ||
| @use "./form"; // multiple components | ||
| @use "./icon"; | ||
| @use "./icon-tile"; | ||
| @use "./layout"; // multiple components | ||
| @use "./link"; // multiple components | ||
| @use "./menu-primitive"; | ||
| @use "./modal"; | ||
| @use "./page-header"; | ||
| @use "./pagination"; | ||
| @use "./reveal"; | ||
| @use "./rich-tooltip"; | ||
| @use "./segmented-group"; | ||
| @use "./separator"; | ||
| @use "./side-nav"; | ||
| @use "./stepper"; | ||
| @use "./table"; | ||
| @use "./tabs"; | ||
| @use "./tag"; | ||
| @use "./text"; | ||
| @use "./time"; | ||
| @use "./toast"; | ||
| @use "./tooltip"; | ||
| // END COMPONENT CSS FILES IMPORTS | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.