Skip to content

Commit

Permalink
feat: new border-radius tokens (#2497)
Browse files Browse the repository at this point in the history
Closes #2476

---------

Co-authored-by: Michael Marszalek <[email protected]>
Co-authored-by: Une Sofie Kinn Ekroll <[email protected]>
  • Loading branch information
3 people authored Oct 22, 2024
1 parent ce5b845 commit 5f51c95
Show file tree
Hide file tree
Showing 56 changed files with 8,210 additions and 8,390 deletions.
7 changes: 7 additions & 0 deletions .changeset/three-moles-attack.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@digdir/designsystemet-theme": minor
"@digdir/designsystemet": minor
"@digdir/designsystemet-css": minor
---

Implemented a more flexible system of semantic border-radius tokens.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
margin: 0 auto;
margin-top: var(--ds-spacing-18);
padding: var(--ds-spacing-10);
border-radius: var(--ds-border-radius-2xl);
border-radius: var(--ds-border-radius-lg);
border: 1px solid var(--ds-color-neutral-border-subtle);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

.wantToWrite {
margin-top: var(--ds-spacing-12);
border-radius: var(--ds-border-radius-2xl);
border-radius: var(--ds-border-radius-lg);
background: var(--ds-color-brand1-surface-default);
color: var(--ds-color-brand1-text-default);
padding: var(--ds-spacing-8);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
margin-bottom: var(--ds-spacing-6);
padding: var(--ds-spacing-10);
width: 100%;
border-radius: var(--ds-border-radius-xl);
border-radius: var(--ds-border-radius-lg);
background-color: var(--ds-color-neutral-background-subtle);
}

Expand Down
Loading

0 comments on commit 5f51c95

Please sign in to comment.