Ferreteria/v0.6/clade/Config/Styles

From WoozleCodes
Jump to navigation Jump to search
clade: Config\Styles
Clade Family
AStr ⇒ Styles ⇒ (none)
Clade Aliases
Alias Clade
Base* [c,i] Sys\Data\Things\Array\DStor\AStr
FallbackStyle Config\Style\String\Fallback
Subpages

About

  • Purpose: a collection of Style objects to use in a given context
  • Rules:
    • The configuration startup will load this class with all the needed styles.
    • It therefore doesn't need to have different versions for Cmd vs. Web. Individual Styles objects will be appropriately provisioned by the code that creates them.
      • That said, we could create podling-versions for each venue that would self-provision with reasonable defaults, which might be tidier code-wise.

Pages

History

  • 2025-04-18 created so we can have a built-in factory and other nonspecific stuff
  • 2025-04-19 that design didn't work out; completely reworking this as a collection-lookup kind of thing
    • I'm starting with the quickest / most-obvious implementation, but hopefully hiding the details enough that it can be refined later if needed.