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

Change formatting of agenda view #193

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

jlevine18
Copy link
Contributor

@jlevine18 jlevine18 commented Feb 5, 2025

Resolves #192.

Copy link

Deploying acmuiuc with  Cloudflare Pages  Cloudflare Pages

Latest commit: 66fb2ef
Status: ✅  Deploy successful!
Preview URL: https://586d51fb.acmuiuc.pages.dev
Branch Preview URL: https://jlevine18-patch-1.acmuiuc.pages.dev

View logs

@@ -222,7 +222,7 @@ const Events: React.FC<EventsProps> = ({ events, updateEventDetails, displayDate
eventPropGetter={(event, start, end, isSelected) => {
const color = getEventColor(event);
const darkerColor = shadeColor(color, -20);
return { style: { backgroundColor: isSelected ? darkerColor : color, borderRadius: '0.375rem', 'fontSize': '12px' } } // '#4577F8' } }
return { style: { backgroundColor: isSelected ? darkerColor : color, borderRadius: '0.375rem', 'fontSize': '12px', 'color': 'white', 'fontFamily': 'var(--font-dm-sans), sans-serif'} } // '#4577F8' } }
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is manually setting the font-family too hacky?

@jlevine18 jlevine18 marked this pull request as ready for review February 5, 2025 00:47
@jlevine18 jlevine18 requested review from a team as code owners February 5, 2025 00:47
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.

Unclear text color in Agenda View of ACM main Calendar
1 participant