Skip to content

ColorPreference ​

현재 기기의 색상 모드를 나타내는 타입이에요. 라이트모드, 다크모드를 나타내는 문자열이에요

시그니처 ​

typescript
type ColorPreference = 'light' | 'dark';

타입 정의 ​

ColorPreference ​

'light' | 'dark'