Skip to content

Commit

Permalink
Merge pull request #89 from takenet/feature/add-extended-colors
Browse files Browse the repository at this point in the history
feat(extended-color): added extended colors
  • Loading branch information
WillianLomeu authored Apr 12, 2023
2 parents 392adfb + a91bc1e commit 884ec66
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
18 changes: 18 additions & 0 deletions config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ const StyleDictionary = require("style-dictionary").extend(
},
},
},
{
destination: "extended-color.scss",
format: "scss/variables",
filter: {
attributes: {
category: "color-extended",
},
},
},
{
destination: "variables.scss",
format: "scss/variables",
Expand Down Expand Up @@ -125,6 +134,15 @@ const StyleDictionary = require("style-dictionary").extend(
},
},
},
{
destination: "extended-color.json",
format: "json/flat",
filter: {
attributes: {
category: "color-extended",
},
},
},
],
},
},
Expand Down
28 changes: 28 additions & 0 deletions properties/assets/extended-color.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"color-extended": {
"blue": {
"value": "#1968F0"
},
"ocean": {
"value": "#00D3E4"
},
"green": {
"value": "#35DE90"
},
"yellow": {
"value": "#FBCF23"
},
"orange": {
"value": "#F06305"
},
"red": {
"value": "#E60F0F"
},
"pink": {
"value": "#FB4BC1"
},
"gray": {
"value": "#666666"
}
}
}

0 comments on commit 884ec66

Please sign in to comment.