Created
August 13, 2020 17:22
-
-
Save starryeyez024/35e5485e250b753dc5dda672bbf1854c to your computer and use it in GitHub Desktop.
Redefining local CSS custom properties
This file contains hidden or 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
:host([pfe-priority="secondary"][pfe-color="base"]) { | |
--pfe-cta--BackgroundColor: transparent; | |
--pfe-cta--BorderColor: #{pfe-color(ui-base)}; | |
--pfe-cta--Color: #{pfe-color(ui-base)}; | |
--pfe-cta--BackgroundColor--hover: #{pfe-color(ui-base)}; | |
--pfe-cta--BorderColor--hover: #{pfe-color(ui-base)}; | |
--pfe-cta--Color--hover: #{pfe-color(ui-base--text)}; | |
--pfe-cta--BackgroundColor--focus: #{$pfe-cta--BackgroundColor--focus}; | |
--pfe-cta__inner--BorderColor--focus: #{pfe-color(ui-base)}; | |
--pfe-cta--BorderColor--focus: #{pfe-color(ui-base)}; | |
--pfe-cta--Color--focus: #{pfe-color(ui-base)}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment