Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 683 Bytes

color-scheme.md

File metadata and controls

26 lines (20 loc) · 683 Bytes

Color Scheme

Can I Use color-scheme?

The color-scheme CSS property allows an element to indicate which color schemes it can comfortably be rendered in.

When a user selects one of these color schemes, the operating system makes adjustments to the user interface. This includes form controls, scrollbars, and the used values of CSS system colors.

Example:

color-scheme: dark;
/*
  color-scheme: normal;
  color-scheme: light;
  color-scheme: dark;
  color-scheme: light dark;

Global values
  color-scheme: inherit;
  color-scheme: initial;
  color-scheme: revert;
  color-scheme: revert-layer;
  color-scheme: unset;
*/