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

Expose CSS variable for calculator font #173

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

oyamauchi
Copy link
Member

@oyamauchi oyamauchi commented Jul 2, 2024

Description

You can define --font-family in the surrounding page to customize
the calculator's font. It falls back to the calculator's existing
series of fonts.

Test Plan

In index.html, add this to the CSS in the head tag:

#calculator {
  --font-family: 'comic sans ms';
}

Then behold:
Screenshot 2024-07-02 at 6 10 40 PM

## Description

You can define `--font-family` in the surrounding page to customize
the calculator's font. It falls back to the calculator's existing
series of fonts.

## Test Plan

In index.html, add this to the CSS in the head tag:

```css
#calculator {
  --font-family: 'comic sans ms';
}
```
Copy link

vercel bot commented Jul 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
embed-rewiringamerica-org ✅ Ready (Inspect) Visit Preview Jul 2, 2024 10:11pm

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

Successfully merging this pull request may close these issues.

1 participant