23#include "guillaume/components/typography.hpp"
49 if (_fontSize == fontSize) {
Typography & setRole(theme::TypeRole role)
Set the typescale role.
Typography & setFontSize(std::optional< float > fontSize)
Override the font size of the role, or clear the override.
theme::TypeRole getRole(void) const
Get the typescale role.
Typography(void)=default
Default constructor.
std::optional< float > getFontSize(void) const
Get the explicit font size.
void setHasChanged(bool hasChanged)
Raise or lower the changed flag.
State. Every class here is plain data attached to an entity.
TypeRole
The named text styles of Material Design 3: what a piece of text is, not how big it is.