Steps To Reproduce
- Retrieve a specific color by listing every color in the Colors library via
penpot.library.local.colors (find by name, id, or value)
- Remove this color using the
remove() method
Expected behavior
- No error or warning is pushed by the typescript checker on VSCode
- The color is removed from the Colors library
Actual behavior
- An error is pushed by the typescript checker on VSCode, but it is not blocked by the Vite builder
- The color is removed from the Colors library
Screenshots or video
Desktop (please complete the following information)
- OS: macOS 15.5 (24F74)
- VSCode: 1.101.0 (Universal)
Smartphone (please complete the following information)
No response
Environment (please complete the following information)
Frontend Stack Trace
Backend Stack Trace
Additional context
The remove() method is not mentioned on the docs, but it works on the cloud-installed instance.
Steps To Reproduce
penpot.library.local.colors(find by name, id, or value)remove()methodExpected behavior
Actual behavior
Screenshots or video
Desktop (please complete the following information)
Smartphone (please complete the following information)
No response
Environment (please complete the following information)
Frontend Stack Trace
Backend Stack Trace
Additional context
The
remove()method is not mentioned on the docs, but it works on the cloud-installed instance.