Skip to content

Commit

Permalink
style(typography): add hover effect for buttons in protyle
Browse files Browse the repository at this point in the history
- Added hover effect for buttons in protyle.scss
- Changes buttons' SVG color to primary theme color on hover
  • Loading branch information
mustakshif committed Nov 16, 2024
1 parent 2ee45d8 commit 544d3ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions style/typography/protyle.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1253,6 +1253,12 @@

>button {
transform-origin: right center;

&:hover {
svg {
color: var(--b3-theme-primary);
}
}
}

>button:not([data-type=NodeAttributeViewRow], [data-type=NodeAttributeViewRowMenu], :only-child) {
Expand Down
2 changes: 1 addition & 1 deletion theme.css

Large diffs are not rendered by default.

0 comments on commit 544d3ad

Please sign in to comment.