Ferreteria/v0.6/clade/Config/Styles

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

About

  • Purpose: base class for all types of Style classes
  • 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.
    • In the eventuality that we might want to be able to register different sets of styles for different environments during the same session, another instance can be created and loaded separately (this is the main reason why it's not a static class).

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.