Skip to content

Commit deb2b41

Browse files
committed
chore: add rating tokens
1 parent fd615c8 commit deb2b41

File tree

3 files changed

+58
-0
lines changed

3 files changed

+58
-0
lines changed

packages/ui-scripts/lib/build/tokensStudio/$metadata.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"canvas/component/ProgressBar",
3838
"canvas/component/RadioInput",
3939
"canvas/component/RangeInput",
40+
"canvas/component/Rating",
4041
"canvas/component/SharedTokens",
4142
"canvas/component/SideNavBar",
4243
"canvas/component/SourceCodeEditor",
@@ -54,6 +55,7 @@
5455
"canvas/component/Tray",
5556
"canvas/component/TreeBrowser",
5657
"canvas/component/View",
58+
"rebrand/component/Rating",
5759
"rebrand/component/AiInformation",
5860
"rebrand/component/Alert",
5961
"rebrand/component/Avatar",
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"ratingIcon": {
3+
"iconMargin": {
4+
"value": "{spacing.space2xs}",
5+
"type": "spacing"
6+
},
7+
"iconEmptyColor": {
8+
"value": "{color.stroke.brand}",
9+
"type": "color"
10+
},
11+
"iconFilledColor": {
12+
"value": "{color.background.brand}",
13+
"type": "color"
14+
},
15+
"smallIconFontSize": {
16+
"value": "{icon.sizeSm}",
17+
"type": "sizing"
18+
},
19+
"mediumIconFontSize": {
20+
"value": "1.375rem",
21+
"type": "sizing"
22+
},
23+
"largeIconFontSize": {
24+
"value": "2.375rem",
25+
"type": "sizing"
26+
}
27+
}
28+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"ratingIcon": {
3+
"iconMargin": {
4+
"value": "{spacing.space2xs}",
5+
"type": "spacing"
6+
},
7+
"iconEmptyColor": {
8+
"value": "{color.stroke.brand}",
9+
"type": "color"
10+
},
11+
"iconFilledColor": {
12+
"value": "{color.background.brand}",
13+
"type": "color"
14+
},
15+
"smallIconFontSize": {
16+
"value": "{icon.sizeSm}",
17+
"type": "sizing"
18+
},
19+
"mediumIconFontSize": {
20+
"value": "1.375rem",
21+
"type": "sizing"
22+
},
23+
"largeIconFontSize": {
24+
"value": "2.375rem",
25+
"type": "sizing"
26+
}
27+
}
28+
}

0 commit comments

Comments
 (0)