Skip to content
This repository was archived by the owner on Nov 26, 2024. It is now read-only.

Commit fc1484a

Browse files
Updating some token descriptions that were wrong
1 parent af69652 commit fc1484a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/figma/tokens.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -314,12 +314,12 @@
314314
"overlay": {
315315
"default": {
316316
"value": "hsla(210, 8%, 15%, .9)",
317-
"description": "(grey800: #24272A) text.default should be used for all general text used on background.default or background.alternative that takes main priority in the information hierarchy.",
317+
"description": "(grey800: #24272A 90% opacity) overlay.default should be used for all general overlay backgrounds",
318318
"type": "color"
319319
},
320320
"inverse": {
321321
"value": "hsla(0, 0%, 99%, 1)",
322-
"description": "(white010: #FCFCFC) primary.inverse should be used only as the foreground element on top of primary.default and primary.alternative. It is intended to be the most contrasting color to primary.default. It should meet all AA and AAA accessibility standards such as the text or icon of a primary button.",
322+
"description": "(white010: #FCFCFC) overlay.inverse should be used only as the foreground element on top of overlay.default used for text or icons",
323323
"type": "color"
324324
}
325325
},
@@ -400,7 +400,7 @@
400400
},
401401
"disabled": {
402402
"value": "hsla(46, 100%, 62%, .5)",
403-
"description": "(yellow500: #FFD33D 50% opacity) error.disabled should be used for all disabled critical action components such as buttons",
403+
"description": "(yellow500: #FFD33D 50% opacity) warning.disabled should be used for all disabled component colors such as buttons",
404404
"type": "color"
405405
}
406406
},
@@ -506,12 +506,12 @@
506506
"overlay": {
507507
"default": {
508508
"value": "hsla(210, 8%, 15%, .9)",
509-
"description": "(grey800: #24272A) text.default should be used for all general text used on background.default or background.alternative that takes main priority in the information hierarchy.",
509+
"description": "(grey800: #24272A 90% opacity) overlay.default should be used for all general overlay backgrounds",
510510
"type": "color"
511511
},
512512
"inverse": {
513513
"value": "hsla(0, 0%, 99%, 1)",
514-
"description": "(white010: #FCFCFC) primary.inverse should be used only as the foreground element on top of primary.default and primary.alternative. It is intended to be the most contrasting color to primary.default. It should meet all AA and AAA accessibility standards such as the text or icon of a primary button.",
514+
"description": "(white010: #FCFCFC) overlay.inverse should be used only as the foreground element on top of overlay.default used for text or icons",
515515
"type": "color"
516516
}
517517
},
@@ -592,7 +592,7 @@
592592
},
593593
"disabled": {
594594
"value": "hsla(46, 100%, 62%, .5)",
595-
"description": "(yellow500: #FFD33D 50% opacity) error.disabled should be used for all disabled critical action components such as buttons",
595+
"description": "(yellow500: #FFD33D 50% opacity) warning.disabled should be used for all disabled component colors such as buttons",
596596
"type": "color"
597597
}
598598
},
@@ -646,7 +646,7 @@
646646
},
647647
"disabled": {
648648
"value": "hsla(205, 97%, 43%, .5)",
649-
"description": "(blue500: #037DD6 50% opacity) primary.disabled should be used for all disabled primary action components such as buttons or links.",
649+
"description": "(blue500: #037DD6 50% opacity) info.disabled should be used for all disabled info action components such as buttons or links.",
650650
"type": "color"
651651
}
652652
}

0 commit comments

Comments
 (0)