Skip to content

Commit

Permalink
fix(field): floating label background color (#148)
Browse files Browse the repository at this point in the history
  • Loading branch information
dauriata authored Jan 6, 2025
1 parent c118bac commit 05b1ed5
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/assets/scss/components/_field.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use "bulma/sass/utilities/css-variables" as css;
@use "bulma/sass/form/shared" as form;
@use "bulma/sass/utilities/mixins" as mixins;

/* @docs */
Expand Down Expand Up @@ -201,7 +202,14 @@ $floating-in-height: 3.25em !default;
left: 0;
right: 0;
height: 0.375em;
background-color: css.getVar("input-background-l");
background-color: hsl(
form.$input-h,
form.$input-s,
calc(
form.$input-background-l +
form.$input-background-l-delta
)
);
z-index: -1;
}
}
Expand Down

0 comments on commit 05b1ed5

Please sign in to comment.