Skip to content

Commit

Permalink
fix: darken card action btn hover state
Browse files Browse the repository at this point in the history
  • Loading branch information
navinkarkera committed Sep 16, 2024
1 parent 78f01d2 commit eba5baf
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions src/generic/block-type-utils/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@
.pgn__icon {
color: white;
}

.btn-icon {
&:hover, &:active, &:focus {
background-color: darken(#005C9E, 15%);
}
}
}

.component-style-html {
Expand All @@ -12,6 +18,12 @@
.pgn__icon {
color: white;
}

.btn-icon {
&:hover, &:active, &:focus {
background-color: darken(#9747FF, 15%);
}
}
}

.component-style-collection {
Expand All @@ -20,6 +32,12 @@
.pgn__icon {
color: black;
}

.btn-icon {
&:hover, &:active, &:focus {
background-color: darken(#FFCD29, 15%);
}
}
}

.component-style-video {
Expand All @@ -28,6 +46,12 @@
.pgn__icon {
color: white;
}

.btn-icon {
&:hover, &:active, &:focus {
background-color: darken(#358F0A, 15%);
}
}
}

.component-style-vertical {
Expand All @@ -36,6 +60,12 @@
.pgn__icon {
color: white;
}

.btn-icon {
&:hover, &:active, &:focus {
background-color: darken(#0B8E77, 15%);
}
}
}

.component-style-other {
Expand All @@ -44,4 +74,10 @@
.pgn__icon {
color: white;
}

.btn-icon {
&:hover, &:active, &:focus {
background-color: darken(#646464, 15%);
}
}
}

0 comments on commit eba5baf

Please sign in to comment.