View Single Post
Old 11-30-2021, 08:14 PM   #90
Deobulakenyo
Guru
Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.Deobulakenyo ought to be getting tired of karma fortunes by now.
 
Posts: 706
Karma: 2153490
Join Date: Aug 2021
Location: Stupid Philippines
Device: Kobo Libra 2, Boyue Likebook P78
In this code, how do I insert the replacement codes the font color for the Homescreen subtitle in the Libra 2?

Code:
New home screen subtitle custom font:
  - Enabled: no
  - Description: |
      Increase subtitle font size, font color black. Works best when used
      with with patch `New home screen increasing cover size`
  - BaseAddress: 0x168120B # qss/GenericHomeWidget.qss
  - ReplaceZlib: {Find: "MetaDataLabel {\n  color: #666666;\n  qproperty-indent: 0;\n}", Replace: "MetaDataLabel {\n  color: #000000;\n  qproperty-indent: 0;\n}"}
  - ReplaceZlib:
      Find:    "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 13px;\n}"
      Replace: "MetaDataLabel[qApp_deviceIsTrilogy=true] {\n  font-size: 14px;\n}"
  - ReplaceZlib:
      Find:    "MetaDataLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 17px;\n}"
      Replace: "MetaDataLabel[qApp_deviceIsPhoenix=true] {\n  font-size: 18px;\n}"
  - ReplaceZlib:
      Find:    "MetaDataLabel[qApp_deviceIsDragon=true] {\n  font-size: 24px;\n}"
      Replace: "MetaDataLabel[qApp_deviceIsDragon=true] {\n  font-size: 26px;\n}"
  - ReplaceZlib:
      Find:    "MetaDataLabel[qApp_deviceIsDaylight=true] {\n  font-size: 31px;\n}"
      Replace: "MetaDataLabel[qApp_deviceIsDaylight=true] {\n  font-size: 34px;\n}"
is it like this?:

- ReplaceZlib:
Find: "MetaDataLabel {\n color: #666666;\n qproperty-indent: 0;\n}"
Replace: "MetaDataLabel {\n color: #332b2b;\n qproperty-indent: 0;\n}"


I don't get this part: qproperty-indent: 0;\n

Last edited by Deobulakenyo; 11-30-2021 at 08:20 PM.
Deobulakenyo is offline   Reply With Quote