Skip to content
This repository was archived by the owner on Aug 11, 2021. It is now read-only.

Fix - revamp Loader (inline SVG)#541

Open
nico3333fr wants to merge 5 commits intomasterfrom
fix/revampLoader
Open

Fix - revamp Loader (inline SVG)#541
nico3333fr wants to merge 5 commits intomasterfrom
fix/revampLoader

Conversation

@nico3333fr
Copy link
Contributor

Short description of what this resolves:

I needed to have a loader that could have primary color, in order to have export contacts loader in primary color (which is dark mode compatible), and probably other loaders to come for other projects.

Changes proposed in this pull request:

  • inlined SVG for loading animation (this is lighter!)
  • added option bgColor in order to style with primary color of project (good for VPN), by default, it will be black (and white in dark mode)
  • sizes and design remains the same as actually

Snapshot

Example in contacts: <Loader bgColor="primary" size="medium" />
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants