2024-03-22 17:44:56 +03:00
|
|
|
# Theme
|
2024-01-09 20:49:56 +03:00
|
|
|
|
2024-03-22 17:44:56 +03:00
|
|
|
This crate provides the theme system for Zed.
|
2024-01-09 20:49:56 +03:00
|
|
|
|
2024-03-22 17:44:56 +03:00
|
|
|
## Overview
|
2024-01-09 20:49:56 +03:00
|
|
|
|
2024-03-22 17:44:56 +03:00
|
|
|
A theme is a collection of colors used to build a consistent appearance for UI components across the application.
|
|
|
|
To produce a theme in Zed,
|
2024-01-09 20:49:56 +03:00
|
|
|
|
2024-03-22 17:44:56 +03:00
|
|
|
A theme is made of of two parts: A [ThemeFamily] and one or more [Theme]s.
|
2024-01-09 20:49:56 +03:00
|
|
|
|
|
|
|
//
|
2024-03-22 17:44:56 +03:00
|
|
|
A [ThemeFamily] contains metadata like theme name, author, and theme-specific [ColorScales] as well as a series of themes.
|
2024-01-09 20:49:56 +03:00
|
|
|
|
2024-03-22 17:44:56 +03:00
|
|
|
- [ThemeColors] - A set of colors that are used to style the UI. Refer to the [ThemeColors] documentation for more information.
|