Skip to content

Commit

Permalink
style: variable css color for loader
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienDeveaux committed Dec 13, 2024
1 parent 3e398e4 commit ecb85d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ class MiniGraphCard extends LitElement {
return svg`
<div style="align-items: center; justify-content: center; display: flex;">
<svg width="100%" height="100%" viewBox="0 0 500 ${height}">
<circle cx="50%" cy="50%" r="0" fill="#818181">
<circle cx="50%" cy="50%" r="0" fill="var(--secondary-text-color)">
<animate attributeName="r" calcMode="spline" dur="1.2s" values="10;20" keySplines=".52,.6,.25,.99" repeatCount="indefinite"/>
<animate attributeName="opacity" calcMode="spline" dur="1.2s" values="1;0" keySplines=".52,.6,.25,.99" repeatCount="indefinite"/>
</circle>
Expand Down

0 comments on commit ecb85d5

Please sign in to comment.