Skip to content

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

@adim-att

Description

@adim-att

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions