Skip to content
This repository has been archived by the owner on Feb 12, 2022. It is now read-only.

Commit

Permalink
use global property for icon styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Bobby Wilkes committed Aug 31, 2017
1 parent d658f70 commit 6dcdd48
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions tokens/fuelux/icon.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,23 @@
{
"global": {
"category": "icon-color",
"cssProperties": ["fill"],
"type": "color"
},
"imports": [
"./aliases.json"
],
"props": {
"COLOR_TEXT_ICON_DEFAULT": {
"value": "{!BLUE_ROYALE}",
"type": "color",
"category": "icon-color",
"cssProperties": ["fill"],
"comment": "Default icons have a blue color."
},
"COLOR_TEXT_ICON_UTILITY": {
"value": "{!GRAY_80}",
"type": "color",
"category": "icon-color",
"cssProperties": ["fill"],
"comment": "Utility icons have a gray color."
},
"COLOR_TEXT_ICON_INVERSE": {
"value": "{!WHITE}",
"type": "color",
"category": "icon-color",
"cssProperties": ["fill"],
"comment": "Inverse icon color for dark backgrounds."
}
}
Expand Down

0 comments on commit 6dcdd48

Please sign in to comment.