Skip to content

Enhancements on Custom Themes #2011

Closed
Closed
@thomascarman

Description

@thomascarman

Describe the feature in detail (code, mocks, or screenshots encouraged)

I came across this issue that my enhancements to a custom theme were not applying after upgrading v2 following the css-js conversion instruction in documentation. I'm looking to help with the project. I will submit a pull request to add this feature to the project.

if(theme.enhancements) {
  baseStyles = { ...baseStyles, ...theme.enhancements };
}

What type of pull request would this be?

Enhancement

Provide relevant links or additional information.

While in the types.ts file for the tw-plugin it has an example for enhancements on custom elements, but the index.ts file only parses through theme properties and properties_dark.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequest a feature or introduce and update to the project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions