growi
growi copied to clipboard
Feature: Selectable font-family
TODO
/admin/customize
-
Add radio button to select
System Default Font
- preset 1:
font-family: Lato, sans-serif;
- preset 2:
font-family: Lato, 'Noto Sans JP', sans-serif;
- custom
- preset 1:
-
Add checkbox
Allow customize font by users
-
Add radio button to select
System Default Monospace Font
- preset 1:
font-family: Roboto Mono, monospace;
- preset 2:
font-family: Roboto Mono, 'MS Gothic', monospace;
- custom
- preset 1:
-
Add checkbox
Allow customize font by users
/me
-
Add radio button to select
Default Font
- Use System Default Font
- preset 1:
font-family: Lato, sans-serif;
- preset 2:
font-family: Lato, 'Noto Sans JP', sans-serif;
- custom
-
Add radio button to select
Default System Monospace Font
- Use System Default Monospace Font
- preset 1:
font-family: Roboto Mono, monospace;
- preset 2:
font-family: Roboto Mono, 'MS Gothic', monospace;
- custom
Create a swig widget to add <link>
tag
- Load google fonts according to selected system fonts and selected user custom fonts
- weight: 400 and 700
Migration
- Set system font-family according to the system language
IssueHunt Summary
Backers (Total: $0.00)
Become a backer now!
Or submit a pull request to get the deposits!
Tips
- Checkout the Issuehunt explorer to discover more funded issues.
- Need some help from other developers? Add your repositories on IssueHunt to raise funds.
Is the preset font added to style like how custom css is added to style? https://github.com/weseek/growi/blob/master/src/server/views/layout/layout.html#L104
Is the preset font added to style like how custom css is added to style?
Yes, the preset font styles (font-family:
specifications) must be injected into a swig file somewhere.