-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: update themed to handle pseudoelements and special underline st…
…yling case (#9450) **Related Issue:** #7180 ## Summary ✨🧪✨ ### Examples ```tsx "--calcite-menu-item-action-border-color": { shadowSelector: `calcite-action::after`, targetProp: "backgroundColor", }, ``` ```tsx const tokens: ComponentTestTokens = { "--calcite-link-underline-color-start": { shadowSelector: `a`, // should probably be .anchor or similar class targetProp: "backgroundImage", }, }; themed(html` <calcite-link href="#" title="i am a link" icon-start='launch'>with an icon</calcite-link>`, tokens ); }); ```
- Loading branch information
Showing
3 changed files
with
75 additions
and
52 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
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