Skip to content

Implement custom fonts and custom border radius#38

Merged
brunobritodev merged 4 commits into
brunobritodev:masterfrom
mgiannopoulos24:master
Dec 20, 2025
Merged

Implement custom fonts and custom border radius#38
brunobritodev merged 4 commits into
brunobritodev:masterfrom
mgiannopoulos24:master

Conversation

@mgiannopoulos24

@mgiannopoulos24 mgiannopoulos24 commented Dec 14, 2025

Copy link
Copy Markdown
Contributor

Description

This PR adds the functionality to choose custom border radius (default: 4px) and custom font family (default: Roboto). Also fixes some visual bugs and missing icons.

Related issues

Issues #36 and #23

Changes

  • Added BorderRadius and FontFamily properties on UserStatOptions and CardStyles.
  • Updated all the svg card files to dynamically change their radius and font family.
  • Modified script.js to display cards as divs in order to render the font and added a function to fetch all the fonts from a Google Font mirror named fontsource.org.
  • Minor fixes on the styling (transitions, widths and added local svgs for selects).
  • Updated .csproj files to .NET 8. (Doesn't make a huge difference cause its backwards compatible).

Let me know your thoughts on this PR.

P.S. Sorry for making a PR to master, I totally forgot to change branch.

@mgiannopoulos24

Copy link
Copy Markdown
Contributor Author

@brunobritodev Hi there.

Could you have a look on this PR anytime?

Thanks.

@brunobritodev brunobritodev merged commit 9db906b into brunobritodev:master Dec 20, 2025
1 check passed
This was referenced Dec 20, 2025
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