Skip to content

Support fillStyleId #76

Description

@donfour

Resources:

Thoughts:

  • Probably not much use in HTML + inline CSS
  • For JS + inline CSS, we can create a string variable from the paint style, then use it whenever the color needs to be used. For example:
const blue = "#235EE7";
// inside the component...
<div style={{ color: blue, /* other styles */}}>Title</div>
  • For JS/HTML + Tailwind CSS, we can add the colors into tailwind.config.js:
module.exports = {
  theme: {
    colors: {
      'blue': '#235EE7',
    },
  },
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions