summaryrefslogtreecommitdiff
path: root/include/libcss/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/libcss/types.h')
-rw-r--r--include/libcss/types.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/libcss/types.h b/include/libcss/types.h
index 2b0dfb7..c0b19da 100644
--- a/include/libcss/types.h
+++ b/include/libcss/types.h
@@ -109,7 +109,9 @@ typedef enum css_unit {
CSS_UNIT_S = 0x1a,
CSS_UNIT_HZ = 0x1b,
- CSS_UNIT_KHZ = 0x1c
+ CSS_UNIT_KHZ = 0x1c,
+
+ CSS_UNIT_CALC = 0x1d /**< Un-resolved calc() */
} css_unit;
/**
@@ -223,6 +225,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;