Skip to content

Commit

Permalink
Endret Ikon størrelse i Button. Sizes xs og sm 20px, md og lg 24px. (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
FarAhm1 authored Aug 18, 2023
1 parent 5880398 commit 05d8140
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/clean-bikes-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@kvib/react": patch
---

Endret Ikon størrelse i Button. xs og sm 20px, md og lg 24px.
8 changes: 4 additions & 4 deletions packages/react/src/theme/components/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ export const buttonTheme = defineStyleConfig({
minWidth: "90px",
minHeight: "24px",
".material-symbols-rounded": {
fontSize: "12px",
fontSize: "20px",
},
},
sm: {
Expand All @@ -246,7 +246,7 @@ export const buttonTheme = defineStyleConfig({
minWidth: "100px",
minHeight: "32px",
".material-symbols-rounded": {
fontSize: "14px",
fontSize: "20px",
},
},
md: {
Expand All @@ -257,7 +257,7 @@ export const buttonTheme = defineStyleConfig({
minWidth: "100px",
minHeight: "40px",
".material-symbols-rounded": {
fontSize: "16px",
fontSize: "24px",
},
},
lg: {
Expand All @@ -268,7 +268,7 @@ export const buttonTheme = defineStyleConfig({
minWidth: "106px",
minHeight: "48px",
".material-symbols-rounded": {
fontSize: "16px",
fontSize: "24px",
},
},
},
Expand Down

0 comments on commit 05d8140

Please sign in to comment.