Skip to content

Conversation

@gmalvone
Copy link

I've been using the extension on Windows and noticed that the tab list page font is not loaded correctly. The issue doesn't present on Linux distros I have tested with.

The Bug:
The CSS used font-family: sans;. On Windows, sans is not a valid keyword, causing the browser to fall back to Times New Roman (Serif). On Linux sans is usually aliased to a recognised font, whereas this is not the case on Windows.

The Fix & Feature:

  1. Windows Support: Refactored CSS to use a variable var(--user-font) with a proper fallback stack (system-ui, Segoe UI, sans-serif) so it looks native on all OSs out of the box.
  2. Options Page: Added basic extension Settings page (options_ui) allowing users to define a custom font family. This is saved via browser.storage.sync.
  3. Manifest: Updated extension permissions to include storage and bumped version to 1.1.2.

Tested on Windows 10/11 and works perfectly. The font setting persists across browser restarts.

Extension Options Page
image

Custom Font Family Applied (Iosevka)
image

Added extension options page and configurable font settings. Fixed font fallback issue on Windows.
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