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

Allow font family to flow naturally from surroundings #65

Open
danielbprice opened this issue Nov 1, 2019 · 0 comments
Open

Allow font family to flow naturally from surroundings #65

danielbprice opened this issue Nov 1, 2019 · 0 comments

Comments

@danielbprice
Copy link
Contributor

This component imposes a font selection as follows:

const initialBackgroundAndFontStyle = {
  backgroundColor: this.background,
  font: `${Math.floor(this.size / 2.5)}px/${this.size}px Helvetica, Arial, sans-serif`,
  color: this.fontColor
}

It's certainly possibly to use styles to override that, but it seems inconvenient; usually a component with text in it would naturally match the fonts of the things around it.

It seems like simply changing this to not select a font would be a more hands-off and natural approach.

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