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

Default font change steps are incorrect #10

Open
erangac opened this issue Oct 19, 2022 · 0 comments
Open

Default font change steps are incorrect #10

erangac opened this issue Oct 19, 2022 · 0 comments

Comments

@erangac
Copy link

erangac commented Oct 19, 2022

Configuration is not correct to change default font.
Refer document link https://konstaui.com/react/fonts

The currently in the document are below. There aren't properties called ios & material

You can override them in tailwind.config.js in the following way:

const konstaConfig = require('konsta/config');

module.exports = konstaConfig({
  theme: {
    fontFamily: {
      ios: 'my-ios-font',
      material: 'my-material-font',
    }
  }
  ...
});
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

No branches or pull requests

1 participant