Skip to content

Commit

Permalink
Merge pull request #2609 from SpareBank1/update-colors-2
Browse files Browse the repository at this point in the history
fix(ffe-core): update colors
  • Loading branch information
dagfrode authored Mar 6, 2025
2 parents a4a35f2 + 3c9c783 commit 6e7d321
Show file tree
Hide file tree
Showing 4 changed files with 174 additions and 24 deletions.
2 changes: 1 addition & 1 deletion packages/ffe-core/tokens/01 Primitive.value.json
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,7 @@
"sand": {
"0": {
"$type": "color",
"$value": "#fdfaf7",
"$value": "#fdf8f5",
"$description": "",
"$extensions": {
"com.figma": {
Expand Down
4 changes: 2 additions & 2 deletions packages/ffe-core/tokens/02 Semantic.Light.json
Original file line number Diff line number Diff line change
Expand Up @@ -2046,7 +2046,7 @@
},
"subtler": {
"$type": "color",
"$value": "{color.syrin.500}",
"$value": "{color.syrin.550}",
"$description": "",
"$extensions": {
"com.figma": {
Expand Down Expand Up @@ -2321,7 +2321,7 @@
},
"subtle": {
"$type": "color",
"$value": "{color.sand.25}",
"$value": "{color.sand.0}",
"$description": "",
"$extensions": {
"com.figma": {
Expand Down
101 changes: 88 additions & 13 deletions packages/ffe-core/tokens/03 Context.Accent.json
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@
},
"subtle": {
"$type": "color",
"$value": "{accent.brand.secondary.subtler}",
"$value": "{accent.brand.secondary.subtlest}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -467,7 +467,7 @@
},
"subtle-hover": {
"$type": "color",
"$value": "{accent.brand.secondary.subtle}",
"$value": "{accent.brand.secondary.subtler}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -482,7 +482,7 @@
},
"subtle-pressed": {
"$type": "color",
"$value": "{accent.brand.secondary.default}",
"$value": "{accent.brand.secondary.subtle}",
"$description": "",
"$extensions": {
"com.figma": {
Expand Down Expand Up @@ -544,7 +544,7 @@
},
"subtle": {
"$type": "color",
"$value": "{accent.brand.tertiary.subtler}",
"$value": "{accent.brand.tertiary.subtlest}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -559,7 +559,7 @@
},
"subtle-hover": {
"$type": "color",
"$value": "{accent.brand.tertiary.subtle}",
"$value": "{accent.brand.tertiary.subtler}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -574,7 +574,7 @@
},
"subtle-pressed": {
"$type": "color",
"$value": "{accent.brand.tertiary.default}",
"$value": "{accent.brand.tertiary.subtle}",
"$description": "",
"$extensions": {
"com.figma": {
Expand Down Expand Up @@ -604,9 +604,39 @@
}
}
},
"info-subtle": {
"$type": "color",
"$value": "{accent.feedback.info.subtler}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": [
"FRAME_FILL",
"SHAPE_FILL"
],
"codeSyntax": {}
}
}
},
"success": {
"$type": "color",
"$value": "{accent.feedback.success.medium}",
"$value": "{accent.feedback.success.strong}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": [
"FRAME_FILL",
"SHAPE_FILL"
],
"codeSyntax": {}
}
}
},
"success-subtle": {
"$type": "color",
"$value": "{accent.feedback.success.subtler}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -621,7 +651,22 @@
},
"warning": {
"$type": "color",
"$value": "{accent.feedback.warning.stronger}",
"$value": "{accent.feedback.warning.strong}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": [
"FRAME_FILL",
"SHAPE_FILL"
],
"codeSyntax": {}
}
}
},
"warning-subtle": {
"$type": "color",
"$value": "{accent.feedback.warning.subtler}",
"$description": "",
"$extensions": {
"com.figma": {
Expand Down Expand Up @@ -649,6 +694,21 @@
}
}
},
"critical-subtle": {
"$type": "color",
"$value": "{accent.feedback.critical.subtler}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": [
"FRAME_FILL",
"SHAPE_FILL"
],
"codeSyntax": {}
}
}
},
"tip": {
"$type": "color",
"$value": "{accent.feedback.tip.stronger}",
Expand All @@ -663,6 +723,21 @@
"codeSyntax": {}
}
}
},
"tip-subtle": {
"$type": "color",
"$value": "{accent.feedback.tip.subtler}",
"$description": "",
"$extensions": {
"com.figma": {
"hiddenFromPublishing": false,
"scopes": [
"FRAME_FILL",
"SHAPE_FILL"
],
"codeSyntax": {}
}
}
}
}
},
Expand Down Expand Up @@ -874,7 +949,7 @@
"primary": {
"default": {
"$type": "color",
"$value": "{accent.neutral.stronger}",
"$value": "{accent.neutral.medium}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -888,7 +963,7 @@
},
"hover": {
"$type": "color",
"$value": "{accent.neutral.strongest}",
"$value": "{accent.neutral.strong}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -902,7 +977,7 @@
},
"pressed": {
"$type": "color",
"$value": "{accent.neutral.stronger}",
"$value": "{accent.neutral.strongest}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -916,7 +991,7 @@
},
"subtle": {
"$type": "color",
"$value": "{accent.neutral.subtle}",
"$value": "{accent.neutral.subtler}",
"$description": "",
"$extensions": {
"com.figma": {
Expand All @@ -930,7 +1005,7 @@
},
"emphasis": {
"$type": "color",
"$value": "{speciality.static.accent.subtler}",
"$value": "{accent.brand.primary.strongest}",
"$description": "",
"$extensions": {
"com.figma": {
Expand Down
Loading

0 comments on commit 6e7d321

Please sign in to comment.