summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2022-07-30 21:24:17 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2022-07-31 20:46:35 +0100
commiteb055263ee7625512f44782428925c3b2298ff6f (patch)
tree45b762d67c3838d556eea15d082abbdb7d1a77d7 /include
parentfa5bda25929f86133618d7ec9e664c6243f94eca (diff)
downloadlibcss-eb055263ee7625512f44782428925c3b2298ff6f.tar.gz
libcss-eb055263ee7625512f44782428925c3b2298ff6f.tar.bz2
API: Client media spec: Allow colour scheme preference
Diffstat (limited to 'include')
-rw-r--r--include/libcss/types.h2
1 files changed, 2 insertions, 0 deletions
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;