euv-ui 0.51.0

Cross-platform UI component library and 17-scheme design system for the euv framework with pixel-consistent rendering across Web, Android, iOS, iPadOS, macOS, Windows, and Linux.
Documentation
1
2
3
4
5
6
7
8
9
10
use super::*;

/// Process-wide cached RGBA8 `ImageBuffer` decoded from the canonical `euv.png` brand logo.
pub(crate) static EUV_BRAND_LOGO_CACHE: OnceLock<ImageBuffer> = OnceLock::new();

thread_local! {
    /// Bounded thread-local cache of live-DPR supersampled RGBA8 brand logo buffers keyed by exact physical pixel size.
    pub(crate) static EUV_BRAND_LOGO_SCALED_CACHE: RefCell<Vec<(u32, ImageBuffer)>> =
        const { RefCell::new(Vec::new()) };
}