update to use tokens, small fixes

This commit is contained in:
mulan xia
2024-01-23 11:32:56 -05:00
parent 1e9209028e
commit b32a6c8c05
15 changed files with 175 additions and 304 deletions
@@ -44,6 +44,7 @@ export const TradeSideToggle = memo(() => {
const ToggleContainer = styled(ToggleGroup)<{ value: OrderSide }>`
--toggle-radius: 0.5em;
--toggle-color: var(--color-negative);
--toggle-background: ${({ theme }) => theme.toggleBackground};
${({ value }) =>
value === OrderSide.BUY &&
@@ -52,7 +53,7 @@ const ToggleContainer = styled(ToggleGroup)<{ value: OrderSide }>`
`}
border-radius: var(--toggle-radius);
background-color: var(--color-layer-4);
background-color: var(--toggle-background);
position: relative;
> button {