// Copyright © SixtyFPS GmbH // SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.1 OR LicenseRef-Slint-commercial import { ColorSchemeSelector } from "color-scheme.slint"; import { Button } from "button.slint"; export { Button } import { ScrollView } from "scrollview.slint"; export { ScrollView } import { ListItem } from "components.slint"; export { ListItem } import { FluentPalette, FluentFontSettings } from "styling.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: FluentPalette.dark-color-scheme; } 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; }