Skip to content

Commit 4126767

Browse files
fix(mosaic): keep filled icon frames tinted on row hover (#10423)
1 parent 05b08b3 commit 4126767

3 files changed

Lines changed: 10 additions & 2 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/mosaic': patch
3+
---
4+
5+
Filled icon frames now use a translucent background, so they darken with the row on hover instead of showing as a lighter patch. The reverification method picker's icon frames no longer have a border.

‎packages/mosaic/src/components/icon/icon-frame.styles.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const styles = stylex.create({
2020
borderColor: colorVars['--cl-color-border'],
2121
},
2222
filled: {
23-
backgroundColor: colorVars['--cl-color-background-subtle'],
23+
backgroundColor: colorVars['--cl-color-neutral-alpha-100'],
2424
},
2525
});
2626

‎packages/mosaic/src/features/reverification/steps/reverification-method-picker.tsx‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,10 @@ export function ReverificationMethodPicker({
7979
}
8080
>
8181
<Item.Media>
82-
<IconFrame filled>
82+
<IconFrame
83+
filled
84+
bordered={false}
85+
>
8386
<Icon glyph={method.icon} />
8487
</IconFrame>
8588
</Item.Media>

0 commit comments

Comments
 (0)