diff --git a/aksel.nav.no/website/components/layout/sidebar/Sidebar.module.css b/aksel.nav.no/website/components/layout/sidebar/Sidebar.module.css new file mode 100644 index 0000000000..94eaeedcdd --- /dev/null +++ b/aksel.nav.no/website/components/layout/sidebar/Sidebar.module.css @@ -0,0 +1,8 @@ +.menuSection { + padding: var(--a-spacing-2); + border-radius: var(--a-border-radius-medium); +} + +.menuSection[data-type="darkside"] { + background-color: var(--ax-bg-brand-magenta-moderate); +} diff --git a/aksel.nav.no/website/components/layout/sidebar/Sidebar.tsx b/aksel.nav.no/website/components/layout/sidebar/Sidebar.tsx index f4c32ea2c4..10c261db78 100644 --- a/aksel.nav.no/website/components/layout/sidebar/Sidebar.tsx +++ b/aksel.nav.no/website/components/layout/sidebar/Sidebar.tsx @@ -3,6 +3,7 @@ import { Box, Show } from "@navikt/ds-react"; import { SidebarT } from "@/types"; import { StatusTag } from "@/web/StatusTag"; import { Menu, MenuHeading, MenuLi, MenuLink, MenuUl } from "@/web/menu/Menu"; +import styles from "./Sidebar.module.css"; const Sidebar = ({ kategori, @@ -21,7 +22,7 @@ const Sidebar = ({ className="w-sidebar shrink-0 self-start" > -