opti: style improve of sidebar and topbar #572;

This commit is contained in:
mitsuhatu
2022-07-27 17:40:42 +08:00
parent 9f0064978d
commit 7820fd7b34
11 changed files with 90 additions and 33 deletions

View File

@@ -1,6 +1,6 @@
// Base abstract feature for all UI components
export { Theme, useTheme, withTheme, ThemeProvider } from './theme';
export { styled } from './styled';
export { styled, keyframes } from './styled';
export type { SxProps } from './styled';
export * from './mui';

View File

@@ -1,5 +1,5 @@
// eslint-disable-next-line no-restricted-imports
import { styled as muiStyled } from '@mui/material/styles';
import { styled as muiStyled, keyframes } from '@mui/material/styles';
import { ReactHTML, ReactSVG } from 'react';
import isPropValid from '@emotion/is-prop-valid';
export type { SxProps } from '@mui/system';
@@ -71,3 +71,5 @@ export const styled: typeof muiStyled = (
options.shouldForwardProp = isValidProp;
return muiStyled(component, options);
};
export { keyframes };