mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-22 03:07:04 +02:00
feat: use bepaint
This commit is contained in:
1 parent
fcf7d99012
commit
2dbf754572
12 files changed
+94
-48
No files matched your search
@@ -1,3 +1,5 @@
|
||||
import { theme } from '../../../stitches.config.js';
|
||||
|
||||
export interface RowDiscriminatorProps {
|
||||
name: string;
|
||||
icon?: string;
|
||||
@@ -25,7 +27,7 @@ export function RowDiscriminator({ name, icon }: RowDiscriminatorProps) {
|
||||
)}
|
||||
<span
|
||||
style={{
|
||||
color: '#A0A0A0',
|
||||
color: theme.colors.textLowContrast,
|
||||
fontSize: 16,
|
||||
textAlign: 'center',
|
||||
display: 'block',
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import { theme } from '../../../stitches.config.js';
|
||||
|
||||
export interface RowStatProps {
|
||||
name: string;
|
||||
value: string;
|
||||
@@ -17,7 +19,9 @@ export function RowStat({ name, value, career, delta }: RowStatProps) {
|
||||
flex: 1,
|
||||
}}
|
||||
>
|
||||
<span style={{ color: '#A0A0A0', fontSize: 12 }}>{career}</span>
|
||||
<span style={{ color: theme.colors.textLowContrast, fontSize: 12 }}>
|
||||
{career}
|
||||
</span>
|
||||
|
||||
<div
|
||||
style={{
|
||||
@@ -38,12 +42,14 @@ export function RowStat({ name, value, career, delta }: RowStatProps) {
|
||||
/>
|
||||
)}
|
||||
|
||||
<span style={{ color: 'white', fontSize: 16, fontWeight: 'bold' }}>
|
||||
<span style={{ color: theme.colors.textHighContrast, fontSize: 16, fontWeight: 'bold' }}>
|
||||
{value}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<span style={{ color: '#A0A0A0', fontSize: 12 }}>{name}</span>
|
||||
<span style={{ color: theme.colors.textLowContrast, fontSize: 12 }}>
|
||||
{name}
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user