AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

Custom font families

Open yjlin0224 opened this issue 1 year ago • 2 comments

Description

Please add a feature to allow change these css variables in settings UI to custom font families:

  • --affine-font-family
  • --affine-font-serif-family
  • --affine-font-mono-family
  • --affine-font-sans-family
  • --affine-font-number-family
  • --affine-font-code-family

Use case

For example, it can let me to specify UI and sans font to Noto Sans CJK TC with fallback to Noto Sans, specify serif font to Noto Serif CJK TC with fallback to Noto Sans, specify mono and code font to Fira Code. It can make the UI render better Traditional Chinese characters and render code with ligatures.

Anything else?

No response

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

yjlin0224 avatar Mar 12 '24 17:03 yjlin0224

Issue Status: 💡 Open

💡 Open

We want to implement the fix or feature in the near future. We can’t promise it will appear in the next public release, but it’s on our short list.

This is an automatic reply by the bot.

affine-issue-bot[bot] avatar Mar 12 '24 17:03 affine-issue-bot[bot]

We plan to add settings for custom fonts, but it will need to wait until a later iteration (version 0.15 or 0.16; currently we are preparing version 0.14) to provide support.

hwangdev97 avatar Mar 13 '24 02:03 hwangdev97

I want to know why it has become unplanned, especially since it was previously mentioned that the plan might be implemented in version 0.15 or 0.16.

yjlin0224 avatar Jun 13 '24 07:06 yjlin0224