Module cosmic_theme

Module cosmic_theme 

Source
Expand description

COSMIC Desktop Theme Integration

Reads theme colors, fonts, and mode directly from COSMIC’s configuration. Provides native integration with the COSMIC desktop environment.

Configuration paths:

  • Theme mode: ~/.config/cosmic/com.system76.CosmicTheme.Mode/v1/is_dark
  • Dark theme: ~/.config/cosmic/com.system76.CosmicTheme.Dark/v1/
  • Light theme: ~/.config/cosmic/com.system76.CosmicTheme.Light/v1/
  • Fonts: ~/.config/cosmic/com.system76.CosmicTk/v1/

Structs§

AccentColors
Accent colors from COSMIC theme
ComponentColors
Component colors from COSMIC theme
Container
Container structure from COSMIC theme (background, primary, secondary)
CornerRadii
Corner radii from COSMIC theme
CosmicColor
RGBA color from COSMIC theme (0.0-1.0 floats)
CosmicTheme
Complete COSMIC theme for open-sesame
Spacing
Spacing values from COSMIC theme