@@ -22,7 +22,7 @@ const Label = styled("div", {
22
22
export default function ThemeAndSemantic ( ) {
23
23
return (
24
24
< Layout >
25
- < Box >
25
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
26
26
< Label css = { { color : theme . colors . onBackground } } >
27
27
Primary (-hover)
28
28
</ Label >
@@ -48,8 +48,10 @@ export default function ThemeAndSemantic() {
48
48
</ Label >
49
49
</ Container >
50
50
</ Box >
51
- < Box >
52
- < Label css = { { color : theme . colors . onBackground } } > Secondary</ Label >
51
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
52
+ < Label css = { { color : theme . colors . onBackground } } >
53
+ Secondary (-hover)
54
+ </ Label >
53
55
< Container
54
56
css = { {
55
57
border : `1px solid ${ theme . colors . outline } ` ,
@@ -73,7 +75,7 @@ export default function ThemeAndSemantic() {
73
75
</ Container >
74
76
</ Box >
75
77
< Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
76
- < Label css = { { color : theme . colors . onBackground } } > Cta</ Label >
78
+ < Label css = { { color : theme . colors . onBackground } } > Cta (-hover) </ Label >
77
79
< Container
78
80
css = { {
79
81
height : "100%" ,
@@ -91,7 +93,7 @@ export default function ThemeAndSemantic() {
91
93
</ Label >
92
94
</ Container >
93
95
</ Box >
94
- < Box >
96
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
95
97
< Label css = { { color : theme . colors . onBackground } } > ctaContainer</ Label >
96
98
< Container
97
99
css = { {
@@ -113,7 +115,45 @@ export default function ThemeAndSemantic() {
113
115
</ Label >
114
116
</ Container >
115
117
</ Box >
116
- < Box >
118
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
119
+ < Label css = { { color : theme . colors . onBackground } } >
120
+ Opinions (-hover)
121
+ </ Label >
122
+ < Container
123
+ css = { {
124
+ border : `1px solid ${ theme . colors . outline } ` ,
125
+ background : theme . colors . opinions ,
126
+ transition : "background .15s" ,
127
+ "&:hover" : {
128
+ background : theme . colors [ "opinions-hover" ] ,
129
+ } ,
130
+ } }
131
+ >
132
+ < Label css = { { color : theme . colors . onOpinions } } > onOpinons</ Label >
133
+ < Label css = { { color : theme . colors [ "onOpinions-hover" ] } } >
134
+ onOpinons-hover
135
+ </ Label >
136
+ </ Container >
137
+ </ Box >
138
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
139
+ < Label css = { { color : theme . colors . onBackground } } >
140
+ opinionsContainer
141
+ </ Label >
142
+ < Container
143
+ css = { {
144
+ border : `1px solid ${ theme . colors . opinions } ` ,
145
+ background : theme . colors . opinionsContainer ,
146
+ } }
147
+ >
148
+ < Label css = { { color : theme . colors . onOpinionsContainer } } >
149
+ onOpinionsContainer
150
+ </ Label >
151
+ < Label css = { { color : theme . colors [ "onOpinionsContainer-hover" ] } } >
152
+ onOpinons-hover
153
+ </ Label >
154
+ </ Container >
155
+ </ Box >
156
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
117
157
< Label css = { { color : theme . colors . onBackground } } > Background</ Label >
118
158
< Container
119
159
css = { {
@@ -133,7 +173,7 @@ export default function ThemeAndSemantic() {
133
173
</ Label >
134
174
</ Container >
135
175
</ Box >
136
- < Box >
176
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
137
177
< Label css = { { color : theme . colors . onBackground } } >
138
178
Background-forSurfaces
139
179
</ Label >
@@ -155,7 +195,7 @@ export default function ThemeAndSemantic() {
155
195
</ Label >
156
196
</ Container >
157
197
</ Box >
158
- < Box >
198
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
159
199
< Label css = { { color : theme . colors . onBackground } } > Surface</ Label >
160
200
< Container
161
201
css = { {
@@ -171,7 +211,7 @@ export default function ThemeAndSemantic() {
171
211
</ Label >
172
212
</ Container >
173
213
</ Box >
174
- < Box >
214
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
175
215
< Label css = { { color : theme . colors . onBackground } } >
176
216
Surface-highest
177
217
</ Label >
@@ -210,7 +250,7 @@ export default function ThemeAndSemantic() {
210
250
</ Label >
211
251
</ Container >
212
252
</ Box >
213
- < Box >
253
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
214
254
< Label css = { { color : theme . colors . onBackground } } > errorContainer</ Label >
215
255
< Container
216
256
css = { {
@@ -236,7 +276,7 @@ export default function ThemeAndSemantic() {
236
276
</ Label >
237
277
</ Container >
238
278
</ Box >
239
- < Box >
279
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
240
280
< Label css = { { color : theme . colors . onBackground } } >
241
281
successContainer
242
282
</ Label >
@@ -264,7 +304,7 @@ export default function ThemeAndSemantic() {
264
304
</ Label >
265
305
</ Container >
266
306
</ Box >
267
- < Box >
307
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
268
308
< Label css = { { color : theme . colors . onBackground } } >
269
309
warningContainer
270
310
</ Label >
@@ -292,7 +332,7 @@ export default function ThemeAndSemantic() {
292
332
</ Label >
293
333
</ Container >
294
334
</ Box >
295
- < Box >
335
+ < Box css = { { display : "flex" , flexDirection : "column" , height : "100%" } } >
296
336
< Label css = { { color : theme . colors . onBackground } } >
297
337
signalContainer
298
338
</ Label >
0 commit comments