+
Color
+ ${repeat(colors, color => {
+ const isDefault = color === 'default';
+ const value = isDefault
+ ? null
+ : `var(${prefix}-foreground-${color})`;
+ return html`
+
updateHighlight({ color: value })}
+ >
+ ${TextColorIcon({ style: `color: ${value ?? 'unset'}` })}
+ ${isDefault ? `${color} color` : color}
+
+ `;
+ })}
+
+
Background
+ ${repeat(colors, color => {
+ const isDefault = color === 'default';
+ const value = isDefault ? null : `var(${prefix}-${color})`;
+ return html`
+
updateHighlight({ background: value })}
+ >
+ ${TextBackgroundDuotoneIcon({
+ style: `color: ${value ?? 'transparent'}`,
+ })}
+ ${isDefault ? `${color} background` : color}
+
+ `;
+ })}
+
+