Skip to content

Commit

Permalink
fix(panels): enforce fixed-length array for color theme values
Browse files Browse the repository at this point in the history
Change color theme type from variable-length list to fixed-length array of 3 floats,
ensuring correct RGB color value representation in RON format
  • Loading branch information
HeitorAugustoLN committed Jan 1, 2025
1 parent ee52b62 commit 19638e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/panels.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ in
"Dark"
"Light"
"ThemeDefault"
]) (ronTupleEnumOf (listOf float) [ "Color" ]);
]) (ronTupleEnumOf (ronArrayOf float 3) [ "Color" ]);
example = {
__type = "enum";
variant = "Dark";
Expand Down

0 comments on commit 19638e1

Please sign in to comment.