mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 11:39:50 +02:00
feat: merge themes
This commit is contained in:
1 parent
0833375562
commit
80ffff322c
4 files changed
+16
-15
No files matched your search
@@ -2,7 +2,7 @@ import {
|
||||
TANK_ICONS,
|
||||
TANK_ICONS_PREMIUM,
|
||||
} from '../../../core/blitz/tankopedia.js';
|
||||
import { theme, themeAmber } from '../../../stitches.config.js';
|
||||
import { theme } from '../../../stitches.config.js';
|
||||
|
||||
export interface ItemProps {
|
||||
image?: string;
|
||||
@@ -23,7 +23,7 @@ export function Item({ image, type, name, isPremium }: ItemProps) {
|
||||
alignItems: 'center',
|
||||
borderRadius: 4,
|
||||
backgroundColor: isPremium
|
||||
? themeAmber.colors.componentInteractive
|
||||
? theme.colors.componentInteractive_amber
|
||||
: theme.colors.componentInteractive,
|
||||
}}
|
||||
>
|
||||
@@ -48,7 +48,7 @@ export function Item({ image, type, name, isPremium }: ItemProps) {
|
||||
fontSize: 16,
|
||||
whiteSpace: 'nowrap',
|
||||
color: isPremium
|
||||
? themeAmber.colors.textLowContrast
|
||||
? theme.colors.textLowContrast_amber
|
||||
: theme.colors.textHighContrast,
|
||||
}}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user