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

Fixed #29936 -- Improved font customization in the admin #10631

Closed
wants to merge 1 commit into from
Closed

Fixed #29936 -- Improved font customization in the admin #10631

wants to merge 1 commit into from

Conversation

verbosus
Copy link

@verbosus verbosus commented Nov 9, 2018

Removed the hardcoded @import 'fonts.css'; rule in the admin’s base.css and substituted with a <link> element within a new, extendable block named adminfonts inside the admin’s base.html builtin template. The result is that custom admin templates can skip the loading of the built-in admin fonts altogether and keep overriding / extending the base CSS via the extrastyle block.

Removed the hardcoded `@import 'fonts.css';` rule in the
admin’s `base.css` and substituted with a `<link>`
element within a new, extendable block named `adminfonts`
inside the admin’s `base.html` builtin template.
The result is that custom admin templates can skip the
loading of the built-in admin fonts altogether and keep
overriding / extending the base CSS via the `extrastyle`
block.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant