Skip to content

Commit

Permalink
fix: add legacy matrix specific colors
Browse files Browse the repository at this point in the history
  • Loading branch information
blackfalcon committed Oct 15, 2020
1 parent c13f64f commit cd6f3a0
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
45 changes: 45 additions & 0 deletions scripts/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,51 @@
"format": "css/variables"
}
]
},
"SCSSVariables--legacyMatrixColors": {
"transformGroup": "scss",
"comment": "File type: SCSS; variable type: Sass; filter: matrix",
"buildPath": "./dist/tokens/",
"deprecated": true,
"files": [
{
"destination": "MatrixVariables.scss",
"format": "scss/variables",
"filter": {
"matrix": true
}
}
]
},
"CSSCustomProperties--legacyMatrixColors": {
"transformGroup": "css",
"comment": "File type: CSS; variable type: CSS; filter: matrix",
"buildPath": "./dist/tokens/",
"deprecated": true,
"files": [
{
"destination": "MatrixProperties.css",
"format": "css/variables",
"filter": {
"matrix": true
}
}
]
},
"SassCustomProperties--legacyMatrixColors": {
"transformGroup": "scss",
"comment": "File type: scss; variable type: CSS; filter: matrix",
"buildPath": "./dist/tokens/",
"deprecated": true,
"files": [
{
"destination": "MatrixProperties.scss",
"format": "css/variables",
"filter": {
"matrix": true
}
}
]
}
}
}
17 changes: 17 additions & 0 deletions src/color/_classic/brand.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,23 @@
"classic": true,
"legacy": true
}
},
"matrix": {
"saver": {
"value": "eda0bc",
"comment": "{ comments.color.matrix.comment }",
"matrix": true
},
"main": {
"value": "2774ae",
"comment": "{ comments.color.matrix.comment }",
"matrix": true
},
"firstClass": {
"value": "{color.brand.midnight.400.value}",
"comment": "{ comments.color.matrix.comment }",
"matrix": true
}
}
}
}
3 changes: 3 additions & 0 deletions src/comments.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
"classic": {
"comment": "\n // DO NOT USE for anything other than legacy projects or classic component themes"
},
"matrix": {
"comment": "\n // DO NOT USE for anything other than legacy projects related to the matrix search"
},
"reference": {
"comment": "{comments.reference.comment}"
}
Expand Down

0 comments on commit cd6f3a0

Please sign in to comment.