// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0 export { Button } from "button.slint"; export { ScrollView } from "scrollview.slint"; export { ListItem } from "components.slint"; export { LineEdit } from "lineedit.slint"; import { CupertinoPalette } from "styling.slint"; export global StyleMetrics { out property layout-spacing: 10px; out property layout-padding: 12px; out property text-cursor-width: 1px; out property window-background: CupertinoPalette.background; out property default-text-color: CupertinoPalette.foreground; out property textedit-background: CupertinoPalette.alternate-background; out property textedit-text-color: CupertinoPalette.foreground; out property textedit-background-disabled: CupertinoPalette.tertiary-control-background; out property textedit-text-color-disabled: CupertinoPalette.foreground-secondary; out property dark-color-scheme: Palette.color-scheme == ColorScheme.dark; } export global Palette { out property background: CupertinoPalette.background; out property foreground: CupertinoPalette.foreground; out property alternate-background: CupertinoPalette.alternate-background; out property alternate-foreground: CupertinoPalette.alternate-foreground; out property control-background: CupertinoPalette.control-background; out property control-foreground: CupertinoPalette.control-foreground; out property accent-background: CupertinoPalette.accent-background; out property accent-foreground: CupertinoPalette.accent-foreground; out property selection-background: CupertinoPalette.selection-background; out property selection-foreground: CupertinoPalette.selection-foreground; out property border: CupertinoPalette.border; in-out property color-scheme <=> CupertinoPalette.color-scheme; }