-
Notifications
You must be signed in to change notification settings - 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
28fa9d6
68deebe
8c888e4
58ee21d
6c613d0
414e7b2
8a4461a
b6c7f1d
b078d30
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
/** | ||
* Copyright (c) HashiCorp, Inc. | ||
* SPDX-License-Identifier: MPL-2.0 | ||
*/ | ||
|
||
// these files come from `packages/tokens/dist/` | ||
@use "products/css/themed-tokens/with-combined-strategies/tokens.css"; | ||
// TODO understand if these are common/shared or we should have different ones for the themed tokens | ||
@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,22 @@ | ||||||
/** | ||||||
* Copyright (c) HashiCorp, Inc. | ||||||
* SPDX-License-Identifier: MPL-2.0 | ||||||
*/ | ||||||
|
||||||
// these files come from `packages/tokens/dist/` | ||||||
@use "products/css/themed-tokens/with-css-selectors/tokens.css"; | ||||||
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. Using
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
// TODO understand if these are common/shared or we should have different ones for the themed tokens | ||||||
@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,22 @@ | ||||||
/** | ||||||
* Copyright (c) HashiCorp, Inc. | ||||||
* SPDX-License-Identifier: MPL-2.0 | ||||||
*/ | ||||||
|
||||||
// these files come from `packages/tokens/dist/` | ||||||
@use "products/css/themed-tokens/with-prefers-color-scheme/tokens.css"; | ||||||
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. Using
Suggested change
Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||||||
// TODO understand if these are common/shared or we should have different ones for the themed tokens | ||||||
@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 | ||
// 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.
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.
Using
@use
with a.css
file extension is invalid in Sass. The@use
rule should import.scss
files, not.css
files. Either change the file extension to.scss
or use@import
instead.Copilot uses AI. Check for mistakes.