Commit Graph
18 Commits
Author SHA1 Message Date
Romain Vigier 769b3dc00a Only warn user once when Night Light is disabled 2020-02-27 14:25:13 +01:00
Romain Vigier b052d85b43 Use Map to store variants 2020-02-27 10:02:06 +01:00
Romain Vigier 1cb9608a3d Update code documentation 2020-02-27 09:01:44 +01:00
Romain d2a86b5c0d Move theme logic to Themer, add debug output 2020-02-26 16:22:54 +00:00
Romain Vigier 989bfde395 Fix typos 2020-02-26 13:13:01 +01:00
Romain Vigier 4e681c82cd Fix original user theme not restored when disabling the extension 2020-02-25 21:47:37 +01:00
Romain Vigier 53d37fae53 Add utility function 2020-02-25 21:35:12 +01:00
Romain Vigier df8651e3dc Fix Themer not listening to theme changes 2020-02-25 21:31:09 +01:00
Romain Vigier 38dd7571ed Code refactoring 2020-02-25 21:13:33 +01:00
Romain 0d7be71955 Code refactoring 2020-02-25 20:09:44 +00:00
Romain 93b8f99d90 Check if Night Light is enabled 2020-02-25 19:43:12 +00:00
Romain Vigier 2a4750eb71 Don't guess new variants if this is the same theme 2020-02-24 16:48:05 +01:00
Romain Vigier df374d5e9b Improve variants guessing 2020-02-24 16:18:42 +01:00
Romain Vigier 56d5086f13 Fix typo 2020-02-24 15:25:49 +01:00
Romain Vigier 87a8f52027 Fix '-darker' theme variant getting stripped for day variant instead of '-darkest' 2020-02-23 20:07:14 +01:00
Romain Vigier 1818e50382 Add code documentation 2020-02-23 20:05:21 +01:00
Romain Vigier ff9d04cdb2 Always apply theme variant on theme change 2020-02-23 15:34:13 +01:00
Romain 337609a0ae Split modules into different files 2020-02-14 10:14:39 +00:00