feature: add $form-select-focus-bg variable for focused select inputs#42050
feature: add $form-select-focus-bg variable for focused select inputs#42050claytonlin1110 wants to merge 1 commit intotwbs:mainfrom
Conversation
|
Can someone review this? |
|
Right now, we’re focusing on |
|
@julien-deramond When could it be ready? can i change destination branch from 'main ' to 'v6-dev'? |
|
There is no need to change the target branch. We will review the PR as is and cherry-pick the commit to |
|
Can you just get this Pr reviewred and merge to v6-dev? |
Description
Adds the SASS variable
$form-select-focus-bgto control the background color of focused select inputs.Closes #42006
Motivation
As
$input-focus-bgcan tint the background of focused inputs, it makes sense to have equivalent control for focused select inputs. This allows users to customize or tint the focus state of form selects independently or in line with inputs.Changes
scss/_variables.scss: Added$form-select-focus-bg(defaults to$input-focus-bg) alongside other form-select focus variablesscss/forms/_form-select.scss: Setbackground-color: $form-select-focus-bgon:focusstateUsage
// Customize focused select background
$form-select-focus-bg: tint-color($primary, 95%);
@import "bootstrap/scss/bootstrap";