struct ButtonColours { base: color, pressed: color, hovered: color, } export global AppSize { out property width: 900px; out property height: 500px; } export global Theme { out property window-background: #000000; out property neutral-box: #BDC0D1; // The background colour of pages and bars out property background-color: root.dark-mode ? #3a127b : white; out property text-foreground-color: root.dark-mode ? #F4F6FF : black; out property secondary-foreground-color: root.dark-mode ? #C1C3CA : #6C6E7A; out property image-button-background: root.dark-mode ? root.window-background : white; out property toolbar-background: root.background-color; out property notification-border: root.background-color; out property notification-background: root.background-color; out property control-outline: #FFBF63; out property control-secondary: #6284FF; out property control-foreground: root.dark-mode ? white : #122F7B; out property push-button-base: #FFBF63; out property push-button: { base: root.push-button-base, pressed: root.push-button-base.darker(40%), hovered: root.push-button-base.darker(20%), }; out property push-button-text-color: white; out property base-font-size: 16px; in property dark-mode: true; } export global IconImages { //out property two_t: @image-url("images/parameters/2t.png"); }