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

Integrating the months & days colors with the site's default + Bold Text #151

Open
ushby opened this issue Aug 9, 2022 · 0 comments
Open

Comments

@ushby
Copy link

ushby commented Aug 9, 2022

The text of the days and months is a crucial element, we had to change ourselves, any contributing organization, specially those that start new would need people to realize their progress quickly, they won't appreciate the timeline dimmed in grey like that.

This JavaScript can change the color to the site's default scheme, although I am not sure which element would that be in general..

Here it is :

document.onload = function colorize(){
const colorPicker = body.getElementsByClassName("  <some specific common class or element  ") .style.color;
 if (colorPicker.includes("#")){
    var calanderLabel = document.getElementsByClassName("ContributionCalendar-label");
    calanderLabel.style.fill = ({colorPicker});
    } else {
        calanderLabel.style.fill = (#000);
    }
}

In support of our claim, the font-weight of the text should be bold.

Check out our site and see how it looks

Screenshot_2022-08-09_21-17-37

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

1 participant