Closed daaaaaaaaaniel closed 2 years ago
I can't merge this branch without overwriting the existing colour scheme, but I can implement the specified colours into a function which queries an environment variable to conditionally set the CSS.
Are the colour values you provided accurate to the ones used in macOS Messages when light mode is enabled (i.e. checked with Digital Color Meter or another utility)?
That would be great! Yes, i used the built-in Digital Color Utility to check these colors.
This has been added in the latest commit, exposing alfred_prefers_color_scheme
, which can be set as auto
, dark
, or light
.
Oddly, v1.1.0 doesn't seem to do anything. v1.0.2 runs fine when I reverted to it. But no messages at all appear when I type "msg" using 1.1.0…
I wanted to add light mode. This pull request changes the text color and message colors to match the macOS light mode theme in the native messages app.
My changes override the dark mode colors. If I knew how, I would have added an option to switch between dark or light mode. But at this time I am unable to make such changes. In the future hopefully somebody else could add that.