psychic-ui 0.0.0
Loading...
Searching...
No Matches
psychic_ui::Palette Struct Reference

#include <Theme.hpp>

Public Attributes

Color base {}
Color surface {}
Color raised {}
Color overlay {}
Color frame {}
Color page {}
Color hover {}
Color line {}
Color lineStrong {}
Color text {}
Color textSecondary {}
Color textMuted {}
Color accent {}
Color accentHover {}
Color accentText {}
Color accentSoft {}
Color onAccent {}
Color danger {}
Color dangerText {}
Color warning {}
Color warningText {}
Color success {}
Color scrollThumb {}
Color scrollThumbHover {}
Color scrim {}
Color switchOff {}
Color canvasDot {}

Detailed Description

Color roles, not colors: a skin set maps them to its states and never picks a color itself. The roles are Pivotal's (packages/ui/src/styles/tokens.css): layers that separate by a step of grey, hairlines instead of dividers, three levels of text and one accent spent deliberately.


The documentation for this struct was generated from the following file: