Skip to content

CSS variable --pswp-preloader-color is defined but seems not to be utilized #2047

@porg

Description

@porg

/assets/ps5/lib/photoswipe.css contains:

--pswp-preloader-color: rgba(79, 79, 79, 0.4);
--pswp-preloader-color-secondary: rgba(255, 255, 255, 0.9);
  • But they seem to have been just created but not (yet) utilized.

  • Loading the demo page loading-indicator-preloader in your browser and then modding those CSS variables in DevTools yields no visible change.

  • The preloader icon (aka "spinner") seems to use simply the --pswp-icon-color.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions