forked from sombochea/verdaccio-ui
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>
19 lines
368 B
TypeScript
19 lines
368 B
TypeScript
import { css } from '@emotion/core';
|
|
|
|
import { theme } from '../design-tokens/theme';
|
|
|
|
export const alertError = css({
|
|
backgroundColor: `${theme.palette.red} !important`,
|
|
minWidth: 'inherit !important',
|
|
});
|
|
|
|
export const alertErrorMsg = css({
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
});
|
|
|
|
export const alertIcon = css({
|
|
opacity: 0.9,
|
|
marginRight: '8px',
|
|
});
|