Thème. */ final class MobileTheme { public const THEMES = [ 'givre' => [ 'name' => 'Givre', 'top' => '#f4faff', 'bottom' => '#d6ecfc', 'surface' => '#ffffff', 'surface2' => '#eef6fd', 'line' => '#d5e6f4', 'text' => '#0f2a44', 'muted' => '#5d7b97', 'accent' => '#2e8ee0', 'accent2' => '#60bafa', 'soft' => '#d8edfc', 'onAccent' => '#ffffff', 'art1' => '#b0e2ff', 'art2' => '#4aa8f0', 'danger' => '#d9466a', 'star' => '#f2a900', 'pink' => '#ff7896', 'veil' => [10, 30, 55, 110], ], 'nuit' => [ 'name' => 'Nuit polaire', 'top' => '#0c1a2b', 'bottom' => '#14304b', 'surface' => '#172f48', 'surface2' => '#1d3a58', 'line' => '#26486b', 'text' => '#eaf5ff', 'muted' => '#93b4d1', 'accent' => '#60bafa', 'accent2' => '#9fd6ff', 'soft' => '#21486d', 'onAccent' => '#06243d', 'art1' => '#1f5f94', 'art2' => '#0b2a48', 'danger' => '#ff7896', 'star' => '#ffc940', 'pink' => '#ff7896', 'veil' => [0, 0, 0, 140], ], 'aurore' => [ 'name' => 'Aurore', 'top' => '#fff6f8', 'bottom' => '#fde0e8', 'surface' => '#ffffff', 'surface2' => '#fdf0f3', 'line' => '#f4d6df', 'text' => '#3a1424', 'muted' => '#94606f', 'accent' => '#e2557a', 'accent2' => '#ff7896', 'soft' => '#fbdde6', 'onAccent' => '#ffffff', 'art1' => '#ffc3d3', 'art2' => '#e2557a', 'danger' => '#c8323f', 'star' => '#f2a900', 'pink' => '#ff7896', 'veil' => [50, 10, 25, 110], ], 'menthe' => [ 'name' => 'Menthe glacée', 'top' => '#f2fcf9', 'bottom' => '#d3f2ea', 'surface' => '#ffffff', 'surface2' => '#ebf8f4', 'line' => '#cde9e1', 'text' => '#0e3229', 'muted' => '#4f7f72', 'accent' => '#169b7e', 'accent2' => '#4cc9a8', 'soft' => '#d2f1e8', 'onAccent' => '#ffffff', 'art1' => '#aeeedb', 'art2' => '#169b7e', 'danger' => '#d9466a', 'star' => '#f2a900', 'pink' => '#ff7896', 'veil' => [5, 40, 30, 110], ], ]; /** @return array */ public static function get(string $id): array { return self::THEMES[$id] ?? self::THEMES['givre']; } }