Skip to content

Conversation

@initiateit
Copy link

I made a little UI zoom store to control the elements size. Its really basic but essentially I have:

  • Add a uiScale Svelte store and UI controls to let users adjust the app zoom (50%–200%, 0.1 steps).
  • Persist selected scale to localStorage and apply it by setting the --ui-scale CSS variable on :root.
  • Use --ui-scale to scale the base html font-size so the whole UI responds to the setting.
  • UI controls added to Admin Settings and Chat Settings with increment, decrement and reset buttons.
user admin

I tried to match the styling as best I could!

It would be great to have this added into the main, I have good vision but as I am getting older I am finding font rendering to be on the "thin" and "small" side.

…e app zoom (50%–200%, 0.1 steps).

- Persist selected scale to `localStorage` and apply it by setting the `--ui-scale` CSS variable on `:root`.
- Use `--ui-scale` to scale the base `html` font-size so the whole UI responds to the setting.
- UI controls added to Admin Settings and Chat Settings with increment, decrement and reset buttons.
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