Skip to content
This repository was archived by the owner on Jan 7, 2026. It is now read-only.
This repository was archived by the owner on Jan 7, 2026. It is now read-only.

bug: remove() does not exist on type 'LibraryColor' but it works #203

@a-ng-d

Description

@a-ng-d

Steps To Reproduce

  1. Retrieve a specific color by listing every color in the Colors library via penpot.library.local.colors (find by name, id, or value)
  2. Remove this color using the remove() method

Expected behavior

  1. No error or warning is pushed by the typescript checker on VSCode
  2. The color is removed from the Colors library

Actual behavior

  1. An error is pushed by the typescript checker on VSCode, but it is not blocked by the Vite builder
  2. The color is removed from the Colors library

Screenshots or video

Image

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingmanaged on taigaThis issue has been moved to our project at Taiga.io

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions