Start documenting Theme crate

Co-Authored-By: Antonio Scandurra <me@as-cii.com>
This commit is contained in:
Nate Butler
2024-01-09 12:49:56 -05:00
co-authored by Antonio Scandurra
parent ab6cd1d93a
commit bcbfa7d036
6 changed files with 51 additions and 47 deletions
+15
View File
@@ -0,0 +1,15 @@
# Theme
This crate provides the theme system for Zed.
## Overview
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,
A theme is made of of two parts: A [ThemeFamily] and one or more [Theme]s.
//
A [ThemeFamily] contains metadata like theme name, author, and theme-specific [ColorScales] as well as a series of themes.
- [ThemeColors] - A set of colors that are used to style the UI. Refer to the [ThemeColors] documentation for more information.