ltk/widget/color_picker/
theme.rs

1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: LGPL-2.1-only
// Copyright (C) 2026 Liberux Labs, S. L. <info@liberux.net>

use crate::types::Color;
pub fn surface_alt() -> Color { crate::theme::palette().surface_alt }
pub fn divider()     -> Color { crate::theme::palette().divider }
pub fn text_muted()  -> Color { crate::theme::palette().text_secondary }
pub const PADDING:    f32 = 16.0;
pub const RADIUS:     f32 = 16.0;
pub const SWATCH_SZ:  f32 = 40.0;
pub const LABEL_FS:   f32 = 12.0;
pub const SPACING:    f32 = 8.0;