[PR #6436] chore: migrate from inter-ui to @fontsource-variable/inter #6522

Closed
opened 2026-02-28 21:29:31 -06:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/actualbudget/actual/pull/6436

State: closed
Merged: Yes


Summary

This PR updates the Inter font package from inter-ui v3.19.3 to @fontsource-variable/inter v5.2.8, aligning with the existing Fontsource usage pattern for @fontsource/redacted-script.

Changes

  • Dependency update: Replace inter-ui with @fontsource-variable/inter in packages/desktop-client/package.json
  • Font-family declarations: Update all references from 'Inter var' to 'Inter Variable' to match Fontsource's naming convention:
    • packages/desktop-client/index.html (2 locations)
    • packages/desktop-client/src/components/reports/chart-theme.ts

Motivation

  • Consistent package ecosystem (both fonts now from Fontsource)
  • Simpler path resolution without custom SCSS variable overrides
  • Eliminates Sass @import deprecation warnings by using CSS imports directly

Notes: 606d45a0f7f1f4c07795086f82b711b50d02d67d contains the changes for only updating inter-ui to the latest version, if migrating to @fontsource is not desired.


Note

Replace inter-ui with @fontsource-variable/inter and update font-family references to Inter Variable across the desktop client.

  • Dependencies:
    • Replace inter-ui with @fontsource-variable/inter in packages/desktop-client/package.json.
  • Fonts/Styles:
    • Switch SCSS imports to @fontsource-variable/inter CSS (wght.css, wght-italic.css) in src/fonts.scss.
    • Update font-family from Inter var to Inter Variable in:
      • index.html (global styles, inputs/textarea)
      • src/components/reports/chart-theme.ts (sansSerif)

Written by Cursor Bugbot for commit 8c15020a776c451dfdba367342e0e83f5fb2e677. This will update automatically on new commits. Configure here.

**Original Pull Request:** https://github.com/actualbudget/actual/pull/6436 **State:** closed **Merged:** Yes --- ### Summary This PR updates the Inter font package from `inter-ui` v3.19.3 to `@fontsource-variable/inter` v5.2.8, aligning with the existing Fontsource usage pattern for `@fontsource/redacted-script`. ### Changes - **Dependency update**: Replace `inter-ui` with `@fontsource-variable/inter` in `packages/desktop-client/package.json` - **Font-family declarations**: Update all references from 'Inter var' to 'Inter Variable' to match Fontsource's naming convention: - packages/desktop-client/index.html (2 locations) - packages/desktop-client/src/components/reports/chart-theme.ts ### Motivation - Consistent package ecosystem (both fonts now from Fontsource) - Simpler path resolution without custom SCSS variable overrides - Eliminates Sass @import deprecation warnings by using CSS imports directly Notes: 606d45a0f7f1f4c07795086f82b711b50d02d67d contains the changes for only updating inter-ui to the latest version, if migrating to `@fontsource` is not desired. <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Replace `inter-ui` with `@fontsource-variable/inter` and update font-family references to `Inter Variable` across the desktop client. > > - **Dependencies**: > - Replace `inter-ui` with `@fontsource-variable/inter` in `packages/desktop-client/package.json`. > - **Fonts/Styles**: > - Switch SCSS imports to `@fontsource-variable/inter` CSS (`wght.css`, `wght-italic.css`) in `src/fonts.scss`. > - Update font-family from `Inter var` to `Inter Variable` in: > - `index.html` (global styles, inputs/textarea) > - `src/components/reports/chart-theme.ts` (`sansSerif`) > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 8c15020a776c451dfdba367342e0e83f5fb2e677. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
GiteaMirror added the pull-request label 2026-02-28 21:29:31 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/actual#6522