mirror of
https://github.com/SomboChea/ui
synced 2024-05-03 18:11:36 +07:00
111f0c50e5
* chore: updated emotion dependency * feat: introduced theme * refactor: updated emotion styles * fix: fixed emotion error * fix: fixed tests * chore: add missing types Co-Authored-By: Thomas Klein <tmkn@users.noreply.github.com>
24 lines
459 B
TypeScript
24 lines
459 B
TypeScript
import { css } from 'emotion';
|
|
|
|
import { theme } from '../../design-tokens/theme';
|
|
|
|
export const loginDialog = css({
|
|
minWidth: '300px',
|
|
});
|
|
|
|
export const loginError = css({
|
|
backgroundColor: `${theme.palette.red} !important`,
|
|
minWidth: 'inherit !important',
|
|
marginBottom: '10px !important',
|
|
});
|
|
|
|
export const loginErrorMsg = css({
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
});
|
|
|
|
export const loginIcon = css({
|
|
opacity: 0.9,
|
|
marginRight: '8px',
|
|
});
|