Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 4f06bef

Browse files
committed
feat(prefers-color-scheme): add
1 parent dda96bc commit 4f06bef

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

src/core/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
export * from './breakpoint';
2+
export * from './prefers-color-scheme';
23
import Style from './style';
34
export default Style;

src/core/prefers-color-scheme.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
export const dark = '@media (prefers-color-scheme: dark)';
2+
export const light = '@media (prefers-color-scheme: light)';

0 commit comments

Comments
 (0)