diff --git a/ui/frontend/build_src/src/components/_recipes/card.css.ts b/ui/frontend/build_src/src/components/_recipes/card.css.ts index b5a609f3..07814460 100644 --- a/ui/frontend/build_src/src/components/_recipes/card.css.ts +++ b/ui/frontend/build_src/src/components/_recipes/card.css.ts @@ -3,12 +3,25 @@ import { vars } from "../../styles/theme/index.css"; export const card = recipe({ base: { - background: vars.colors.background, + // background: vars.colors.background, color: vars.colors.text.normal, padding: vars.spacing.medium, borderRadius: vars.trim.smallBorderRadius, }, variants: { + + baking: { + normal: { + background: vars.backgroundMain, + }, + light: { + background: vars.backgroundLight, + }, + dark: { + background: vars.backgroundDark, + }, + }, + level: { 1: { boxShadow: "0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.15)" }, 2: { boxShadow: "0 4px 8px 0 rgba(0, 0, 0, 0.15), 0 6px 20px 0 rgba(0, 0, 0, 0.15)" }, @@ -16,6 +29,7 @@ export const card = recipe({ }, }, defaultVariants: { + baking: "light", level: 1, }, }); diff --git a/ui/frontend/build_src/src/components/_recipes/tabs_headless.css.ts b/ui/frontend/build_src/src/components/_recipes/tabs_headless.css.ts new file mode 100644 index 00000000..e69de29b diff --git a/ui/frontend/build_src/src/components/layouts/CreationTabs/index.tsx b/ui/frontend/build_src/src/components/layouts/CreationTabs/index.tsx index a8d25021..39d62eca 100644 --- a/ui/frontend/build_src/src/components/layouts/CreationTabs/index.tsx +++ b/ui/frontend/build_src/src/components/layouts/CreationTabs/index.tsx @@ -8,6 +8,10 @@ import { CreationTabsMain } from "./creationTabs.css"; +import { + card as cardStyle +} from "../../_recipes/card.css"; + export default function CreationTabs() { return ( @@ -16,7 +20,9 @@ export default function CreationTabs() { Create Queue - + diff --git a/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/seedImage/index.tsx b/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/seedImage/index.tsx index 4bd01fd1..01bf2ea9 100644 --- a/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/seedImage/index.tsx +++ b/ui/frontend/build_src/src/components/organisms/creationPanel/basicCreation/seedImage/index.tsx @@ -102,4 +102,4 @@ export default function SeedImage(_props: any) { ); -} +} \ No newline at end of file diff --git a/ui/frontend/build_src/src/styles/theme/index.css.ts b/ui/frontend/build_src/src/styles/theme/index.css.ts index bb3c5f12..d0fdbb1f 100644 --- a/ui/frontend/build_src/src/styles/theme/index.css.ts +++ b/ui/frontend/build_src/src/styles/theme/index.css.ts @@ -102,6 +102,10 @@ const app = createGlobalTheme(":root", { }, colors, + backgroundMain: 'hsl(0, 0%, 30%)', + backgroundLight: 'hsl(0, 0%, 50%)', + backgroundDark: 'hsl(0, 0%, 20%)', + brandHue: '265', secondaryHue: '54', tertiaryHue: '116',