Files
hash-wallet/lib/palette.dart
T
jwinterm 59a6b25ff3 Theme overhaul: green primary + Such Software pink/blue accents
Tier A (theme classes):
- light_theme.dart: primary #1A5C38 (Hash green), secondary #B83278 (Such
  pink), tertiary #1F7DBF (Such blue), surface #F2F8F4 (very light minty).
  Full ColorScheme rewritten with green-family containers and green-tinted
  surface tokens.
- dark_theme.dart: primary #7FCAA0 (mint, readable on dark), secondary
  #E16FA6 (soft pink), tertiary #6AB7E6 (soft blue), surface #0B1F14
  (deep green). Containers + surface tokens tuned for the green palette.
- black_theme.dart: replaced accent enum (cakePrimary/tronRed/frostingPurple
  removed; hashGreen, suchPink, suchBlue added). bchGreen / bitcoinYellow /
  moneroOrange kept as chain identifiers.

Tier A (custom theme colors):
- light_theme_custom_colors.dart: backgroundGradient + cardGradient +
  toggleColorOffState retuned to green tints.
- dark_theme_custom_colors.dart: same for the dark variant.
- black_theme_custom_colors.dart: untouched (pure black AMOLED is brand-
  neutral on purpose).

Tier B (palette.dart):
- Cake's blue-family accents (Palette.blue, royalBlue, cornflower,
  blueCraiola family, pinkFlamingo, lavenders, oceanBlue, nightBlue,
  protectiveBlue, etc.) repainted into the green/pink/blue brand system.
- PaletteDark's night-blue surfaces wholesale repainted into deep-green
  equivalents. Original const names retained so every call-site compiles
  unchanged.
- moneroOrange, moneroLightOrange, bitcoinOrange, moneroCard, BCH green
  intentionally NOT touched — chain identifiers.
- Pure neutrals (gray, darkGray, manatee, dullGray, highContrastGray,
  shadowWhite, stateGray, granite, matrixGreen, red, error reds) kept.

Tier C deferred — hardcoded Color(0xFF...) literals scattered through
lib/ remain blue. Most should pull from ColorScheme so this should be
~80% visually rebranded already; iterate from screenshots.
2026-05-16 10:34:53 -04:00

112 lines
8.0 KiB
Dart

