Skip to content

Commit

Permalink
use Sythesized class
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbasuil committed Dec 5, 2023
1 parent 3812661 commit 3d0ffdf
Showing 1 changed file with 25 additions and 2 deletions.
27 changes: 25 additions & 2 deletions src/Dropdown/DropdownItem.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
@import '../../scss/theme';

.Synthesized {
.DropdownItem {
@include synth-font-type-30;
color: $ux-gray-900;

i, svg {
&.icon-left {
margin-right: $ux-spacing-20;
}
}

&:hover {
background-color: $synth-hover-state;
text-decoration: none;
}

&:focus {
background-color: $synth-selected-state-green;
color: $ux-gray-900;
}
}
}

.DropdownItem {
@include synth-font-type-30;
color: $ux-gray-900;
Expand All @@ -11,12 +34,12 @@
}

&:hover {
background-color: $synth-hover-state;
background-color: $ux-blue-100;
text-decoration: none;
}

&:focus {
background-color: $synth-selected-state-green;
background-color: $ux-blue-200;
color: $ux-gray-900;
}
}

0 comments on commit 3d0ffdf

Please sign in to comment.