mirror of
https://github.com/danth/stylix
synced 2024-11-22 12:13:08 +00:00
treewide: add soft deprecation dates (#506)
Add soft deprecation dates to guide the hard deprecation transitions. Fixes:3567250ba0
("Properly warn users that stylix.palette.* has been removed") Fixes:94aa0fc0fb
("nixvim: rename transparency options to camelCase (#497)")
This commit is contained in:
parent
5853f1a8bd
commit
6858d08ed0
2 changed files with 34 additions and 0 deletions
|
@ -14,9 +14,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
# Added: 2024-08-06
|
||||||
(lib.mkRenamedOptionModule
|
(lib.mkRenamedOptionModule
|
||||||
[ "stylix" "targets" "nixvim" "transparent_bg" "main" ]
|
[ "stylix" "targets" "nixvim" "transparent_bg" "main" ]
|
||||||
[ "stylix" "targets" "nixvim" "transparentBackground" "main" ])
|
[ "stylix" "targets" "nixvim" "transparentBackground" "main" ])
|
||||||
|
|
||||||
|
# Added: 2024-08-06
|
||||||
(lib.mkRenamedOptionModule
|
(lib.mkRenamedOptionModule
|
||||||
[ "stylix" "targets" "nixvim" "transparent_bg" "sign_column" ]
|
[ "stylix" "targets" "nixvim" "transparent_bg" "sign_column" ]
|
||||||
[ "stylix" "targets" "nixvim" "transparentBackground" "signColumn" ])
|
[ "stylix" "targets" "nixvim" "transparentBackground" "signColumn" ])
|
||||||
|
|
|
@ -23,21 +23,52 @@ let
|
||||||
in {
|
in {
|
||||||
# TODO link to doc on how to do instead
|
# TODO link to doc on how to do instead
|
||||||
imports = [
|
imports = [
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base00" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base00" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base01" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base01" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base02" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base02" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base03" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base03" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base04" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base04" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base05" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base05" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base06" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base06" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base07" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base07" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base08" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base08" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base09" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base09" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0A" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0A" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0B" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0B" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0C" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0C" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0D" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0D" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0E" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0E" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
|
|
||||||
|
# Added: 2023-02-02
|
||||||
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0F" ] "Using stylix.palette to override scheme is not supported anymore")
|
(lib.mkRemovedOptionModule [ "stylix" "palette" "base0F" ] "Using stylix.palette to override scheme is not supported anymore")
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue