@aws-amplify/ui
Version:
`@aws-amplify/ui` contains low-level logic & styles for stand-alone usage or re-use in framework-specific implementations.
40 lines (38 loc) • 1.2 kB
JavaScript
const authenticator = {
maxWidth: { value: '60rem' },
modal: {
width: { value: '{space.relative.full}' },
height: { value: '{space.relative.full}' },
backgroundColor: { value: '{colors.overlay.50.value}' },
top: { value: '{space.zero}' },
left: { value: '{space.zero}' },
},
container: {
widthMax: { value: '30rem' },
},
router: {
borderWidth: { value: '{borderWidths.small.value}' },
borderStyle: { value: 'solid' },
borderColor: { value: '{colors.border.primary.value}' },
backgroundColor: { value: '{colors.background.primary.value}' },
boxShadow: { value: '{shadows.medium.value}' },
},
footer: {
paddingBottom: { value: '{space.medium.value}' },
},
form: {
padding: { value: '{space.xl.value}' },
},
state: {
inactive: {
backgroundColor: { value: '{colors.background.secondary.value}' },
},
},
orContainer: {
color: { value: '{colors.neutral.80.value}' },
orLine: {
backgroundColor: { value: '{colors.background.primary.value}' },
},
},
};
export { authenticator };