[PR #226] [MERGED] Custom font selection #151

Closed
opened 2025-12-29 07:19:34 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/mountain-loop/yaak/pull/226
Author: @gschier
Created: 6/9/2025
Status: Merged
Merged: 6/9/2025
Merged by: @gschier

Base: masterHead: custom-font-selection


📝 Commits (7)

📊 Changes

25 files changed (+399 additions, -56 deletions)

View changed files

📝 package-lock.json (+10 -1)
📝 package.json (+1 -0)
📝 src-tauri/Cargo.lock (+118 -5)
📝 src-tauri/Cargo.toml (+3 -0)
📝 src-tauri/capabilities/capabilities.json (+1 -0)
📝 src-tauri/src/lib.rs (+1 -0)
src-tauri/yaak-fonts/Cargo.toml (+16 -0)
src-tauri/yaak-fonts/bindings/gen_fonts.ts (+3 -0)
src-tauri/yaak-fonts/build.rs (+5 -0)
src-tauri/yaak-fonts/index.ts (+14 -0)
src-tauri/yaak-fonts/package.json (+6 -0)
src-tauri/yaak-fonts/permissions/default.toml (+3 -0)
src-tauri/yaak-fonts/src/commands.rs (+41 -0)
src-tauri/yaak-fonts/src/error.rs (+15 -0)
src-tauri/yaak-fonts/src/lib.rs (+15 -0)
📝 src-tauri/yaak-models/bindings/gen_models.ts (+1 -1)
src-tauri/yaak-models/migrations/20250608150053_font-settings.sql (+2 -0)
📝 src-tauri/yaak-models/src/models.rs (+10 -2)
📝 src-tauri/yaak-models/src/queries/settings.rs (+2 -0)
📝 src-web/components/Settings/SettingsAppearance.tsx (+91 -37)

...and 5 more files

📄 Description

List fonts from host machine and allow user to select a custom one

CleanShot 2025-06-08 at 15 25 11@2x


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/mountain-loop/yaak/pull/226 **Author:** [@gschier](https://github.com/gschier) **Created:** 6/9/2025 **Status:** ✅ Merged **Merged:** 6/9/2025 **Merged by:** [@gschier](https://github.com/gschier) **Base:** `master` ← **Head:** `custom-font-selection` --- ### 📝 Commits (7) - [`124a64a`](https://github.com/mountain-loop/yaak/commit/124a64a5334226e7d31257a52e904f206e2a0b81) Custom font selection - [`cde6139`](https://github.com/mountain-loop/yaak/commit/cde6139715535b1ed3803114cad11b0367c70323) Monospace font as UI option - [`6897645`](https://github.com/mountain-loop/yaak/commit/6897645b08ec8b2b918f6195c32bae10e1aaabd1) Set editor font - [`94a947d`](https://github.com/mountain-loop/yaak/commit/94a947d476fa5ea6821eb065025f514cd43b9e9e) Use CSS variable - [`6030fa1`](https://github.com/mountain-loop/yaak/commit/6030fa10a0a18fa901a2f398f9f8f7e62d015d4d) Format - [`33a69fd`](https://github.com/mountain-loop/yaak/commit/33a69fd018625c42d04557760f112d8834e04ba3) Fallback to empty string - [`9bf71e5`](https://github.com/mountain-loop/yaak/commit/9bf71e578ec2e3893596addcf97d3aef606f6454) Better ### 📊 Changes **25 files changed** (+399 additions, -56 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+10 -1) 📝 `package.json` (+1 -0) 📝 `src-tauri/Cargo.lock` (+118 -5) 📝 `src-tauri/Cargo.toml` (+3 -0) 📝 `src-tauri/capabilities/capabilities.json` (+1 -0) 📝 `src-tauri/src/lib.rs` (+1 -0) ➕ `src-tauri/yaak-fonts/Cargo.toml` (+16 -0) ➕ `src-tauri/yaak-fonts/bindings/gen_fonts.ts` (+3 -0) ➕ `src-tauri/yaak-fonts/build.rs` (+5 -0) ➕ `src-tauri/yaak-fonts/index.ts` (+14 -0) ➕ `src-tauri/yaak-fonts/package.json` (+6 -0) ➕ `src-tauri/yaak-fonts/permissions/default.toml` (+3 -0) ➕ `src-tauri/yaak-fonts/src/commands.rs` (+41 -0) ➕ `src-tauri/yaak-fonts/src/error.rs` (+15 -0) ➕ `src-tauri/yaak-fonts/src/lib.rs` (+15 -0) 📝 `src-tauri/yaak-models/bindings/gen_models.ts` (+1 -1) ➕ `src-tauri/yaak-models/migrations/20250608150053_font-settings.sql` (+2 -0) 📝 `src-tauri/yaak-models/src/models.rs` (+10 -2) 📝 `src-tauri/yaak-models/src/queries/settings.rs` (+2 -0) 📝 `src-web/components/Settings/SettingsAppearance.tsx` (+91 -37) _...and 5 more files_ </details> ### 📄 Description List fonts from host machine and allow user to select a custom one ![CleanShot 2025-06-08 at 15 25 11@2x](https://github.com/user-attachments/assets/c548b0dc-b04e-4109-9444-8ae61cb9e771) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 07:19:34 +01:00
adam closed this issue 2025-12-29 07:19:34 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/yaak#151