You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As an attempt to reduce unnecessary file generation and clutter, as well as follow closer to the import style of Google's Font API, I'm suggesting to completely remove all -normal files in favour of solely keeping them in weight-specific files. The current behaviour for -italic files will remain.
Current:
importfontsource-roboto/400.css// Contains normal AND italicsimportfontsource-roboto/400-normal.css// Only normal styleimportfontsource-roboto/400-italic.css// Only italic style
New:
importfontsource-roboto/400.css// Contains only normal styleimportfontsource-roboto/400-normal.css// No longer existsimportfontsource-roboto/400-italic.css// Only italic style
Reason
Since the italics style is a very niche selection, it doesn't make sense for it to be included in the default main imports unless specified. Removing the need for specific files for normal style will reduce the file count by a huge margin, reducing the complexity of each package.
For example, Noto Sans JP has 39 CSS files, of which 18 of them are -normal files.
I'd want to implement this breaking change when we have other more impactful breaking changes that we could possibly add. This is just an idea for the future.
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions.
Use the 'not stale' label to prevent the issue from automatically closing.
Specification
As an attempt to reduce unnecessary file generation and clutter, as well as follow closer to the import style of Google's Font API, I'm suggesting to completely remove all
-normal
files in favour of solely keeping them in weight-specific files. The current behaviour for-italic
files will remain.Current:
New:
Reason
Since the italics style is a very niche selection, it doesn't make sense for it to be included in the default main imports unless specified. Removing the need for specific files for normal style will reduce the file count by a huge margin, reducing the complexity of each package.
For example, Noto Sans JP has 39 CSS files, of which 18 of them are
-normal
files.I'd want to implement this breaking change when we have other more impactful breaking changes that we could possibly add. This is just an idea for the future.
The text was updated successfully, but these errors were encountered: