mirror of
https://github.com/roleypoly/roleypoly.git
synced 2025-06-17 09:59:10 +00:00
category skeleton
This commit is contained in:
parent
098a4133df
commit
28bebd531f
4 changed files with 59 additions and 36 deletions
|
@ -20,9 +20,9 @@ export const ToggleState = styled.div`
|
|||
export const ToggleSwitch = styled.div<{ state: boolean }>`
|
||||
display: inline-block;
|
||||
background-color: ${(props) => (props.state ? palette.green200 : 'rgba(0,0,0,0.45)')};
|
||||
height: 1.3em;
|
||||
width: 2.6em;
|
||||
border-radius: 1.3em;
|
||||
height: 1.375rem;
|
||||
width: 2.675rem;
|
||||
border-radius: 1.375rem;
|
||||
position: relative;
|
||||
border: 1px solid rgba(0, 0, 0, 0.1);
|
||||
top: 0.23em;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue