// 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 { FluentPalette } from "styling.slint"; export { MenuBarItem, MenuBar, MenuFrame, MenuItem } from "menu.slint"; export global StyleMetrics { out property layout-spacing: 8px; out property layout-padding: 8px; out property text-cursor-width: 1px; out property window-background: FluentPalette.background; out property default-text-color: FluentPalette.foreground; out property textedit-background: FluentPalette.background; out property textedit-text-color: FluentPalette.foreground; out property textedit-background-disabled: FluentPalette.control-disabled; out property textedit-text-color-disabled: FluentPalette.text-disabled; out property dark-color-scheme: Palette.color-scheme == ColorScheme.dark; } export global Palette { out property background: FluentPalette.background; out property foreground: FluentPalette.foreground; out property alternate-background: FluentPalette.alternate-background; out property alternate-foreground: FluentPalette.alternate-foreground; out property control-background: FluentPalette.control-background; out property control-foreground: FluentPalette.control-foreground; out property accent-background: FluentPalette.accent-background; out property accent-foreground: FluentPalette.accent-foreground; out property selection-background: FluentPalette.selection-background; out property selection-foreground: FluentPalette.selection-foreground; out property border: FluentPalette.border; in-out property color-scheme <=> FluentPalette.color-scheme; }