refactor: перевёл цвета на CSS-переменные

This commit is contained in:
2026-05-14 02:44:44 +03:00
parent a42a305a12
commit fbec0cc08a
20 changed files with 240 additions and 114 deletions
+6 -6
View File
@@ -17,8 +17,8 @@ defineProps<{ amount: number }>()
display: inline-flex;
align-items: center;
gap: 5px;
background: linear-gradient(135deg, rgba(251,191,36,0.2), rgba(245,158,11,0.15));
border: 1px solid rgba(245,158,11,0.4);
background: var(--gradient-coin-chip);
border: 1px solid var(--color-warning-a40);
border-radius: 20px;
padding: 5px 12px;
cursor: default;
@@ -26,9 +26,9 @@ defineProps<{ amount: number }>()
white-space: nowrap;
}
.coin-chip:hover {
background: linear-gradient(135deg, rgba(251,191,36,0.3), rgba(245,158,11,0.25));
background: var(--gradient-coin-chip-hover);
}
.coin-icon { color: #78350F; }
.coin-amount { font-weight: 800; font-size: 14px; color: #78350F; }
.coin-label { font-size: 12px; color: #92400E; }
.coin-icon { color: var(--color-brown-dark); }
.coin-amount { font-weight: 800; font-size: 14px; color: var(--color-brown-dark); }
.coin-label { font-size: 12px; color: var(--color-warning-text); }
</style>