diff --git a/features/forced-colors.yml b/features/forced-colors.yml new file mode 100644 index 00000000000..3505fa3513a --- /dev/null +++ b/features/forced-colors.yml @@ -0,0 +1,14 @@ +name: Forced colors +description: The `forced-colors` CSS @media rule detects when a user has chosen to use a forced colors mode, also known as high-contrast mode, and the `forced-color-adjust` CSS property sets whether forced colors apply to an element. +spec: + - https://drafts.csswg.org/mediaqueries-5/#forced-colors + - https://drafts.csswg.org/css-color-adjust-1/#forced-color-adjust-prop +group: css +status: + compute_from: css.at-rules.media.forced-colors +compat_features: + - css.at-rules.media.forced-colors + - css.properties.forced-color-adjust + - css.properties.forced-color-adjust.auto + - css.properties.forced-color-adjust.none + - css.properties.forced-color-adjust.preserve-parent-color diff --git a/features/forced-colors.yml.dist b/features/forced-colors.yml.dist new file mode 100644 index 00000000000..75d6565619d --- /dev/null +++ b/features/forced-colors.yml.dist @@ -0,0 +1,45 @@ +# Generated from: forced-colors.yml +# Do not edit this file by hand. Edit the source file instead! + +status: + baseline: low + baseline_low_date: 2022-09-12 + support: + chrome: "89" + chrome_android: "89" + edge: "79" + firefox: "89" + firefox_android: "89" + safari: "16" + safari_ios: "16" +compat_features: + # ⬇️ Same status as overall feature ⬇️ + # baseline: low + # baseline_low_date: 2022-09-12 + # support: + # chrome: "89" + # chrome_android: "89" + # edge: "79" + # firefox: "89" + # firefox_android: "89" + # safari: "16" + # safari_ios: "16" + - css.at-rules.media.forced-colors + + # baseline: false + # support: + # chrome: "89" + # chrome_android: "89" + # edge: "79" + # firefox: "113" + # firefox_android: "113" + - css.properties.forced-color-adjust + - css.properties.forced-color-adjust.auto + - css.properties.forced-color-adjust.none + + # baseline: false + # support: + # chrome: "106" + # chrome_android: "106" + # edge: "106" + - css.properties.forced-color-adjust.preserve-parent-color