Coverage Summary for Class: PaletteSource (com.georgeci.moneysurfer.domain.preferences)

Class Method, % Branch, % Line, % Instruction, %
PaletteSource$Brand 100% (1/1) 100% (1/1) 100% (2/2)
PaletteSource$Companion 100% (1/1) 100% (1/1) 100% (4/4)
PaletteSource$Dynamic 100% (1/1) 100% (1/1) 100% (2/2)
PaletteSource$Preset 100% (1/1) 100% (1/1) 100% (7/7)
Total 100% (4/4) 100% (4/4) 100% (15/15)


 package com.georgeci.moneysurfer.domain.preferences
 
 /**
  * Source of the active accent colour for the Material 3 theme.
  *
  * - [Brand]: app's static brand palette (no seed, uses tokens from `uikit`).
  * - [Preset]: one of the predefined accent seeds shipped with the app.
  *             The full scheme is generated from the seed via HCT.
  * - [Dynamic]: derived from the OS wallpaper (Android 12+ Material You).
  */
 sealed interface PaletteSource {
     data object Brand : PaletteSource
     data class Preset(val seed: AccentSeed) : PaletteSource
     data object Dynamic : PaletteSource
 
     companion object {
         val DEFAULT: PaletteSource = Brand
     }
 }