Brand Refresh
This commit is contained in:
parent
b88100d32a
commit
b97e67121f
181 changed files with 828 additions and 131 deletions
|
@ -10,6 +10,7 @@ import type {
|
|||
} from '../../context/createNativeThemeListener';
|
||||
import { createNativeThemeListener } from '../../context/createNativeThemeListener';
|
||||
import type { NativeThemeState } from '../../types/NativeThemeNotifier.d';
|
||||
import { SystemThemeType } from '../../types/Util';
|
||||
|
||||
class FakeIPC extends EventEmitter implements MinimalIPC {
|
||||
constructor(private readonly state: NativeThemeState) {
|
||||
|
@ -29,7 +30,7 @@ class FakeIPC extends EventEmitter implements MinimalIPC {
|
|||
}
|
||||
|
||||
describe('NativeThemeListener', () => {
|
||||
const holder: SystemThemeHolder = { systemTheme: 'dark' };
|
||||
const holder: SystemThemeHolder = { systemTheme: SystemThemeType.dark };
|
||||
|
||||
it('syncs the initial native theme', () => {
|
||||
const dark = createNativeThemeListener(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue