Skip to content

Commit ec15118

Browse files
committed
border colors per state - secondary, primary
1 parent 9be7087 commit ec15118

File tree

3 files changed

+42
-10
lines changed

3 files changed

+42
-10
lines changed

packages/ui-scripts/lib/build/tokensStudio/canvas/component/Button.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,22 @@
347347
"lineHeightLg": {
348348
"value": "1.375rem",
349349
"type": "lineHeights"
350+
},
351+
"primaryHoverBorderColor": {
352+
"value": "{color.stroke.interactive.primary.hover}",
353+
"type": "color"
354+
},
355+
"primaryActiveBorderColor": {
356+
"value": "{color.stroke.interactive.primary.active}",
357+
"type": "color"
358+
},
359+
"secondaryHoverBorderColor": {
360+
"value": "{color.stroke.interactive.secondary.hover}",
361+
"type": "color"
362+
},
363+
"secondaryActiveBorderColor": {
364+
"value": "{color.stroke.interactive.secondary.active}",
365+
"type": "color"
350366
}
351367
}
352368
}

packages/ui-scripts/lib/build/tokensStudio/rebrand/component/Button.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,14 @@
2020
"value": "{color.stroke.interactive.primary.base}",
2121
"type": "color"
2222
},
23+
"primaryHoverBorderColor": {
24+
"value": "{color.stroke.interactive.primary.hover}",
25+
"type": "color"
26+
},
27+
"primaryActiveBorderColor": {
28+
"value": "{color.stroke.interactive.primary.active}",
29+
"type": "color"
30+
},
2331
"primaryDisabledBorderColor": {
2432
"value": "{color.stroke.interactive.primary.disabled}",
2533
"type": "color"
@@ -52,6 +60,14 @@
5260
"value": "{color.stroke.interactive.secondary.base}",
5361
"type": "color"
5462
},
63+
"secondaryHoverBorderColor": {
64+
"value": "{color.stroke.interactive.secondary.hover}",
65+
"type": "color"
66+
},
67+
"secondaryActiveBorderColor": {
68+
"value": "{color.stroke.interactive.secondary.active}",
69+
"type": "color"
70+
},
5571
"secondaryIconColor": {
5672
"value": "{color.icon.interactive.secondary.base}",
5773
"type": "color"

packages/ui-scripts/lib/build/tokensStudio/rebrand/semantic/color/rebrandLight.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -328,15 +328,15 @@
328328
},
329329
"secondary": {
330330
"base": {
331-
"value": "{color.grey.grey70}",
331+
"value": "{color.blue.blue10}",
332332
"type": "color"
333333
},
334334
"hover": {
335-
"value": "{color.grey.grey60}",
335+
"value": "{color.blue.blue20}",
336336
"type": "color"
337337
},
338338
"active": {
339-
"value": "{color.grey.grey80}",
339+
"value": "{color.blue.blue20}",
340340
"type": "color"
341341
},
342342
"disabled": {
@@ -494,15 +494,15 @@
494494
},
495495
"secondary": {
496496
"base": {
497-
"value": "{color.blue.blue70}",
497+
"value": "{color.blue.blue90}",
498498
"type": "color"
499499
},
500500
"hover": {
501-
"value": "{color.blue.blue70}",
501+
"value": "{color.blue.blue90}",
502502
"type": "color"
503503
},
504504
"active": {
505-
"value": "{color.blue.blue70}",
505+
"value": "{color.blue.blue90}",
506506
"type": "color"
507507
},
508508
"disabled": {
@@ -636,19 +636,19 @@
636636
},
637637
"secondary": {
638638
"base": {
639-
"value": "{color.grey.grey100}",
639+
"value": "{color.blue.blue90}",
640640
"type": "color"
641641
},
642642
"hover": {
643-
"value": "{color.grey.grey100}",
643+
"value": "{color.blue.blue90}",
644644
"type": "color"
645645
},
646646
"active": {
647-
"value": "{color.grey.grey100}",
647+
"value": "{color.blue.blue90}",
648648
"type": "color"
649649
},
650650
"disabled": {
651-
"value": "{color.grey.grey50}",
651+
"value": "{color.blue.blue40}",
652652
"type": "color"
653653
}
654654
},

0 commit comments

Comments
 (0)