There are other changes too, such as some tiny refactors to make some things a small bit more readable. For example: I added a variable in `cityseventeen/apps.nix` to make environment variables a small bit easier to read. It is pretty much the same case in `cityseventeen/themes.nix` except I used map to get each attribute set with package instead of mapAttrs. There are also some minor tweaks here and there but it isn't worth talking about.
3 lines
115 B
Python
3 lines
115 B
Python
def darkmode_on(config, pages):
|
|
for p in pages:
|
|
config.set("colors.webpage.darkmode.enabled", True, p)
|