Dark theme for calling device selection
This commit is contained in:
parent
31c2fe56f4
commit
a9367f48f1
10 changed files with 70 additions and 36 deletions
16
ts/test-both/util/theme_test.ts
Normal file
16
ts/test-both/util/theme_test.ts
Normal file
|
@ -0,0 +1,16 @@
|
|||
// Copyright 2019-2020 Signal Messenger, LLC
|
||||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import { assert } from 'chai';
|
||||
|
||||
import { Theme, themeClassName } from '../../util/theme';
|
||||
|
||||
describe('themeClassName', () => {
|
||||
it('returns "light-theme" when passed a light theme', () => {
|
||||
assert.strictEqual(themeClassName(Theme.Light), 'light-theme');
|
||||
});
|
||||
|
||||
it('returns "dark-theme" when passed a dark theme', () => {
|
||||
assert.strictEqual(themeClassName(Theme.Dark), 'dark-theme');
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue