signal-desktop/ts/badges/BadgeImageTheme.ts
2021-11-02 16:01:13 -07:00

15 lines
335 B
TypeScript

// 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
);