Add CSS for all Media Bundles to the module

Created on 27 July 2022, over 2 years ago
Updated 26 April 2024, 10 months ago

Currently the media bundles stylesheets are located in our base theme (drowl_base_theme).
Instead we should define seperate libraries per bundle and add the stylesheets there.

Like we should do in all our module stylesheets, we should ensure that:
- We use CSS variables over SCSS variables, so themers can easily change colors etc.
- We don't rely on existing drowl_base_theme variables, we should always define variables with fallback values for this module (some on a module scope, some on bundle scope):

/* Module scope */
.media{
  --dm-primary-color: var(--primary-color, #ff0000);
}
/* Bundle scope */
.media-slide{
  --dm-slide-overlay-background: var(--dm-primary-color, #ff0000);
}
📌 Task
Status

Needs work

Version

4.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024