9 breaking releases

0.12.0 Dec 13, 2022
0.11.0 Sep 5, 2022
0.10.1 Sep 7, 2021
0.8.0 Jun 17, 2021
0.3.0 Feb 24, 2020

#992 in GUI

Download history 20/week @ 2024-03-27 38/week @ 2024-04-03

52 downloads per month

Apache-2.0

1MB
17K SLoC

KAS Theme

Theme support for KAS.

Optional features

This crate has the following feature flags:

  • font-kit (enabled by default): uses the font-kit crate to locate a suitable system font; otherwise a hard-coded font path is used

The COPYRIGHT file includes a list of contributors who claim copyright on this project. This list may be incomplete; new contributors may optionally add themselves to this list.

The KAS library is published under the terms of the Apache License, Version 2.0. You may obtain a copy of this licence from the LICENSE file or on the following webpage: https://www.apache.org/licenses/LICENSE-2.0


lib.rs:

KAS theme support

This crate provides the Theme trait, MultiTheme adapter, color schemes, some supporting items, and the themes FlatTheme and ShadedTheme.

Custom themes may be built over this crate, optionally including custom draw routines (e.g. DrawShaded), provided that the shell implements support. Alternatively this crate may be skipped altogether, especially for a minimal shell with a custom fixed theme.

Dependencies

~3–17MB
~246K SLoC