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

Separate icon styles from GridClassStyle and use it for all icons #951

Merged
merged 3 commits into from
Feb 17, 2025

Conversation

laundmo
Copy link
Contributor

@laundmo laundmo commented Feb 10, 2025

This mainly allows changing the icon font used, which was impossible previously due to some icons being hardcoded.

It does this by having a separate IconStyle class hierarchy which is used similar to the normal class style whenever a icon is needed.

I also shortened the common self.param.grid_class_style.get to self.get_style just because i think its much nicer this way.

@mdipierro mdipierro merged commit 31b60e5 into web2py:master Feb 17, 2025
0 of 7 checks passed
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.

2 participants