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

Add default grid color option to match dark and light color themes. #17

Closed
wants to merge 4 commits into from
Closed

Conversation

MosaicMan
Copy link

@MosaicMan MosaicMan commented Jun 2, 2022

This adds the ability to specify a default gridColor for cells without matching data so the styling can better suit themes with light or dark colors. Attempts to address #6.

const calendarData = { 
	entries: [],
	year: 2022,
        gridColor: "#2a2a2a", // (optional) Defaults to "#ffffff"
}

@asphaltbuffet
Copy link

eagerly awaiting this to be included!

@Richardsl
Copy link
Owner

i think we should keep the styling separate in custom css snippets.
i gave all of the empty days a separate class isEmpty now, so they should be easy to style

@Richardsl Richardsl closed this Jul 14, 2022
@MosaicMan
Copy link
Author

Way better solution. Thanks!

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

Successfully merging this pull request may close these issues.

3 participants