@@ -85,96 +85,6 @@ const propertySizeTemplate = (property: any) => html` <uui-table-row>
85
85
</ uui-table-cell >
86
86
</ uui-table-row > `;
87
87
88
- export const Looks = ( ) => html ` < h2 > Looks</ h2 >
89
- < p >
90
- These are used to overwrite selected interface properties to get a specific
91
- look.
92
- </ p >
93
-
94
- < h3 > Primary Look</ h3 >
95
- < uui-table @click =${ copyToClipboard } >
96
- < uui-table-head >
97
- < uui-table-head-cell > Custom property name</ uui-table-head-cell >
98
- < uui-table-head-cell > Value</ uui-table-head-cell >
99
- < uui-table-head-cell > Example</ uui-table-head-cell >
100
- </ uui-table-head >
101
- ${ properties
102
- . filter ( property => property . key . includes ( 'look-primary' ) )
103
- . map ( property => propertyColorTemplate ( property ) ) }
104
- </ uui-table >
105
-
106
- < h3 > Secondary Look</ h3 >
107
- < uui-table >
108
- < uui-table-head >
109
- < uui-table-head-cell > Custom property name</ uui-table-head-cell >
110
- < uui-table-head-cell > Value</ uui-table-head-cell >
111
- < uui-table-head-cell > Example</ uui-table-head-cell >
112
- </ uui-table-head >
113
- ${ properties
114
- . filter ( property => property . key . includes ( 'look-secondary' ) )
115
- . map ( property => propertyColorTemplate ( property ) ) }
116
- </ uui-table >
117
-
118
- < h3 > Positive Look</ h3 >
119
- < uui-table >
120
- < uui-table-head >
121
- < uui-table-head-cell > Custom property name</ uui-table-head-cell >
122
- < uui-table-head-cell > Value</ uui-table-head-cell >
123
- < uui-table-head-cell > Example</ uui-table-head-cell >
124
- </ uui-table-head >
125
- ${ properties
126
- . filter ( property => property . key . includes ( 'look-positive' ) )
127
- . map ( property => propertyColorTemplate ( property ) ) }
128
- </ uui-table >
129
-
130
- < h3 > Warning Look</ h3 >
131
- < uui-table >
132
- < uui-table-head >
133
- < uui-table-head-cell > Custom property name</ uui-table-head-cell >
134
- < uui-table-head-cell > Value</ uui-table-head-cell >
135
- < uui-table-head-cell > Example</ uui-table-head-cell >
136
- </ uui-table-head >
137
- ${ properties
138
- . filter ( property => property . key . includes ( 'look-warning' ) )
139
- . map ( property => propertyColorTemplate ( property ) ) }
140
- </ uui-table >
141
-
142
- < h3 > Danger Look</ h3 >
143
- < uui-table >
144
- < uui-table-head >
145
- < uui-table-head-cell > Custom property name</ uui-table-head-cell >
146
- < uui-table-head-cell > Value</ uui-table-head-cell >
147
- < uui-table-head-cell > Example</ uui-table-head-cell >
148
- </ uui-table-head >
149
- ${ properties
150
- . filter ( property => property . key . includes ( 'look-danger' ) )
151
- . map ( property => propertyColorTemplate ( property ) ) }
152
- </ uui-table >
153
-
154
- < h3 > Placeholder Look</ h3 >
155
- < uui-table >
156
- < uui-table-head >
157
- < uui-table-head-cell > Custom property name</ uui-table-head-cell >
158
- < uui-table-head-cell > Value</ uui-table-head-cell >
159
- < uui-table-head-cell > Example</ uui-table-head-cell >
160
- </ uui-table-head >
161
- ${ properties
162
- . filter ( property => property . key . includes ( 'look-placeholder' ) )
163
- . map ( property => propertyColorTemplate ( property ) ) }
164
- </ uui-table >
165
-
166
- < h3 > OutLine Look</ h3 >
167
- < uui-table >
168
- < uui-table-head >
169
- < uui-table-head-cell > Custom property name</ uui-table-head-cell >
170
- < uui-table-head-cell > Value</ uui-table-head-cell >
171
- < uui-table-head-cell > Example</ uui-table-head-cell >
172
- </ uui-table-head >
173
- ${ properties
174
- . filter ( property => property . key . includes ( 'look-outline' ) )
175
- . map ( property => propertyColorTemplate ( property ) ) }
176
- </ uui-table > ` ;
177
-
178
88
export const InterfaceColors = ( ) => html `
179
89
< p >
180
90
THe UI Library components use predefined custom properties.If you want your
@@ -189,12 +99,12 @@ export const InterfaceColors = () => html`
189
99
< uui-table-head-cell > Example</ uui-table-head-cell >
190
100
</ uui-table-head >
191
101
${ properties
192
- . filter ( property => property . key . includes ( 'interface ' ) )
102
+ . filter ( property => property . key . includes ( 'color ' ) )
193
103
. map ( property => propertyColorTemplate ( property ) ) }
194
104
</ uui-table >
195
105
` ;
196
106
197
- export const BrandColors = ( ) => html `< h2 > Colors</ h2 >
107
+ export const BrandPalette = ( ) => html `< h2 > Colors</ h2 >
198
108
< p >
199
109
We provide all the Umbraco Identity colors as css custom properties, but we
200
110
do not recommend using those directly. All interface should be based on
@@ -208,7 +118,7 @@ export const BrandColors = () => html`<h2>Colors</h2>
208
118
< uui-table-head-cell > Example</ uui-table-head-cell >
209
119
</ uui-table-head >
210
120
${ properties
211
- . filter ( property => property . key . includes ( 'color ' ) )
121
+ . filter ( property => property . key . includes ( 'palette ' ) )
212
122
. map ( property => propertyColorTemplate ( property ) ) }
213
123
</ uui-table > ` ;
214
124
0 commit comments