Skip to content

Commit b85c964

Browse files
authored
Merge pull request #15 from instructure/v1.8.0
chore: net new banner
2 parents 1200a1b + eff1e79 commit b85c964

81 files changed

Lines changed: 593 additions & 267 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tokensStudio/$metadata.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"canvas/component/AppNav",
1010
"canvas/component/Avatar",
1111
"canvas/component/Badge",
12+
"canvas/component/Banner",
1213
"canvas/component/BaseButton",
1314
"canvas/component/Billboard",
1415
"canvas/component/Breadcrumb",
@@ -77,6 +78,7 @@
7778
"rebrand/component/AppNav",
7879
"rebrand/component/Avatar",
7980
"rebrand/component/Badge",
81+
"rebrand/component/Banner",
8082
"rebrand/component/BaseButton",
8183
"rebrand/component/Billboard",
8284
"rebrand/component/Breadcrumb",

tokensStudio/$themes.json

Lines changed: 160 additions & 60 deletions
Large diffs are not rendered by default.

tokensStudio/canvas/component/AiInformation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,4 @@
4949
"type": "spacing"
5050
}
5151
}
52-
}
52+
}

tokensStudio/canvas/component/Alert.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,4 +89,4 @@
8989
"type": "spacing"
9090
}
9191
}
92-
}
92+
}

tokensStudio/canvas/component/AppNav.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,4 +63,4 @@
6363
"type": "fontSizes"
6464
}
6565
}
66-
}
66+
}

tokensStudio/canvas/component/Avatar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,4 +161,4 @@
161161
"type": "borderRadius"
162162
}
163163
}
164-
}
164+
}

tokensStudio/canvas/component/Badge.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"type": "other"
5454
},
5555
"notificationZIndex": {
56-
"value": 1,
56+
"value": "1",
5757
"type": "number"
5858
},
5959
"pulseBorderThickness": {
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
{
2+
"banner": {
3+
"borderRadius": {
4+
"value": "{semantic.borderRadius.container.md}",
5+
"type": "borderRadius"
6+
},
7+
"relaxedIconBorderRadius": {
8+
"value": "{semantic.borderRadius.lg}",
9+
"type": "borderRadius"
10+
},
11+
"borderStyle": {
12+
"value": "solid",
13+
"type": "other"
14+
},
15+
"borderWidth": {
16+
"value": "{semantic.borderWidth.sm}",
17+
"type": "borderWidth"
18+
},
19+
"color": {
20+
"value": "{semantic.color.institutional.brandFontColorDark}",
21+
"type": "color"
22+
},
23+
"borderColor": {
24+
"value": "{semantic.color.stroke.strong}",
25+
"type": "color",
26+
"$extensions": {
27+
"studio.tokens": {
28+
"modify": {
29+
"type": "alpha",
30+
"value": "0.1",
31+
"space": "hsl"
32+
}
33+
}
34+
}
35+
},
36+
"iconColor": {
37+
"value": "{semantic.color.icon.onColor}",
38+
"type": "color"
39+
},
40+
"violetBackground": {
41+
"value": "{semantic.color.background.pastel.violet}",
42+
"type": "color"
43+
},
44+
"violetIconBackground": {
45+
"value": "{semantic.color.background.accent.violet}",
46+
"type": "color"
47+
},
48+
"seaBackground": {
49+
"value": "{semantic.color.background.pastel.sea}",
50+
"type": "color"
51+
},
52+
"seaIconBackground": {
53+
"value": "{semantic.color.background.accent.sea}",
54+
"type": "color"
55+
},
56+
"aiBackgroundTopGradientColor": {
57+
"value": "{semantic.color.background.interactive.action.aiSecondary.active.topGradient}",
58+
"type": "color"
59+
},
60+
"aiBackgroundBottomGradientColor": {
61+
"value": "{semantic.color.background.interactive.action.aiSecondary.active.bottomGradient}",
62+
"type": "color"
63+
},
64+
"relaxedPaddingVertical": {
65+
"value": "{semantic.spacing.spaceXl}",
66+
"type": "spacing"
67+
},
68+
"closeButtonMarginRight": {
69+
"value": "0.5rem",
70+
"type": "spacing"
71+
},
72+
"closeButtonMarginTop": {
73+
"value": "0.5rem",
74+
"type": "spacing"
75+
},
76+
"contentGapVertical": {
77+
"value": "{semantic.spacing.spaceMd}",
78+
"type": "spacing"
79+
},
80+
"relaxedPaddingHorizontal": {
81+
"value": "{semantic.spacing.spaceXl}",
82+
"type": "spacing"
83+
},
84+
"relaxedContentGapHorizontal": {
85+
"value": "{semantic.spacing.spaceLg}",
86+
"type": "spacing"
87+
},
88+
"compactContentGapHorizontal": {
89+
"value": "{semantic.spacing.spaceSm}",
90+
"type": "spacing"
91+
},
92+
"compactPaddingHorizontal": {
93+
"value": "{semantic.spacing.spaceMd}",
94+
"type": "spacing"
95+
},
96+
"compactPaddingVertical": {
97+
"value": "{semantic.spacing.spaceMd}",
98+
"type": "spacing"
99+
},
100+
"compactIconBorderRadius": {
101+
"value": "{semantic.borderRadius.md}",
102+
"type": "borderRadius"
103+
}
104+
}
105+
}

tokensStudio/canvas/component/Billboard.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@
7373
"type": "fontSizes"
7474
}
7575
}
76-
}
76+
}

tokensStudio/canvas/component/Breadcrumb.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
"type": "spacing"
1414
}
1515
}
16-
}
16+
}

0 commit comments

Comments
 (0)