From 8bc11b1258aa195ffe4f0e4934f0f47f3e5424f0 Mon Sep 17 00:00:00 2001 From: otenav Date: Mon, 12 Feb 2024 16:25:26 +0100 Subject: [PATCH] Remove dark theme hack --- src/packages/arbeidsplassen-theme/dark.css | 2 +- src/packages/arbeidsplassen-theme/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/packages/arbeidsplassen-theme/dark.css b/src/packages/arbeidsplassen-theme/dark.css index 188fb0f..5f162b3 100644 --- a/src/packages/arbeidsplassen-theme/dark.css +++ b/src/packages/arbeidsplassen-theme/dark.css @@ -1,5 +1,5 @@ @media (prefers-color-scheme: dark) { - [data-theme="arbeidsplassen-follow-os-settings"] { + [data-theme="arbeidsplassen-dark"] { color-scheme: dark; color: var(--a-text-default); background-color: var(--a-bg-default); diff --git a/src/packages/arbeidsplassen-theme/package.json b/src/packages/arbeidsplassen-theme/package.json index cf0625f..7fac22f 100644 --- a/src/packages/arbeidsplassen-theme/package.json +++ b/src/packages/arbeidsplassen-theme/package.json @@ -1,6 +1,6 @@ { "name": "@navikt/arbeidsplassen-theme", - "version": "5.5.13", + "version": "5.5.14", "main": "index.css", "private": false, "scripts": {