xengui 0.2.7

a retained-mode gui library in rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
// SPDX-License-Identifier: Apache-2.0

/// OS/host light-dark appearance, independent of any windowing backend.
/// A platform layer (xenframe, a Bevy plugin, etc.) converts its own
/// theme type into this before calling into xengui's renderer.
#[derive(Clone, Copy, Debug, PartialEq, Eq, Default)]
pub enum SystemTheme {
    Light,
    #[default]
    Dark,
}