Skip to content

Pattern Types

DaisyPatternTypes is the banner pattern-type entrypoint.

  • 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)
  • small_stripes
  • small stripes
  • straight_cross
  • straight cross

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.

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.

Use patternTypeCodec() when banner or display pattern settings live in YAML.