deckhearth/lib/deck-format-utils.js

24 lines
533 B
JavaScript
Raw Permalink Normal View History

export const DECK_FORMAT_OPTIONS = ['Commander', 'Standard', 'Modern', 'Legacy'];
export const DECK_INPUT_FIELD_CLASS = 'input-field w-full';
export const DECK_FORMAT_BADGE_STYLE = {
backgroundColor: 'var(--bg-tertiary)',
color: 'var(--text-primary)',
};
export function getDeckFormatIcon(format) {
switch (format) {
case 'Commander':
return '⚔️';
case 'Standard':
return '🏆';
case 'Modern':
return '🔥';
case 'Legacy':
return '💎';
default:
return '🃏';
}
}