|
| 1 | +import {themeTokens, themeVars} from '@codeui/kit'; |
| 2 | +import {style} from '@vanilla-extract/css'; |
| 3 | + |
| 4 | +export const profileBox = style({ |
| 5 | + backgroundColor: themeVars.formAccent, |
| 6 | + padding: themeTokens.spacing['4'], |
| 7 | + borderRadius: themeTokens.radii.md, |
| 8 | + gap: themeTokens.spacing['4'], |
| 9 | + display: 'flex', |
| 10 | + alignItems: 'center', |
| 11 | +}); |
| 12 | + |
| 13 | +export const passkeysBox = style({ |
| 14 | + marginTop: themeTokens.spacing['4'], |
| 15 | + backgroundColor: themeVars.formAccent, |
| 16 | + padding: themeTokens.spacing['4'], |
| 17 | + borderRadius: themeTokens.radii.md, |
| 18 | +}); |
| 19 | + |
| 20 | +export const passkeysBoxTitle = style({ |
| 21 | + display: 'flex', |
| 22 | + justifyContent: 'space-between', |
| 23 | + alignItems: 'center', |
| 24 | + marginBottom: themeTokens.spacing['4'], |
| 25 | +}); |
| 26 | + |
| 27 | +export const passkeysList = style({ |
| 28 | + display: 'flex', |
| 29 | + flexDirection: 'column', |
| 30 | + borderRadius: themeTokens.radii.sm, |
| 31 | + background: themeVars.formAccentBorder, |
| 32 | +}); |
| 33 | + |
| 34 | +export const passkeyItem = style({ |
| 35 | + height: '42px', |
| 36 | + display: 'flex', |
| 37 | + alignItems: 'center', |
| 38 | + paddingLeft: themeTokens.spacing['3'], |
| 39 | + paddingRight: themeTokens.spacing['3'], |
| 40 | + justifyContent: 'space-between', |
| 41 | + |
| 42 | + selectors: { |
| 43 | + '&:not(:last-child)': { |
| 44 | + borderBottom: `1px solid ${themeVars.separator}`, |
| 45 | + }, |
| 46 | + }, |
| 47 | +}); |
0 commit comments