Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Feature Requests
  3. Faux bold & italic in the Cloudron dashboard and how to quick fix

Faux bold & italic in the Cloudron dashboard and how to quick fix

Scheduled Pinned Locked Moved Solved Feature Requests
3 Posts 2 Posters 349 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • dev-cbD Offline
    dev-cbD Offline
    dev-cb
    wrote on last edited by
    #1

    Hi,

    I was just noticing that the notification titles in the Cloudron dashboard looked awfully odd. When looking at the theme.scss to check what’s off, I was noticing the following:

    The font-weight is set to bold (theme.scss#L1648)

    Digging deeper I was noticing, that there were only two @font-face rules defined in (theme.scss#L58-66)

    • only two font files are loaded: Light and Regular
    • no font-style descriptor, so default font-style: normal would be applied
    • no font-weight descriptor, so default font-weight: normal would be applied

    Since there are only two font files loaded (Light, Regular) there is no file for the bold/700 weight – unless you’ve installed the font locally on your device.

    This will cause the browser to faux bold the notification title. That’s basically just an outline to make the font appear bolder but that leads to crappy results. (more about that phenomenon here)
    BTW, the same applies to font-style: If there is no italic font file loaded the browser will slant the font which results in faux italics. (more here)

    Here is a comparison of faux (left) and correct (right):
    2ced8eb0-7e75-4563-bb38-fe3827413408-image.png

    The fix is easy: Load the entire Roboto font family, incl. all italic styles.

    1 Reply Last reply
    3
    • nebulonN Offline
      nebulonN Offline
      nebulon
      Staff
      wrote on last edited by
      #2

      Great catch, we will include the proper font!

      1 Reply Last reply
      1
      • nebulonN nebulon marked this topic as a question on
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #3

        Fixed for next release with https://git.cloudron.io/cloudron/box/-/commit/8e4506382d77e1a167096012c5aebb4ad7cc8f79

        1 Reply Last reply
        4
        • nebulonN nebulon has marked this topic as solved on
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search