Move color definitions out of response rate presenter and into _colors.scss

This commit is contained in:
rebuilt 2023-05-22 12:29:26 -07:00
parent a785c69c44
commit 65ca0fd1ac
3 changed files with 7 additions and 6 deletions

View file

@ -26,7 +26,7 @@
position: absolute;
border-radius: 50%;
inset: 0;
background: conic-gradient(<%= response_rate_presenter.color %> calc(<%= response_rate_presenter.percentage %>*1%),#0000 0);
background: conic-gradient(var(--color-<%= response_rate_presenter.color %>) calc(<%= response_rate_presenter.percentage %>*1%),#0000 0);
}
</style>