N°4460 - Allow to customize skeleton placeholders colors using CSS3 variables

This commit is contained in:
Stephen Abello
2023-03-02 15:45:36 +01:00
parent bccdb1bc3a
commit 3021234895
6 changed files with 31 additions and 13 deletions

View File

@@ -38,7 +38,7 @@
<linearGradient id="dashboard-fill">
<stop
offset="0.599964"
stop-color="#f3f3f3"
stop-color="var(--skeleton-start-color)"
stop-opacity="1"
>
<animate
@@ -51,7 +51,7 @@
</stop>
<stop
offset="1.59996"
stop-color="#ecebeb"
stop-color="var(--skeleton-stop-color)"
stop-opacity="1"
>
<animate
@@ -64,7 +64,7 @@
</stop>
<stop
offset="2.59996"
stop-color="#f3f3f3"
stop-color="var(--skeleton-start-color)"
stop-opacity="1"
>
<animate

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -39,7 +39,7 @@
<linearGradient id="list-fill">
<stop
offset="0.599964"
stop-color="#f3f3f3"
stop-color="var(--skeleton-start-color)"
stop-opacity="1"
>
<animate
@@ -52,7 +52,7 @@
</stop>
<stop
offset="1.59996"
stop-color="#ecebeb"
stop-color="var(--skeleton-stop-color)"
stop-opacity="1"
>
<animate
@@ -65,7 +65,7 @@
</stop>
<stop
offset="2.59996"
stop-color="#f3f3f3"
stop-color="var(--skeleton-start-color)"
stop-opacity="1"
>
<animate

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

View File

@@ -44,7 +44,7 @@
<linearGradient id="object-fill">
<stop
offset="0.599964"
stop-color="#f3f3f3"
stop-color="var(--skeleton-start-color)"
stop-opacity="1"
>
<animate
@@ -57,7 +57,7 @@
</stop>
<stop
offset="1.59996"
stop-color="#ecebeb"
stop-color="var(--skeleton-stop-color)"
stop-opacity="1"
>
<animate
@@ -70,7 +70,7 @@
</stop>
<stop
offset="2.59996"
stop-color="#f3f3f3"
stop-color="var(--skeleton-start-color)"
stop-opacity="1"
>
<animate

Before

Width:  |  Height:  |  Size: 3.2 KiB

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@@ -39,7 +39,7 @@
<linearGradient id="misc-fill">
<stop
offset="0.599964"
stop-color="#f3f3f3"
stop-color="var(--skeleton-start-color)"
stop-opacity="1"
>
<animate
@@ -52,7 +52,7 @@
</stop>
<stop
offset="1.59996"
stop-color="#ecebeb"
stop-color="var(--skeleton-stop-color)"
stop-opacity="1"
>
<animate
@@ -65,7 +65,7 @@
</stop>
<stop
offset="2.59996"
stop-color="#f3f3f3"
stop-color="var(--skeleton-start-color)"
stop-opacity="1"
>
<animate

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB