feat: modify style & add edgeless toolbar

This commit is contained in:
QiShaoXuan
2022-10-20 18:55:03 +08:00
parent 1c3fb798de
commit 06657596ff
17 changed files with 608 additions and 130 deletions
@@ -1,4 +1,4 @@
import { keyframes, styled } from '@/styles';
import { displayFlex, keyframes, styled } from '@/styles';
import { CSSProperties } from 'react';
// @ts-ignore
import spring, { toString } from 'css-spring';
@@ -56,11 +56,9 @@ export const StyledSwitchItem = styled('div')<{
return {
width: '32px',
height: '32px',
display: 'flex',
position: 'absolute',
left: '0',
justifyContent: 'center',
alignItems: 'center',
...displayFlex('center', 'center'),
cursor: 'pointer',
...activeStyle,
};