TachyonUI 0.1.0
High-performance UI for building tools.
Loading...
Searching...
No Matches
gui_style_sheet.h File Reference
#include <gui_core/style/gui_style.h>
#include <string>
#include <string_view>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

struct  tachyon::ParseError
 A problem found while parsing a style sheet; the parser skips the bad part and goes on. More...
struct  tachyon::CustomProperty
 A resolved CSS custom property (:root { --name: value; }): a color, 1..4 numbers or a box-shadow. More...
struct  tachyon::FontFace
 One @font-face rule. Faces sharing a family name form one family. More...
struct  tachyon::ChildStyles
 A class's styles for where an element is among its parent's children, from its :first-child, :last-child and :only-child rules (box properties only). More...
struct  tachyon::StyleSheet
 A parsed style sheet: named styles, custom properties and font faces. More...

Namespaces

namespace  tachyon

Functions

StyleSheet tachyon::ParseStyleSheet (std::string_view source)
 Parses a theme's CSS (the subset TachyonUI supports, see docs/css.md) into a StyleSheet.