Skip to content

Commit

Permalink
fix(dropdown): remove using the bulma dropdown module in the theme di…
Browse files Browse the repository at this point in the history
…rectly (#152)
  • Loading branch information
mlmoravek authored Jan 6, 2025
1 parent 97bd51a commit 9858236
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/assets/scss/components/_dropdown.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
@use "bulma/sass/utilities/css-variables" as css;
@use "bulma/sass/utilities/mixins" as mixins;

@use "bulma/sass/components/dropdown" as dropodown;

/* @docs */
$dropdown-mobile-breakpoint: vars.$desktop !default;
$dropdown-background-background-color: hsla(
Expand Down Expand Up @@ -46,7 +44,15 @@ $dropdown-z: 40 !default;
}

.dropdown-item {
@extend a;
background-color: hsl(
#{css.getVar("dropdown-item-h")},
#{css.getVar("dropdown-item-s")},
calc(
#{css.getVar("dropdown-item-background-l")} + #{css.getVar(
"dropdown-item-background-l-delta"
)}
)
);

cursor: pointer;

Expand Down

0 comments on commit 9858236

Please sign in to comment.