View Single Post
Old 02-27-2025, 10:46 AM   #1226
naidje
Junior Member
naidje began at the beginning.
 
naidje's Avatar
 
Posts: 5
Karma: 10
Join Date: Oct 2022
Device: Kobo Sage
Quote:
Originally Posted by AsherMaximum View Post
You can do this by changing this patch in nickel.yaml to have it update the color to white (#fffff) instead of black (#000000). Comment out the rest of the patch that you don't want to use

Code:
New home screen subtitle custom font:
  - Enabled: no
  - Description: |
      On the Home screen:
        Change upper label font-size
        Change subtitle (lower label) font size and/or font colour.
      Upper label example is the black text caption
      - 'x% Read' - top row
      - 'My Books' - middle row
      Subtitle (lower label) examples are the grey text captions containing:
      - 'x HOURS TO GO' for kepubs (not shown for epubs) - top row
      - 'x BOOKS' under 'My Books' - middle row
      Works best when used with with patch `Increase home screen cover size`
  - FindZlib: "#homeWidgetTopContainer" # qss/GenericHomeWidget.qss
  - ReplaceZlibGroup:
      Replacements:
        # Change subtitle (lower label) font colour from mid-grey to black
        - {Find: "MetaDataLabel {\n  color: #666666;\n  qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n  color: #000000;\n  qproperty-indent: 0;\n}"}
So this only works on the Home screen, but not in the My Books list. I already have my Sage set in SideloadedMode, so I don't see the Home screen to begin with. The My books list is really where I would like to get rid of the "x hours to go" text.

I wonder if there's a way to make this same font color trick work there as well? There's a patch to change the size of the covers on the My Books screen, so perhaps there's a way to adjust the text styling as well?
naidje is offline   Reply With Quote