diff --git a/apps/_components/src/Container/Container.module.css b/apps/_components/src/Container/Container.module.css index 4ef709ae9d..dab0853570 100644 --- a/apps/_components/src/Container/Container.module.css +++ b/apps/_components/src/Container/Container.module.css @@ -1,5 +1,5 @@ .container { - max-width: var(--grid-max-width, 1620px); + max-width: var(--grid-max-width, 1500px); margin: 0 auto; width: 100%; padding-left: var(--grid-padding, 16px); diff --git a/apps/_components/src/Header/Header.module.css b/apps/_components/src/Header/Header.module.css index 22f4fc7911..ed54bcb90f 100644 --- a/apps/_components/src/Header/Header.module.css +++ b/apps/_components/src/Header/Header.module.css @@ -5,7 +5,6 @@ position: relative; z-index: 5; background-color: var(--ds-color-neutral-background-default); - [data-ds-color-mode='dark'] &, [data-ds-color-mode='auto'] & { background-color: var(--ds-color-neutral-background-subtle); diff --git a/apps/theme/app/globals.css b/apps/theme/app/globals.css index b5b9d14202..5abb51798c 100644 --- a/apps/theme/app/globals.css +++ b/apps/theme/app/globals.css @@ -31,6 +31,40 @@ code { border-radius: 2px; } -.content { - min-height: 100vh; +[data-theme='two'] { + --ds-color-accent-base-default: red; +} + +.panelContainer { + display: flex; +} + +.panelLeft { + display: flex; + flex-direction: column; + gap: 12px; + width: 420px; + padding: 28px; + border-right: 1px solid var(--ds-color-neutral-border-subtle); + position: relative; +} + +.panelRight { + display: grid; + grid-template-columns: repeat(1, 1fr); + grid-auto-rows: min-content; + width: 100%; + gap: 12px; + padding: 28px; + background-color: var(--ds-color-neutral-background-subtle); + border-radius: 0 8px 8px 0; +} + +.panelBottom { + left: 0; + right: 0; + bottom: 0; + padding: 28px; + position: absolute; + border-top: 1px solid var(--ds-color-neutral-border-subtle); } diff --git a/apps/theme/app/layout.tsx b/apps/theme/app/layout.tsx index 57cefa9803..7bcc5798dc 100644 --- a/apps/theme/app/layout.tsx +++ b/apps/theme/app/layout.tsx @@ -2,8 +2,10 @@ import type { Metadata } from 'next'; import './globals.css'; import '@digdir/designsystemet-css'; import '@digdir/designsystemet-theme'; +import 'react-color-palette/css'; import { EnvelopeClosedIcon } from '@navikt/aksel-icons'; import { Figma, Footer, Github, Header, Slack } from '@repo/components'; +import { ThemeWrapper } from '../components/ThemeWrapper/ThemeWrapper'; export const metadata: Metadata = { title: 'Temabygger - Designsystemet', @@ -67,9 +69,11 @@ export default function RootLayout({ return ( -
-
{children}
-