Created
April 15, 2020 22:20
-
-
Save peterj/4fb1a46e1deb47a9f4694a79708c1e94 to your computer and use it in GitHub Desktop.
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
name: 'default', | |
template: `.product-price-tag%TAG% { | |
background: %BG_COLOR% !important; | |
color: %TEXT_COLOR%; | |
} | |
.product-price-tag%TAG%:before { | |
border-right-color: %BG_COLOR% !important; | |
color: %TEXT_COLOR%; | |
} | |
.product-price-tag%TAG% .old-price { | |
text-decoration: line-through; | |
color: %OLD_PRICE_TEXT_COLOR%; | |
font-size: 15px; | |
margin-left: 10px; | |
}`, |
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
{ | |
"name": "red-100-black", | |
"tokens": [ | |
{ | |
"name": "%BG_COLOR%", | |
"value": "#FFF5F5" | |
}, | |
{ | |
"name": "%TEXT_COLOR%", | |
"value": "#000" | |
}, | |
{ | |
"name": "%OLD_PRICE_TEXT_COLOR%", | |
"value": "#4A5568" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment