From eb055263ee7625512f44782428925c3b2298ff6f Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Sat, 30 Jul 2022 21:24:17 +0100 Subject: API: Client media spec: Allow colour scheme preference --- include/libcss/types.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libcss/types.h b/include/libcss/types.h index 2b0dfb7..3fb28d3 100644 --- a/include/libcss/types.h +++ b/include/libcss/types.h @@ -223,6 +223,8 @@ typedef struct css_media { css_fixed monochrome; /* monochrome bpp (0 for colour) */ css_fixed inverted_colors; /** boolean: {0|1} */ + lwc_string *prefers_color_scheme; /* "light", "dark" */ + /* Interaction media features */ css_media_pointer pointer; css_media_pointer any_pointer; -- cgit v1.2.1