package com.peachpasswords.ui.theme import androidx.compose.ui.graphics.Color import org.junit.Assert.assertEquals import org.junit.Test /** * Peach is dark-only. These pin the single palette factory so a future change * can't drift the near-black background or drop the live accent back to the * dark-only [PeachColors] singleton. */ class PeachPaletteTest { @Test fun background_is_near_black() { assertEquals(Color(0xFF0C0A06), peachDark().Bg) } @Test fun text_is_warm_parchment_on_that_background() { assertEquals(Color(0xFFF0E8D8), peachDark().T0) } @Test fun accent_is_carried_into_the_palette() { val custom = Color(0xFF123456) assertEquals(custom, peachDark(custom).Accent) } @Test fun default_accent_used_when_unspecified() { assertEquals(DEFAULT_ACCENT, peachDark().Accent) } }