Skip to content

Commit d4a5e6c

Browse files
committed
chore(ui-avatar): remove icon token usage from avatar
1 parent a2a8ffb commit d4a5e6c

File tree

1 file changed

+18
-12
lines changed

1 file changed

+18
-12
lines changed

packages/ui-avatar/src/Avatar/styles.ts

Lines changed: 18 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -112,33 +112,39 @@ const generateStyle = (
112112
const colorVariants = {
113113
accent1: {
114114
text: componentTheme.accent1TextColor,
115-
background: componentTheme.accent1BackgroundColor,
116-
icon: componentTheme.accent1IconColor
115+
background: componentTheme.accent1BackgroundColor
116+
//TODO-rework add icon handling
117+
// icon: componentTheme.accent1IconColor
117118
},
118119
accent2: {
119120
text: componentTheme.accent2TextColor,
120-
background: componentTheme.accent2BackgroundColor,
121-
icon: componentTheme.accent2IconColor
121+
background: componentTheme.accent2BackgroundColor
122+
//TODO-rework add icon handling
123+
// icon: componentTheme.accent2IconColor
122124
},
123125
accent3: {
124126
text: componentTheme.accent3TextColor,
125-
background: componentTheme.accent3BackgroundColor,
126-
icon: componentTheme.accent3IconColor
127+
background: componentTheme.accent3BackgroundColor
128+
//TODO-rework add icon handling
129+
// icon: componentTheme.accent3IconColor
127130
},
128131
accent4: {
129132
text: componentTheme.accent4TextColor,
130-
background: componentTheme.accent4BackgroundColor,
131-
icon: componentTheme.accent4IconColor
133+
background: componentTheme.accent4BackgroundColor
134+
//TODO-rework add icon handling
135+
// icon: componentTheme.accent4IconColor
132136
},
133137
accent5: {
134138
text: componentTheme.accent5TextColor,
135-
background: componentTheme.accent5BackgroundColor,
136-
icon: componentTheme.accent5IconColor
139+
background: componentTheme.accent5BackgroundColor
140+
//TODO-rework add icon handling
141+
// icon: componentTheme.accent5IconColor
137142
},
138143
accent6: {
139144
text: componentTheme.accent6TextColor,
140-
background: componentTheme.accent6BackgroundColor,
141-
icon: componentTheme.accent6IconColor
145+
background: componentTheme.accent6BackgroundColor
146+
//TODO-rework add icon handling
147+
// icon: componentTheme.accent6IconColor
142148
},
143149
ai: {
144150
text: componentTheme.textOnColor,

0 commit comments

Comments
 (0)