Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style(BnListbox): add style when is navigated by keyboard #15

Merged
merged 2 commits into from
Jul 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
## Context

- Banano is a component library for use in platanus projects


## Changes

4 changes: 2 additions & 2 deletions src/components/BnListbox/BnListbox.styles.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ module.exports = {
'.bn-listbox-options': {
'@apply fixed max-h-60 w-full overflow-auto rounded-lg border border-gray-200 bg-white': {},
'&__option': {
'@apply flex h-12 items-center p-3 ui-selected:text-white hover:text-white': {},
'@apply flex h-12 items-center p-3 ui-selected:text-white hover:text-white ui-active:text-white': {},
colors: {
'@apply hover:bg-varColor-600 ui-selected:bg-varColor-600': {},
'@apply hover:bg-varColor-600 ui-selected:bg-varColor-600 ui-active:bg-varColor-600': {},
},
},
'&__option-text': {
Expand Down