15 lines
335 B
TypeScript
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
|
|
);
|