EvanZhu0721 / 公开仓库
SBMS
SBMS complete the calculation rules for the default logical desktop topology relationship and the physical dimensions of the displays in the Windows multi-screen collaboration system.
文件
../ pagescontrols.slint16.0 KBlaunch-intro.slint7.9 KBquick-access.slint13.9 KBremove-group-dialog.slint3.2 KBseven-segment.slint4.4 KBtheme.slint2.1 KBtray-icon.svg314 Bui/theme.slint2.1 KB
1
import { Palette } from "std-widgets.slint";2
3
// Stable Material 3 semantic roles. The platform palette selects only the4
// light/dark scheme; every SBMS semantic brush is fixed so Windows accent-color5
// refreshes cannot change the application's colors after startup.6
export global MdTokens {7
private property <bool> dark-color-scheme: Palette.color-scheme == ColorScheme.dark;8
9
out property <brush> surface: dark-color-scheme ? #2a282d : #f8f3f9;10
out property <brush> on-surface: dark-color-scheme ? #e6e1e5 : #1c1b1f;11
out property <brush> surface-container: dark-color-scheme ? #1c1b1f : #fffbfe;12
out property <brush> on-surface-variant: dark-color-scheme ? #e6e1e5 : #1c1b1f;13
out property <brush> primary: dark-color-scheme ? #cacaca : #343236;14
out property <brush> on-primary: dark-color-scheme ? #343236 : #ffffff;15
out property <brush> primary-container: dark-color-scheme ? #4f378b : #eaddff;16
out property <brush> on-primary-container: dark-color-scheme ? #eaddff : #21005d;17
out property <brush> error: dark-color-scheme ? #ffb4ab : #ba1a1a;18
out property <brush> error-container: dark-color-scheme ? #93000a : #ffdad6;19
out property <brush> on-error-container: dark-color-scheme ? #ffdad6 : #410002;20
out property <brush> success-container: dark-color-scheme ? #173824 : #d5f5df;21
out property <brush> on-success-container: dark-color-scheme ? #8fdaa5 : #155c2d;22
out property <brush> outline-variant: dark-color-scheme ? #938f99 : #79747e;23
24
out property <length> space-1: 8px;25
out property <length> space-2: 16px;26
out property <length> shape-medium: 12px;27
out property <length> shape-large: 16px;28
out property <length> shape-full: 999px;29
out property <length> button-radius: 20px;30
out property <length> target: 48px;31
out property <length> type-title-large: 22px;32
out property <length> type-title-medium: 16px;33
out property <length> type-body-large: 16px;34
out property <length> type-body-medium: 14px;35
out property <length> type-body-small: 12px;36
out property <int> weight-medium: 500;37
}38