Brand Refresh

This commit is contained in:
Jamie Kyle 2024-11-05 18:05:24 -08:00 committed by GitHub
parent b88100d32a
commit b97e67121f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
181 changed files with 828 additions and 131 deletions

View file

@ -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(