KCL: [number; 3] to RGB hex string color function (#7184)

Closes https://github.com/KittyCAD/modeling-app/issues/6805. Enables users to programatically construct colors, which will be helpful for 

- Applying color to visualize program execution and help debugging
- Doing weird cool shit
This commit is contained in:
Adam Chalmers
2025-05-23 13:53:58 -05:00
committed by GitHub
parent 034366e65e
commit 1f53dd1357
17 changed files with 285 additions and 3 deletions

View File

@ -42,7 +42,10 @@ pub fn do_for_all_example_test(item: proc_macro2::TokenStream) -> proc_macro2::T
item.into_token_stream()
}
pub const TEST_NAMES: [&str; 93] = [
pub const TEST_NAMES: &[&str] = &[
"std-appearance-hexString-0",
"std-appearance-hexString-1",
"std-appearance-hexString-2",
"std-array-map-0",
"std-array-map-1",
"std-array-pop-0",