Skip to content
LingmoOSPublic

About

Lingmo Desktop: theme

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Lingmo Theme

Design Token System for the Lingmo Desktop environment.

Provides color palettes, typography, spacing, corner radii, shadows, animation durations, and elevation levels as a shared C++ library with QML bindings.

Build

cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=RelWithDebInfo
cmake --build build

Test

cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DBUILD_TESTING=ON
cmake --build build
ctest --test-dir build --output-on-failure

Dependencies

  • Qt 6.5+ (Core, Gui)
  • Qt 6.5+ (Qml, Quick — optional, for QML module)
  • CMake 3.21+
  • C++20 compiler

Usage

#include <LingmoTheme/Theme.h>

auto *theme = Lingmo::Theme::instance();
auto palette = theme->palette();
auto bg = palette.background();

License

GPL-3.0-or-later

About

Lingmo Desktop: theme

Resources

Code of conduct

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages