Softanza
StartFrançais
Softanza
The library documents itself · Graphics

stzTheme

10 own methods · 0 forms written with extensions, listed under their method

the source: base/graphics/stzTheme.ring(opens in a new tab) · All classes · The area reference: Graphics

Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean

Examples: 0 come from the library's tests; 2 were composed from each method's signature and run for this page, on a fresh object, for example o1 = new stzTheme(:pro). 8 methods have none yet. Examples run on 2026-10-03 12:54 inside the library at commit 0e72e2e2c.

Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
Name
(no comment in the source: the name reads as a sentence) name
composed example
o1 = new stzTheme(:pro)
? o1.Name()
#--> pro
composed from the signature, run for this page
no extension
Roles
The roles a theme fills in. Background is one of them and is NOT a standalone colour -- see StzThemeRoles vs StzSemanticColors.
composed example
o1 = new stzTheme(:pro)
? @@( o1.Roles() )
#--> [ "primary", "success", "warning", "danger", "info", "muted", "neutral", "background" ]
composed from the signature, run for this page
no extension
ColorOf
reading it ---------------------------------------------------------- RESOLVED to hex, never left as an expression. The far side of an export has no resolver.no extension
StepOf
The C2 step of a role, through this theme's colour for it.no extension
OnColorOf
What can be READ on that role's solid -- measured, not guessed.no extension
Tokens
[ [ name, hex ], ... ] -- the whole theme flattened, and the ONE place that decides what an export contains. CSS, JSON and Haro all read it, so the three cannot disagree about which tokens exist.no extension
ToCSS
exportingno extension
ToJSON
(no comment in the source: the name reads as a sentence) to jsonno extension
ToRing
(no comment in the source: the name reads as a sentence) to ringno extension