Pattern Types
Pattern Types
Section titled “Pattern Types”DaisyPatternTypes is the banner pattern-type entrypoint.
What it does
Section titled “What it does”- parses normalized banner-pattern input
- keeps canonical lowercase underscore keys stable
- exposes UI-friendly display names
- stays conservative on aliases until a real config need proves they help
val pattern = DaisyPatternTypes.parse("straight cross")val key = DaisyPatternTypes.key(pattern)val label = DaisyPatternTypes.displayName(pattern)Input examples
Section titled “Input examples”small_stripessmall stripesstraight_crossstraight cross
Alias policy
Section titled “Alias policy”Pattern types start with normalization-only parsing. DaisySeries does not add banner-design nicknames by default because the canonical names are already searchable and stable.
Runtime note
Section titled “Runtime note”Pattern types should be treated with the same runtime-honesty rule as other Paper content-like families: the parser does not promise more plain-JVM safety than the current Paper API actually provides.
DaisyConfig pairing
Section titled “DaisyConfig pairing”Use patternTypeCodec() when banner or display pattern settings live in YAML.