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

Change MD font #724

Closed
evkw opened this issue Jun 20, 2016 · 5 comments
Closed

Change MD font #724

evkw opened this issue Jun 20, 2016 · 5 comments

Comments

@evkw
Copy link

evkw commented Jun 20, 2016

Hey all,

Is there an easy way to overwrite the font used by the material design components? I'm trying to mix and match a few frameworks in a project I'm working on and the multiple fonts thing is making it look a bit crazy.

Thanks

@perfectyang
Copy link

material design components provides all kinds of method to custom your style

@fxck
Copy link
Contributor

fxck commented Jun 20, 2016

material design components provides all kinds of method to custom your style

they don't actually, not at the moment anyway also what a super useless answer

there's no way to do it easily at the moment, you can either manually override all selectors, or modify this https://github.com/angular/material2/blob/master/src/core/style/_variables.scss#L6 and compile your own version

@msegers
Copy link

msegers commented Jun 20, 2016

Helooooo, if you want to heavily modify stuff you should probably check back when it's near beta or even rc.

Right now the project is in early alpha, however usable at some points it's far away from being released as of now.

What I do is just override the fonts with CSS by forcing using !important.
It's not ideal but it should get you going where you want to be for now, I for example added these kind of things to a separate CSS file which will be replaced once the feature arises (which I expect will at least be after summer or even fall.)

@jelbourn
Copy link
Member

This is tracked by #205

@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants