1
0
Fork 0
mirror of synced 2024-06-29 19:40:35 +12:00
czkawka/krokiet/ui/color_palette.slint

14 lines
766 B
Plaintext
Raw Normal View History

2023-10-29 05:20:46 +13:00
import { StyleMetrics } from "std-widgets.slint";
2023-10-28 08:37:51 +13:00
export global ColorPalette {
// Tabs at left side
2023-11-11 05:11:32 +13:00
in-out property <color> tab_selected_color: StyleMetrics.dark-color-scheme ? #353535 : #5e5e5e;
in-out property <color> tab_hovered_color: StyleMetrics.dark-color-scheme ? #49494926 : #80808014;
2023-10-29 05:20:46 +13:00
// ListView
2023-11-11 05:11:32 +13:00
in-out property <color> list_view_normal_color: StyleMetrics.dark-color-scheme ? #222222 : #dddddd;
in-out property <color> list_view_normal_header_color: StyleMetrics.dark-color-scheme ? #111111 : #888888;
in-out property <color> list_view_normal_selected_header: StyleMetrics.dark-color-scheme ? #444444 : #cccccc;
2023-11-08 09:52:43 +13:00
// Popup
2023-11-11 05:11:32 +13:00
in-out property <color> popup_background: StyleMetrics.dark-color-scheme ? #353535 : #5e5e5e;
}