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

Able to set color in header #1618

Closed
jinghua395 opened this issue Dec 17, 2020 · 1 comment
Closed

Able to set color in header #1618

jinghua395 opened this issue Dec 17, 2020 · 1 comment
Labels
Type: Bug 🐞 Something isn't working
Milestone

Comments

@jinghua395
Copy link

Hi,

I would like to be able to set the color (for font) in header, more specifix, for the text in BarItem.


       BarOptions = new ThemeBarOptions
        {
            LightColors = new ThemeBarColorOptions
            {
                BackgroundColor = "", //Value settings not working, but has to be set
                Color = "red",
                ItemColorOptions = new ThemeBarItemColorOptions
                {
                    ActiveBackgroundColor = "red",
                    ActiveColor = "#ffffff",
                    HoverBackgroundColor = "", //Value settings not working, but has to be set
                    HoverColor = "", //Value settings not working, but has to be set
                }
            }
        },

I've tiered the above, it only working for the sider, but not the header.

@stsrki stsrki added the Type: Bug 🐞 Something isn't working label Dec 17, 2020
@stsrki stsrki added this to the 0.9.4 milestone Dec 17, 2020
@seyfeb
Copy link

seyfeb commented Mar 6, 2021

Currently the light theme contrast seems to use the color property of the dark theme contrast for the hovered text color.

For me, it’s not working in the sider.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug 🐞 Something isn't working
Projects
Archived in project
Development

No branches or pull requests

3 participants