// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial // widget imports import { Button } from "button.slint"; import { CheckBox } from "checkbox.slint"; import { ScrollView } from "scrollview.slint"; import { MaterialPalette } from "styling.slint"; import { Switch } from "switch.slint"; export { Button, CheckBox, ScrollView, Switch } import { ListItem } from "components.slint"; export { ListItem } export global StyleMetrics { out property layout-spacing: 16px; out property layout-padding: 16px; out property text-cursor-width: 2px; out property default-text-color: MaterialPalette.foreground; out property textedit-background: transparent; out property textedit-text-color: MaterialPalette.foreground; out property textedit-background-disabled: transparent; out property textedit-text-color-disabled: MaterialPalette.foreground; out property dark-color-scheme: MaterialPalette.dark-color-scheme; out property default-font-family: "Roboto"; out property window-background: MaterialPalette.background; } export global Palette { out property background: MaterialPalette.background; out property foreground: MaterialPalette.foreground; out property alternate-background: MaterialPalette.alternate-background; out property alternate-foreground: MaterialPalette.alternate-foreground; out property control-background: MaterialPalette.control-background; out property control-foreground: MaterialPalette.control-foreground; out property accent-background: MaterialPalette.accent-background; out property accent-foreground: MaterialPalette.accent-foreground; out property selection-background: MaterialPalette.selection-background; out property selection-foreground: MaterialPalette.selection-foreground; out property border: MaterialPalette.border; }