import 'package:flutter/material.dart';
class Palette {
static const Color green = Color.fromRGBO(39, 206, 80, 1.0);
static const Color red = Color.fromRGBO(255, 51, 51, 1.0);
static const Color darkRed = Color.fromRGBO(205, 0, 0, 1.0);
// Hash Wallet: Cake's blue-family accents repainted into the green-primary
// brand palette. Names retained so call-sites compile unchanged.
static const Color blueAlice = Color.fromRGBO(229, 247, 235, 1.0); // pale green tint
static const Color lightBlue = Color.fromRGBO(127, 202, 160, 1.0); // mint
static const Color lavender = Color.fromRGBO(242, 248, 244, 1.0); // very light minty
static const Color oceanBlue = Color.fromRGBO(11, 31, 20, 1.0); // deep brand green
static const Color lightBlueGrey = Color.fromRGBO(155, 181, 166, 1.0); // muted mint-gray
static const Color periwinkle = Color.fromRGBO(199, 229, 210, 1.0); // pale mint
static const Color blue = Color.fromRGBO(31, 125, 191, 1.0); // Such Software blue accent
static const Color darkLavender = Color.fromRGBO(234, 242, 236, 1.0); // pale green bg
static const Color nightBlue = Color.fromRGBO(26, 92, 56, 1.0); // brand green primary
static const Color moderateOrangeYellow = Color.fromRGBO(245, 134, 82, 1.0);
static const Color moderateOrange = Color.fromRGBO(235, 117, 63, 1.0);
static const Color moneroOrange = Color.fromRGBO(255, 102, 0, 1.0);
static const Color moneroLightOrange = Color.fromRGBO(250, 240, 246, 1.0);
static const Color bitcoinOrange = Color.fromRGBO(242, 169, 0, 1.0);
static const Color shineGreen = Color.fromRGBO(76, 189, 87, 1.0);
static const Color moderateGreen = Color.fromRGBO(45, 158, 56, 1.0);
static const Color cornflower = Color.fromRGBO(106, 183, 230, 1.0); // soft Such blue
static const Color royalBlue = Color.fromRGBO(31, 125, 191, 1.0); // Such blue primary
static const Color lightRed = Color.fromRGBO(227, 87, 87, 1.0);
static const Color veryLightRed = Color.fromRGBO(239, 156, 156, 1.0);
static const Color persianRed = Color.fromRGBO(206, 55, 55, 1.0);
static const Color blueCraiola = Color.fromRGBO(26, 92, 56, 1.0); // brand green primary
static const Color blueGreyCraiola = Color.fromRGBO(127, 202, 160, 1.0); // mint
static const Color greyBlueCraiola = Color.fromRGBO(155, 181, 166, 1.0); // muted mint-gray
static const Color darkBlueCraiola = Color.fromRGBO(11, 31, 20, 1.0); // deep green
static const Color pinkFlamingo = Color.fromRGBO(184, 50, 120, 1.0); // Such Software pink
static const Color redHat = Color.fromRGBO(209, 68, 37, 1.0);
static const Color shineOrange = Color.fromRGBO(255, 184, 78, 1.0);
static const Color paleBlue = Color.fromRGBO(217, 230, 222, 1.0); // pale green tint
static const Color violetBlue = Color.fromRGBO(31, 69, 48, 1.0); // darker green container
static const Color periwinkleCraiola = Color.fromRGBO(234, 242, 236, 1.0);
static const Color moderatePurpleBlue = Color.fromRGBO(31, 69, 48, 1.0);
static const Color moderateLavender = Color.fromRGBO(234, 242, 236, 1.0);
static const Color wildLavender = Color.fromRGBO(199, 229, 210, 1.0);
static const Color gray = Color.fromRGBO(112, 147, 186, 1.0);
static const Color wildPeriwinkle = Color.fromRGBO(214, 234, 222, 1.0);
static const Color darkGray = Color.fromRGBO(122, 147, 186, 1.0);
static const Color shadowWhite = Color.fromRGBO(242, 248, 244, 1.0); // pale minty
static const Color niagara = Color.fromRGBO(155, 181, 166, 1.0); // mint-gray
static const Color alizarinRed = Color.fromRGBO(233, 45, 45, 1.0);
static const Color moderateSlateBlue = Color.fromRGBO(129, 93, 251, 1.0);
static const Color brightOrange = Color.fromRGBO(255, 102, 0, 1.0);
static const Color dullGray = Color.fromRGBO(98, 98, 98, 1.0);
static const Color protectiveBlue = Color.fromRGBO(31, 125, 191, 1.0); // Such blue
static const Color darkBlue = Color.fromRGBO(20, 80, 122, 1.0); // deeper Such blue
static const Color paleCornflowerBlue = Color.fromRGBO(214, 234, 246, 1.0); // pale Such blue
static const Color manatee = Color.fromRGBO(153, 161, 176, 1.0); // neutral gray (kept)
static const Color stateGray = Color.fromRGBO(68, 74, 89, 1.0); // neutral (kept)
static const Color highContrastGray = Color.fromRGBO(76, 76, 76, 1.0); // neutral (kept)
static const Color frostySky = Color.fromRGBO(127, 202, 160, 1.0); // mint
}
class PaletteDark {
// Hash Wallet: PaletteDark was almost entirely Cake's night-blue surfaces.
// Repainted into the deep-green dark theme. moneroCard and moneroOrange
// stay as chain identifiers. Original names retained — every call-site
// compiles unchanged.
static const Color lightDistantBlue = Color.fromRGBO(96, 147, 113, 1.0);
static const Color gray = Color.fromRGBO(155, 181, 166, 1.0);
static const Color pigeonBlue = Color.fromRGBO(91, 146, 112, 1.0);
static const Color moderateNightBlue = Color.fromRGBO(23, 53, 36, 1.0);
static const Color headerNightBlue = Color.fromRGBO(17, 42, 29, 1.0);
static const Color moderatePurpleBlue = Color.fromRGBO(31, 69, 48, 1.0);
static const Color backgroundColor = Color.fromRGBO(11, 31, 20, 1.0);
static const Color nightBlue = Color.fromRGBO(17, 42, 29, 1.0);
static const Color wildNightBlue = Color.fromRGBO(23, 53, 36, 1.0);
static const Color distantNightBlue = Color.fromRGBO(31, 69, 48, 1.0);
static const Color cyanBlue = Color.fromRGBO(113, 150, 128, 1.0);
static const Color darkCyanBlue = Color.fromRGBO(91, 146, 112, 1.0);
static const Color orangeYellow = Color.fromRGBO(243, 166, 50, 1.0); // neutral accent (kept)
static const Color brightGreen = Color.fromRGBO(88, 243, 130, 1.0); // tweaked for brand harmony
static const Color oceanBlue = Color.fromRGBO(11, 31, 20, 1.0);
static const Color lightOceanBlue = Color.fromRGBO(17, 42, 29, 1.0);
static const Color lightNightBlue = Color.fromRGBO(23, 53, 36, 1.0);
static const Color wildBlue = Color.fromRGBO(176, 205, 188, 1.0);
static const Color buttonNightBlue = Color.fromRGBO(31, 69, 48, 1.0);
static const Color lightBlueGrey = Color.fromRGBO(141, 183, 159, 1.0);
static const Color lightVioletBlue = Color.fromRGBO(42, 88, 64, 1.0);
static const Color darkVioletBlue = Color.fromRGBO(31, 69, 48, 1.0);
static const Color wildVioletBlue = Color.fromRGBO(35, 75, 52, 1.0);
static const Color darkNightBlue = Color.fromRGBO(17, 42, 29, 1.0);
static const Color blueGrey = Color.fromRGBO(98, 138, 113, 1.0);
static const Color moderateBlue = Color.fromRGBO(60, 118, 88, 1.0);
static const Color deepPurpleBlue = Color.fromRGBO(11, 31, 20, 1.0);
static const Color darkOceanBlue = Color.fromRGBO(17, 42, 29, 1.0);
static const Color wildBlueGrey = Color.fromRGBO(137, 182, 156, 1.0);
static const Color darkGrey = Color.fromRGBO(131, 169, 148, 1.0);
static const Color dividerColor = Color.fromRGBO(31, 69, 48, 1.0);
static const Color violetBlue = Color.fromRGBO(42, 88, 64, 1.0);
static const Color distantBlue = Color.fromRGBO(85, 131, 105, 1.0);
static const Color moderateVioletBlue = Color.fromRGBO(62, 113, 84, 1.0);
static const Color deepVioletBlue = Color.fromRGBO(52, 104, 75, 1.0);
static const Color lightPurpleBlue = Color.fromRGBO(133, 170, 149, 1.0);
static const Color indicatorVioletBlue = Color.fromRGBO(42, 88, 64, 1.0);
static const Color granite = Color.fromRGBO(48, 51, 60, 1.0); // neutral (kept)
static const Color matrixGreen = Color.fromRGBO(18, 229, 90, 1.0); // matrix accent (kept)
static const Color moneroOrange = Color.fromRGBO(255, 102, 0, 1.0); // chain identifier (kept)
static const Color moneroCard = Color.fromRGBO(20, 21, 24, 1.0); // chain card (kept)
static const Color red = Color.fromRGBO(195, 0, 0, 1.0); // neutral (kept)
static const Color darkPurple = Color.fromRGBO(184, 50, 120, 1.0); // Such Software pink
static const Color cakeBlue = Color.fromRGBO(106, 183, 230, 1.0); // Such Software blue
static const Color darkBlue = Color.fromRGBO(31, 125, 191, 1.0); // Such Software blue darker
}