Skip to content

Commit daaf456

Browse files
committed
style(tokens): 💄 primitives, moved semantic meaning to semantic layer
1 parent 8f1b27f commit daaf456

File tree

2 files changed

+17
-31
lines changed

2 files changed

+17
-31
lines changed

packages/design-tokens/dictionary/primitives.dtcg.json

Lines changed: 7 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -755,21 +755,21 @@
755755
},
756756
"$description": "Accent hover / link hover"
757757
},
758-
"select": {
758+
"300": {
759759
"$type": "color",
760760
"$value": {
761761
"colorSpace": "hsl",
762762
"components": [
763-
218,
763+
219,
764764
85,
765765
95
766766
],
767767
"alpha": 1,
768768
"hex": "#e7effd"
769769
},
770-
"$description": "Data grid / table selection tint (solid)"
770+
"$description": "Info/selection background light"
771771
},
772-
"light": {
772+
"500": {
773773
"$type": "color",
774774
"$value": {
775775
"colorSpace": "hsl",
@@ -783,20 +783,6 @@
783783
},
784784
"$description": "Blue light - for dark mode visibility"
785785
},
786-
"lighter": {
787-
"$type": "color",
788-
"$value": {
789-
"colorSpace": "hsl",
790-
"components": [
791-
219,
792-
84,
793-
60
794-
],
795-
"alpha": 1,
796-
"hex": "#437fef"
797-
},
798-
"$description": "Blue lighter - for dark mode visibility"
799-
},
800786
"opacity": {
801787
"15": {
802788
"$type": "color",
@@ -927,7 +913,7 @@
927913
},
928914
"$description": "Danger text, icon, solid bg"
929915
},
930-
"light": {
916+
"500": {
931917
"$type": "color",
932918
"$value": {
933919
"colorSpace": "hsl",
@@ -1113,7 +1099,7 @@
11131099
},
11141100
"$description": "Success text"
11151101
},
1116-
"light": {
1102+
"500": {
11171103
"$type": "color",
11181104
"$value": {
11191105
"colorSpace": "hsl",
@@ -1257,7 +1243,7 @@
12571243
},
12581244
"$description": "Warning text"
12591245
},
1260-
"light": {
1246+
"500": {
12611247
"$type": "color",
12621248
"$value": {
12631249
"colorSpace": "hsl",

packages/design-tokens/dictionary/semantic.dtcg.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@
328328
"$extensions": {
329329
"mode": {
330330
"light": "{color.blue.400}",
331-
"dark": "{color.blue.light}"
331+
"dark": "{color.blue.500}"
332332
}
333333
},
334334
"$description": "Link, empty button, info text"
@@ -339,7 +339,7 @@
339339
"$extensions": {
340340
"mode": {
341341
"light": "{color.blue.600}",
342-
"dark": "{color.blue.lighter}"
342+
"dark": "{color.blue.400}"
343343
}
344344
},
345345
"$description": "Link / empty button hover"
@@ -353,7 +353,7 @@
353353
"$extensions": {
354354
"mode": {
355355
"light": "{color.red.600}",
356-
"dark": "{color.red.light}"
356+
"dark": "{color.red.500}"
357357
}
358358
},
359359
"$description": "Danger text — alert, badge, button, field"
@@ -364,7 +364,7 @@
364364
"$extensions": {
365365
"mode": {
366366
"light": "{color.green.600}",
367-
"dark": "{color.green.light}"
367+
"dark": "{color.green.500}"
368368
}
369369
},
370370
"$description": "Success text — alert, badge, icon"
@@ -375,7 +375,7 @@
375375
"$extensions": {
376376
"mode": {
377377
"light": "{color.orange.700}",
378-
"dark": "{color.orange.light}"
378+
"dark": "{color.orange.500}"
379379
}
380380
},
381381
"$description": "Warning text — alert, badge, icon"
@@ -386,7 +386,7 @@
386386
"$extensions": {
387387
"mode": {
388388
"light": "{color.blue.400}",
389-
"dark": "{color.blue.light}"
389+
"dark": "{color.blue.500}"
390390
}
391391
},
392392
"$description": "Info text — alert, badge (same as link.default)"
@@ -526,7 +526,7 @@
526526
"$extensions": {
527527
"mode": {
528528
"light": "{color.red.600}",
529-
"dark": "{color.red.light}"
529+
"dark": "{color.red.500}"
530530
}
531531
},
532532
"$description": "Solid danger bg — badge.solid"
@@ -537,7 +537,7 @@
537537
"$extensions": {
538538
"mode": {
539539
"light": "{color.green.600}",
540-
"dark": "{color.green.light}"
540+
"dark": "{color.green.500}"
541541
}
542542
},
543543
"$description": "Solid success bg — badge.solid"
@@ -548,7 +548,7 @@
548548
"$extensions": {
549549
"mode": {
550550
"light": "{color.orange.600}",
551-
"dark": "{color.orange.light}"
551+
"dark": "{color.orange.500}"
552552
}
553553
},
554554
"$description": "Solid warning bg — badge.solid"
@@ -559,7 +559,7 @@
559559
"$extensions": {
560560
"mode": {
561561
"light": "{color.blue.600}",
562-
"dark": "{color.blue.lighter}"
562+
"dark": "{color.blue.400}"
563563
}
564564
},
565565
"$description": "Solid info bg — badge.solid"

0 commit comments

Comments
 (0)