-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(themes): support component themes #64
- Loading branch information
1 parent
f598e7a
commit c639330
Showing
8 changed files
with
387 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"cSpell.words": [ | ||
"csspart", | ||
"labelledby" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
// Copyright (c) 2024 Alaska Airlines. All right reserved. Licensed under the Apache-2.0 license | ||
// See LICENSE in the project root for license information. | ||
|
||
// --------------------------------------------------------------------- | ||
|
||
/* stylelint-disable order/properties-order, scss/double-slash-comment-whitespace-inside */ | ||
|
||
// Import Auro tokens | ||
@import './../node_modules/@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables'; | ||
|
||
|
||
// Component: card | ||
|
||
:host([border]) { | ||
border-color: var(--ds-auro-card-border-color); | ||
} | ||
|
||
// Navigation Card | ||
|
||
:host([href]) { | ||
auro-hyperlink { | ||
outline-color: var(--ds-auro-card-link-border-color); | ||
color: inherit; | ||
|
||
&:focus { | ||
--ds-auro-card-link-border-color: var(--ds-color-border-active-default, #{$ds-color-border-active-default}); | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
@import './../node_modules/@aurodesignsystem/design-tokens/dist/tokens/SCSSVariables'; | ||
|
||
:host { | ||
--ds-auro-card-border-color: var(--ds-color-border-divider-default, #{$ds-color-border-divider-default}); | ||
--ds-auro-card-link-border-color: transparent; | ||
} |