UIConfig

floodsim.view.config.UIConfig
object UIConfig

Centralized UI theme configuration. Provides a consistent set of colors, fonts, and common dimensions to be reused across view components. Values are intended to be read-only.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
UIConfig.type

Members list

Type members

Classlikes

object Colors

Application color palette used throughout the UI. Naming:

Application color palette used throughout the UI. Naming:

  • Background/Title/Button/Accent are general-purpose UI colors.
  • Cell* colors are intended for grid/cell rendering.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Colors.type
object Dimensions

Common component sizes in pixels. Cell represents the side length for a single grid cell.

Common component sizes in pixels. Cell represents the side length for a single grid cell.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Dimensions.type
object Fonts

UI typography settings. Font family fallbacks will be chosen by the JVM if the specified family is unavailable.

UI typography settings. Font family fallbacks will be chosen by the JVM if the specified family is unavailable.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Fonts.type