UNPKG

772 BMarkdownView Raw
1# Changes to Prefers Color Scheme
2
3### 3.1.0 (November 10, 2018)
4
5- Include CLI tool for transforming CSS without any installation
6- Update documentation
7
8### 3.0.0 (November 4, 2018)
9
10- Preserve `prefers-color-scheme` queries by default for non-JS environments
11- Remove `prefers-color-scheme` queries on the frontend for JS environments
12
13### 2.0.0 (November 3, 2018)
14
15- The client library now returns an object with various features, including:
16 - `scheme` to get or set the preferred color scheme
17 - `hasNativeSupport` to report whether `prefers-color-scheme` is supported
18 - `onChange` to listen for when the preferred color scheme changes
19 - `removeListener` to destroy the native `prefers-color-scheme` listener
20
21### 1.0.0 (September 24, 2018)
22
23- Initial version