refactor: make choices object, move out style
this should allow to write 'isBeating' function over choices. and maybe move to enums
This commit is contained in:
@@ -86,9 +86,9 @@
|
||||
--translation: 50%;
|
||||
position: absolute;
|
||||
"
|
||||
th:style="| --diameter: ${choiceBadgeData.c.diameter};
|
||||
--bg-dark: ${choiceBadgeData.c.bgDark};
|
||||
--bg-bright: ${choiceBadgeData.c.bgBright};
|
||||
th:style="| --diameter: ${choiceBadgeData.s.diameter};
|
||||
--bg-dark: ${choiceBadgeData.s.bgDark};
|
||||
--bg-bright: ${choiceBadgeData.s.bgBright};
|
||||
${choiceBadgeData.p.toStyle}; |"
|
||||
>
|
||||
<div
|
||||
|
||||
Reference in New Issue
Block a user