mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
18 lines
418 B
Nix
18 lines
418 B
Nix
|
{ pkgs, lib }:
|
||
|
|
||
|
let
|
||
|
sampleBase16Scheme = lib.trivial.importYAML ./sample-base16-scheme.yml;
|
||
|
sampleBase24Scheme = lib.trivial.importYAML ./sample-base24-scheme.yml;
|
||
|
in
|
||
|
pkgs.lib.runTests {
|
||
|
testIsBase16 = {
|
||
|
expr = lib.tinted-theming.isBase16 sampleBase16Scheme.palette;
|
||
|
expected = true;
|
||
|
};
|
||
|
|
||
|
testIsBase24 = {
|
||
|
expr = lib.tinted-theming.isBase24 sampleBase24Scheme.palette;
|
||
|
expected = true;
|
||
|
};
|
||
|
}
|