Skip to content

color in code #258

Closed
Closed

Description

@azizgozievuzb

Studio version: 0.131.4

**!!!!**How to implement adding color to states or events through code(stately studio)? Why is this not possible? I don't want to manually select each element and steal it. Or select a few, at least steal them. This is also impossible. If this is possible, where is it written, how to do it?

Activity

  1. davidkpiano commented on Mar 19, 2026

    @davidkpiano
    Member

    This is now available:

    • Multi-select color changes
    • Toggle Include colors to add '@statelyai.color': 'pink' etc. which will properly preserve the color when the machine is imported again
    CleanShot.2026-03-19.at.06.43.15.mp4
    Image
  2. azizgozievuzb commented on Mar 21, 2026

    @azizgozievuzb
    Author
  3. davidkpiano commented on Mar 21, 2026

    @davidkpiano
    Member

    Please try again; I just tested this in the studio and multi-selection color changing is working.

    Share a video if it is not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions