Add support for dark mode colours to XRC
Allow specifying a different colour to use in the dark mode in XRC colour properties. Closes #23571.
This commit is contained in:
parent
e1f9f8f988
commit
f2f2868de5
8 changed files with 69 additions and 17 deletions
|
|
@ -458,8 +458,7 @@ t_showeffect = "wxSHOW_EFFECT_NONE" | "wxSHOW_EFFECT_ROLL_TO_LEFT" |
|
|||
"wxSHOW_EFFECT_EXPAND"
|
||||
|
||||
t_url = string
|
||||
t_colour = xsd:string { pattern = "#[0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z]" } |
|
||||
xsd:string { pattern = "[^#].*" }
|
||||
t_colour = xsd:string { pattern = "(#[0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z]|[a-zA-Z0-9 ]+)(\|dark:(#[0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z]|[a-zA-Z0-9 ]+))?" }
|
||||
t_position = t_size
|
||||
t_size = xsd:string { pattern = "(-?\d+),(-?\d+)d?" }
|
||||
t_pair_ints = xsd:string { pattern = "(-?\d+),(-?\d+)" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue