style: 外观改进。

This commit is contained in:
2023-01-19 23:54:03 +08:00
parent d3dfdb4d82
commit af671a4e63
3 changed files with 7 additions and 7 deletions

View File

@ -70,7 +70,7 @@ export const DraggableStrip: FC<DraggableStripProp> = ({
<span
ref={ref}
key={i}
tw="opacity-30 bg-red-500 h-full w-full border border-yellow-400"
tw=" h-full w-full"
css={css`
grid-column-start: ${i + 1};
grid-row-start: ${index + 1};

View File

@ -17,8 +17,8 @@ const StyledContainer = styled.section(
const StyledButton = styled.button(
tw`
bg-yellow-500 rounded-full h-4 w-4 text-xs shadow select-none`,
tw`hocus:scale-105 hocus:active:scale-95 active:bg-amber-600`,
bg-yellow-500 dark:bg-amber-600 rounded-full h-4 w-4 text-xs shadow select-none`,
tw`hocus:scale-105 hocus:active:scale-95 active:bg-amber-600 active:dark:bg-amber-500`,
);
export const LedStripEditor: FC<LedStripEditorProps> = ({