yfm-transform icon indicating copy to clipboard operation
yfm-transform copied to clipboard

feat: add theme for image

Open u4aew opened this issue 1 year ago • 1 comments

Description

Added the ability to theme images by setting data-theme. Support for light and dark themes.

Related issue: #521

u4aew avatar Dec 14 '24 07:12 u4aew

Thank you for your contribution. At the moment, we're encountering some difficulties with implementing this feature. As a prerequisite, we need to introduce a 'theme' entity into the transform, which we plan to address in a separate PR.

Once we have successfully integrated the theme, we anticipate relying on the theme set in the <body>, rather than the attribute [data-theme='light/dark'].

Once we've settled on how to support themes in the transform, we will return to this PR for further progress.

martyanovandrey avatar Dec 27 '24 14:12 martyanovandrey