Replies: 1 comment 5 replies
-
Hi! Can you point me to some library following this approach? I felt it was important to provide some sensible defaults as a completely unstyled version would look unprofessional. For instance, the title and description are styled with different font sizes and weights. I totally expect library users to customize the visual appearance, and #6 that I'm about to publish will streamline the customization process. Update: I removed this example since it will be invalid in most cases due to css specificity. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
First off, loving the component. Very easy to use, and a quick port over from react-image-lightbox.
Wondering if you might consider making the CSS unopinionated. I'm finding I have to overwrite CSS in order to get the lightbox to match my global styles, when just not having CSS would do the trick.
At the moment, I'm looking at the Captions plugin, where I have to overwrite for the font family, sizes, etc. If the plugin CSS just defaulted to the body copy that would be ideal as it would pick up my global styles. That's my current example.
Just a thought. Thanks again for all your work!
Beta Was this translation helpful? Give feedback.
All reactions