Skip to content

Commit

Permalink
refactor: explain why button styles are split
Browse files Browse the repository at this point in the history
  • Loading branch information
gavmck committed Apr 15, 2024
1 parent 0700d55 commit 4d93879
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/control/Button/Button.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ diamond-button {
--_line-height: var(--diamond-button-line-height);
display: inline-block;

/* Structural button styles */
diamond-loading-button,
button,
a,
Expand Down Expand Up @@ -58,6 +59,7 @@ diamond-button {
}
}

/* Presentational button styles */
button,
a,
input:not([type='file']),
Expand Down

0 comments on commit 4d93879

Please sign in to comment.