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

Since Jenkins 2.246 - headers became black #177

Open
unickq opened this issue Aug 11, 2020 · 4 comments
Open

Since Jenkins 2.246 - headers became black #177

unickq opened this issue Aug 11, 2020 · 4 comments

Comments

@unickq
Copy link

unickq commented Aug 11, 2020

Expected

image

Actual

image

@timbrown5
Copy link

timbrown5 commented Sep 13, 2020

Hi @unickq,

I have managed to work around this locally by updating the style sheet with the following (I added it to the end of mine):

:root {
    /* Table */
    --bigtable-header-bg: var(--light-grey);
    --bigtable-header-border-color: var(--light-grey);
    --bigtable-header-text-color: var(--dark-grey);
    --bigtable-row-border-color: var(--light-grey);
    /* Remove if you don't light the alternating coloured rows */
    --even-row-color: var(--very-light-grey);
    --table-striped-bg--hover: var(--very-light-grey);

    /* Tab bar widget */
    --tab-link-border-color: var(--light-grey);;
    --tab-link-text-color: var(--dark-grey);
    --tab-link-checked-bg: var(--light-grey);
    --tab-link-checked-text-color: var(--dark-grey);
    --tab-link-bg--hover: var(--light-grey);
    --tab-link-bg--active: var(--light-grey);
}

It overwrites the variables set in theme.less, which is provided with newer versions of Jenkins (I am using 2.249.1).
This gets the theme back more how I remember it (but I could have picked the wrong types of grey).
For some background --very-light-grey, --light-grey, --dark-grey, are all variables defined in theme.less and (I believe) they form the basis of the default colour pallet. There is also --medium-grey, --white and --black.

With this applied I get:
Screenshot 2020-09-13 at 18 11 30

I hope this helps,
Tim

@fkranenburg
Copy link

Same issue here, thanks for the workaround @timbrown5 !

@ozonni
Copy link

ozonni commented Sep 17, 2020

would be great to have PR to get it fixed for everyone

@maxbanton
Copy link

This works for me https://jorg3lucas.github.io/jenkins-modern-themes/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants