Skip to content

Commit

Permalink
Merge pull request #4354 from grommet/notification-colors
Browse files Browse the repository at this point in the history
Add notification colors
  • Loading branch information
taysea authored Nov 7, 2024
2 parents 2560e37 + a65ebcf commit cf10bf0
Show file tree
Hide file tree
Showing 4 changed files with 603 additions and 230 deletions.
230 changes: 180 additions & 50 deletions design-tokens/tokens/semantic/color.dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,56 @@
}
}
},
"ok": {
"$type": "color",
"$value": "{base.color.green.500-Opacity30}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FRAME_FILL", "SHAPE_FILL"],
"codeSyntax": {}
}
}
},
"primary": {
"default": {
"$type": "color",
"$value": "{base.color.green.600}",
"$description": "The default primary color of components at a rest/ enabled state. The term ‘primary’ denoting hierarchy - the most important thing. Use to style components prominently and give greater visual hierarchy.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FRAME_FILL", "SHAPE_FILL"],
"codeSyntax": {}
}
}
},
"hover": {
"$type": "color",
"$value": "{TBD}",
"$description": "Hover color variant of the primary color.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FRAME_FILL", "SHAPE_FILL"],
"codeSyntax": {}
}
}
}
},
"info": {
"$type": "color",
"$value": "{base.color.blue.400-Opacity12}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FRAME_FILL", "SHAPE_FILL"],
"codeSyntax": {}
}
}
},
"selected": {
"strong": {
"enabled": {
Expand Down Expand Up @@ -198,56 +248,6 @@
}
}
}
},
"primary": {
"default": {
"$type": "color",
"$value": "{base.color.green.600}",
"$description": "The default primary color of components at a rest/ enabled state. The term ‘primary’ denoting hierarchy - the most important thing. Use to style components prominently and give greater visual hierarchy.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FRAME_FILL", "SHAPE_FILL"],
"codeSyntax": {}
}
}
},
"hover": {
"$type": "color",
"$value": "{TBD}",
"$description": "Hover color variant of the primary color.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FRAME_FILL", "SHAPE_FILL"],
"codeSyntax": {}
}
}
}
},
"ok": {
"$type": "color",
"$value": "{base.color.green.500-Opacity30}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FRAME_FILL", "SHAPE_FILL"],
"codeSyntax": {}
}
}
},
"info": {
"$type": "color",
"$value": "{base.color.blue.400-Opacity12}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["FRAME_FILL", "SHAPE_FILL"],
"codeSyntax": {}
}
}
}
},
"border": {
Expand Down Expand Up @@ -592,6 +592,136 @@
"codeSyntax": {}
}
}
},
"onCritical": {
"strong": {
"$type": "color",
"$value": "{color.text.strong}",
"$description": "Text color to be used on status backgrounds.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
},
"default": {
"$type": "color",
"$value": "{color.text.default}",
"$description": "Text color to be used on status backgrounds.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
}
},
"onInfo": {
"strong": {
"$type": "color",
"$value": "{color.text.strong}",
"$description": "Text color to be used on status backgrounds.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
},
"default": {
"$type": "color",
"$value": "{color.text.default}",
"$description": "Text color to be used on status backgrounds.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
}
},
"onOk": {
"strong": {
"$type": "color",
"$value": "{color.text.strong}",
"$description": "Text color to be used on status backgrounds.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
},
"default": {
"$type": "color",
"$value": "{color.text.default}",
"$description": "Text color to be used on status backgrounds.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
}
},
"onUnknown": {
"strong": {
"$type": "color",
"$value": "{color.text.strong}",
"$description": "Text color to be used on status backgrounds.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
},
"default": {
"$type": "color",
"$value": "{color.text.default}",
"$description": "Text color to be used on status backgrounds.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
}
},
"onWarning": {
"strong": {
"$type": "color",
"$value": "{color.text.strong}",
"$description": "Text color to be used on status backgrounds.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
},
"default": {
"$type": "color",
"$value": "{color.text.default}",
"$description": "Text color to be used on status backgrounds.",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": ["TEXT_FILL"],
"codeSyntax": {}
}
}
}
}
},
"icon": {
Expand Down
Loading

0 comments on commit cf10bf0

Please sign in to comment.