-
-
Notifications
You must be signed in to change notification settings - Fork 176
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
Theming select menu and filters #627
Comments
Bump. I have also encountered this issue in the past |
hi @MattTheCuber
By the way you can use vitepress components inside of the grid too, we've built a lot of applications this way. |
#627 - support dark colors on filter panel
Hello @m2a2x, Thank you for the help. I tried adding the Also, can you describe how the filter panel was updated to allow theming? |
|
That worked, thank you! FYI, here is the CSS I used if anyone else wants to theme these components: .select-css {
background-color: rgb(var(--v-theme-surface));
background-image: none;
color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity));
border-color: rgba(var(--v-border-color), var(--v-border-opacity));
}
.select-css:focus {
color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity));
}
revogr-filter-panel input[type='text'] {
color: rgba(var(--v-theme-on-background), var(--v-high-emphasis-opacity)) !important;
background-color: rgb(var(--v-theme-surface-light)) !important;
}
.revo-dropdown-list .dropdown-inner {
color: rgba(var(--v-theme-on-surface), var(--v-high-emphasis-opacity)) !important;
background-color: rgb(var(--v-theme-surface)) !important;
} |
@MattTheCuber In the future there is a plan to provide revogrid with full theme support, just allow some vars and set them through js, but it's a long term plan |
Great! I didn't care too much about specific theming colors, I just wanted the drop downs and filter menu to match the RevoGrid theme (dark/light). |
This issue is for https://github.com/revolist/revogrid-column-select and this repo.
Currently, in dark theme, select menus and filtering look quite poor. You can see this by going to the official demo: https://rv-grid.com/demo/
Is there a easy way to style these depending on the theme? Currently we are using Vuetify and using the theme variables like this:
However, we are unable to themed styles the dropdown because it is stuck in the root body and not instead of any Vuetify containers.
The text was updated successfully, but these errors were encountered: