Skip to content

Commit c0280b5

Browse files
fix(ui): align passkeys with shared messages and color tokens
1 parent cbe89bb commit c0280b5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎packages/ui/src/mosaic/features/user-profile/user-profile-passkey-row.view.tsx‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { Dialog } from '../../components/dialog';
55
import { Icon, IconFrame } from '../../components/icon';
66
import { Section } from '../../components/section';
77
import { colorVars } from '../../tokens.stylex';
8-
import { fill } from './user-profile-account-section/user-profile-account-section.messages';
8+
import { fill } from '../../utils/messages';
99
import type { UserProfileMenuAction } from './user-profile-action-menu';
1010
import { UserProfileActionMenu } from './user-profile-action-menu';
1111
import { userProfilePasskeysMessages as m } from './user-profile-passkeys-section.messages';
@@ -117,6 +117,6 @@ export function UserProfilePasskeyRowView({
117117

118118
const styles = stylex.create({
119119
icon: {
120-
color: colorVars['--cl-color-neutral-faded'],
120+
color: colorVars['--cl-color-foreground-secondary'],
121121
},
122122
});

‎packages/ui/src/mosaic/features/user-profile/user-profile-passkeys-section.view.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Confirmation } from '../../blocks/confirmation';
44
import { Button } from '../../components/button';
55
import { Icon } from '../../components/icon';
66
import { Section } from '../../components/section';
7-
import { fill } from './user-profile-account-section/user-profile-account-section.messages';
7+
import { fill } from '../../utils/messages';
88
import { UserProfilePasskeyRowView } from './user-profile-passkey-row.view';
99
import { userProfilePasskeysMessages as m } from './user-profile-passkeys-section.messages';
1010

0 commit comments

Comments
 (0)