signal-desktop/ts/badges/BadgeImageTheme.ts

16 lines
335 B
TypeScript
Raw Normal View History

2021-11-02 23:01:13 +00:00
// Copyright 2021 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import { makeEnumParser } from '../util/enum';
export enum BadgeImageTheme {
Light = 'light',
Dark = 'dark',
Transparent = 'transparent',
}
export const parseBadgeImageTheme = makeEnumParser(
BadgeImageTheme,
BadgeImageTheme.Transparent
);