Skip to content

Commit 5216b18

Browse files
Barsnesmimarz
andauthored
style(Dialog): change background to surface (#3184)
Co-authored-by: Michael Marszalek <[email protected]>
1 parent 9587449 commit 5216b18

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/three-humans-poke.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@digdir/designsystemet-css": patch
3+
---
4+
5+
**Dialog**: Fix background to surface color variable

packages/css/src/dialog.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.ds-dialog {
22
--dsc-dialog-backdrop-background: rgb(0 0 0 / 0.5);
3-
--dsc-dialog-background: var(--ds-color-neutral-background-default);
3+
--dsc-dialog-background: var(--ds-color-neutral-surface-default);
44
--dsc-dialog-icon-spacing: var(--ds-size-3);
55
--dsc-dialog-icon-url: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' fill='none' viewBox='0 0 24 24' focusable='false' role='img'%3E%3Cpath fill='currentColor' d='M6.53 5.47a.75.75 0 0 0-1.06 1.06L10.94 12l-5.47 5.47a.75.75 0 1 0 1.06 1.06L12 13.06l5.47 5.47a.75.75 0 1 0 1.06-1.06L13.06 12l5.47-5.47a.75.75 0 0 0-1.06-1.06L12 10.94z'%3E%3C/path%3E%3C/svg%3E");
66
--dsc-dialog-color: var(--ds-color-neutral-text-default);

0 commit comments

Comments
 (0)