← All changes
|
backend/views/components/ProPlan/components/Badge.jsx
+4
-4
1.4.4
→
1.4.22
View file →
| @@ -1,13 +1,13 @@ | ||
| 1 | 1 | const Badge = ({ children, color = 'green' }) => { |
| 2 | 2 | const colors = { |
| 3 | - green: 'disco-bg-emerald-100 disco-text-emerald-700', | |
| 4 | - orange: 'disco-bg-orange-100 disco-text-orange-600', | |
| 5 | - blue: 'disco-bg-blue-100 disco-text-blue-600', | |
| 3 | + green: 'disco:bg-emerald-100 disco:text-emerald-700', | |
| 4 | + orange: 'disco:bg-orange-100 disco:text-orange-600', | |
| 5 | + blue: 'disco:bg-blue-100 disco:text-blue-600', | |
| 6 | 6 | }; |
| 7 | 7 | return ( |
| 8 | 8 | <span |
| 9 | - className={`disco-inline-block disco-text-xs disco-font-semibold disco-px-2 disco-py-0.5 disco-rounded-full ${colors[color]}`} | |
| 9 | + className={`disco:inline-block disco:text-xs disco:font-semibold disco:px-2 disco:py-0.5 disco:rounded-full ${colors[color]}`} | |
| 10 | 10 | > |
| 11 | 11 | {children} |
| 12 | 12 | </span> |
| 13 | 13 | ); |