KAS GUI / theme support

7 releases (breaking)

new 0.9.0 Aug 3, 2021
0.8.0 Jun 17, 2021
0.7.0 Apr 3, 2021
0.6.0 Nov 25, 2020
0.3.0 Feb 24, 2020

#213 in GUI

49 downloads per month
Used in kas-wgpu


18K 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
  • stack_dst: enables ThemeDst, WindowDst and MultiTheme types via the stack_dst crate. This crate relies on unsafe code and its functionality is required only for run-time switching of themes.
  • gat: enables usage of the Generic Associated Types feature (nightly only and currently unstable), allowing some usages of unsafe to be avoided. (The plan is to enable this by default once the feature is mature.)

Copyright and Licence

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


~102K SLoC