Twm.Config.Theme.ThemeGetter (Twm v0.1.0)

View Source

A struct that identifies a theme key for lookup.

This replaces the anonymous function approach to eliminate memory pressure from closures in the configuration.

Summary

Types

t()

@type t() :: %Twm.Config.Theme.ThemeGetter{
  is_theme_getter: true,
  key: String.t() | atom()
}