User Tools

Site Tools


manual:Preferences

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
manual:Preferences [2019/06/30 22:22]
peternlewis [Engine]
manual:Preferences [2019/06/30 22:41]
peternlewis [Engine]
Line 353: Line 353:
  
     {      { 
-        "ExcludeTexture":<​BOOLEAN>,​+        "IncludeTexture":<​BOOLEAN>,​
         "​TitleBackground":<​COLORorGRADIENT>,​         "​TitleBackground":<​COLORorGRADIENT>,​
         "​TitleBorder":<​COLORorGRADIENT>,​         "​TitleBorder":<​COLORorGRADIENT>,​
Line 366: Line 366:
     }     }
  
 +^ Type ^ Value ^
 +| <​BOOLEAN>​ | “true” or “false” |
 +| <​COLOR>​ | an array of three numbers, being hue (0-360), saturation (0-100), and brightness (0-100) |
 +| <​COLORorGRADIENT>​ | either a <​COLOR>​ or a dictionary {"​c1":<​COLOR>,​ "​c2":<​COLOR>,​ "​angle":<​0-360>​} |
 +
 +IncludeTexture specifies whether Keyboard Maestro includes the subtle mottling texture on the main background.
 +
 +For example:
 +
 + defaults write com.stairways.keyboardmaestro.engine CustomPaletteTheme -string '​{ ​
 + "​IncludeTexture":​false,​
 + "​TitleBackground":​{"​c1"​ : [180,​30,​53],​ "​c2"​ : [180,​30,​40],​ "​angle":​270},​
 + "​TitleBorder":​[180,​30,​40],​
 + "​BodyBackground":​{"​c1"​ : [180,​30,​50],​ "​c2"​ : [180,​30,​38],​ "​angle":​270},​
 + "​BodyBackgroundSelected":​[180,​30,​60],​
 + "​Frame":​[180,​30,​40],​
 + "​TitleText":​[180,​40,​92],​
 + "​Text":​[180,​40,​92],​
 + "​TextHighlighted":​[180,​40,​70],​
 + "​TextSelected":​[180,​40,​98],​
 + "​TextSelectedHighlighted":​[180,​40,​75],​
 + }'
 +
 +NoteL the “-string” is important - otherwise the `defaults` command will interpret the JSON itself and that will not work.
manual/Preferences.txt · Last modified: 2023/11/07 00:14 by peternlewis