Skip to content

Commit

Permalink
prog; finished dial styling
Browse files Browse the repository at this point in the history
  • Loading branch information
AZProductions committed Jan 7, 2024
1 parent 9811a17 commit 232e1cb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/toybox_c1200_ui/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function RootLayout({
<html lang="en">
<body onContextMenu={(e) => e.preventDefault()}>
<StyledJsxRegistry>
<ConfigProvider>{children}</ConfigProvider>
<ConfigProvider themeType={"dark"}>{children}</ConfigProvider>
</StyledJsxRegistry>
</body>
</html>
Expand Down
3 changes: 1 addition & 2 deletions packages/toybox_c1200_ui/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export default function Home() {
style={{ padding: "10px", gap: "10px" }}
>
<Grid xs={4}>
<Module name="Filter">hello<KnobDecorative valueDefault={74} value01={1}/></Module>
<Module name="Filter">hello<KnobDecorative valueDefault={74} value01={1} /></Module>
</Grid>
<Grid xs={4}>
<Module name="Vibrato"></Module>
Expand All @@ -191,7 +191,6 @@ const Module: React.FC<ModuleProps> = ({ children, name }) => {
const { SCALES } = useScale();
return (
<Card
shadow
style={{
height: "100%",
width: "100%",
Expand Down
2 changes: 1 addition & 1 deletion packages/toybox_c1200_ui/lib/KnobBaseThumb.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function KnobBaseThumb({ value01 }: KnobBaseThumbProps) {
height: "100%",
position: "absolute",
filter: "drop-shadow(0px 0px 5px " + UItheme.palette.background + ")",
background: "linear-gradient(to bottom, "+UItheme.palette.accents_2+", #2f2f2f)",
background: "linear-gradient(to bottom, "+UItheme.palette.accents_2+", "+UItheme.palette.accents_1+")",
}}
>
<div
Expand Down

0 comments on commit 232e1cb

Please sign in to comment.