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

Implement Font Inlining #25

Merged
merged 3 commits into from
Mar 2, 2024
Merged

Implement Font Inlining #25

merged 3 commits into from
Mar 2, 2024

Conversation

Azarattum
Copy link
Contributor

Addressing my suggestion in #19 (comment), I've added an option which allows fonts to be inlined directly into CSS as base64. This is extremely useful when there is a requirement that icons should be displayed as soon as the app loads (no empty squares or shifting layouts).

Here is a regex breakdown used in this PR: https://regex101.com/r/dnExDu/1

Copy link
Owner

@atlowChemi atlowChemi left a comment

Choose a reason for hiding this comment

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

Thank you for your contribution!
Overall LGTM, had some comments 🙂

src/optionParser.ts Show resolved Hide resolved
src/index.ts Outdated Show resolved Hide resolved
@Azarattum Azarattum requested a review from atlowChemi February 28, 2024 05:37
@atlowChemi atlowChemi merged commit 011fa6a into atlowChemi:main Mar 2, 2024
8 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