-
- Downloads
Add a setting allowing the use of system's default font in Web UI (#4033)
* add a system_font_ui setting on the server * Plug the system_font_ui on the front-end * add EN/FR locales for the new setting * put Roboto after all other fonts * remove trailing whitespace so CodeClimate is happy * fix user_spec.rb * correctly write user_spect this time * slightly better way of adding the classes * add comments to the system-font stack for clarification * use .system-font for the class instead * don't use multiple lines for comments * remove trailing whitespace * use the classnames module for consistency * use `mastodon-font-sans-serif` instead of Roboto directly
Showing
- app/controllers/settings/preferences_controller.rb 1 addition, 0 deletionsapp/controllers/settings/preferences_controller.rb
- app/javascript/mastodon/features/ui/index.js 12 additions, 2 deletionsapp/javascript/mastodon/features/ui/index.js
- app/javascript/styles/basics.scss 15 additions, 0 deletionsapp/javascript/styles/basics.scss
- app/lib/user_settings_decorator.rb 5 additions, 0 deletionsapp/lib/user_settings_decorator.rb
- app/models/user.rb 4 additions, 0 deletionsapp/models/user.rb
- app/views/home/initial_state.json.rabl 1 addition, 0 deletionsapp/views/home/initial_state.json.rabl
- app/views/settings/preferences/show.html.haml 1 addition, 0 deletionsapp/views/settings/preferences/show.html.haml
- config/locales/simple_form.en.yml 1 addition, 0 deletionsconfig/locales/simple_form.en.yml
- config/locales/simple_form.fr.yml 1 addition, 0 deletionsconfig/locales/simple_form.fr.yml
- config/settings.yml 1 addition, 0 deletionsconfig/settings.yml
- spec/lib/user_settings_decorator_spec.rb 7 additions, 0 deletionsspec/lib/user_settings_decorator_spec.rb
- spec/models/user_spec.rb 8 additions, 0 deletionsspec/models/user_spec.rb
Please register or sign in to comment