mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-11 22:29:45 +00:00
27 lines
1 KiB
Text
27 lines
1 KiB
Text
// Copyright © SixtyFPS GmbH <info@slint-ui.com>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
|
|
|
|
// widget imports
|
|
import { Button } from "widget-button.slint";
|
|
import { CheckBox } from "widget-checkbox.slint";
|
|
import { ScrollView } from "widget-scrollview.slint";
|
|
import { md } from "md.slint";
|
|
|
|
export { Button, CheckBox, ScrollView }
|
|
|
|
export global StyleMetrics {
|
|
out property<length> layout-spacing: 8px;
|
|
out property<length> layout-padding: 8px;
|
|
out property<length> text-cursor-width: 2px;
|
|
|
|
out property<color> default-text-color: md.sys.color.on-surface;
|
|
out property<color> textedit-background: transparent;
|
|
out property<color> textedit-text-color: md.sys.color.on-surface;
|
|
out property<color> textedit-background-disabled: transparent;
|
|
out property<color> textedit-text-color-disabled: md.sys.color.on-surface;
|
|
out property<bool> dark-color-scheme: md.dark-color-scheme;
|
|
|
|
out property <string> default-font-family: "Roboto";
|
|
|
|
out property<color> window-background: md.sys.color.background;
|
|
}
|