Skip to content

miyako/4d-plugin-appearance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

version platform license downloads

4d-plugin-appearance

Observe changes for the macOS appearance

inspired by ruiaureliano/macOS-Appearance

Syntax

scheme:=Get system color scheme
scheme:=Get effective color scheme
  1. On Catalina and above, read NSUserDefaults AppleInterfaceStyleSwitchesAutomatically for "auto".

  2. If not "auto", on Mojave or later, read NSUserDefaults AppleInterfaceStyle for "light" or "dark".

ON APPEARANCE CHANGE CALL(method)

#DECLARE($mode:Text) $1 is either light or dark

miyako.github.io