mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
09c942564e
* fix: SectionStandardList using BuildContext as param * refactor: deprecated backgroundColor -> colorScheme.background * refactor: themeBase and current themes * refactor: accentTextTheme.titleLarge.color -> dialogTheme.backgroundColor * refactor: gradient background * refactor: text themes using the same color as primaryColor * refactor: accentTextTheme.bodySmall.color -> cardColor * refactor: text themes using same dialogBackgroundColor * refactor: scrollbarTheme * refactor: create SyncIndicatorTheme * refactor: SectionDivider * refactor: base_page improvements and simplify * refactor: collapsible_standart_list improvements * refactor: accentTextTheme.bodyLarge.backgroundColor -> KeyboardTheme.keyboardBarColor * refactor: create PinCodeTheme for accentTextTheme.bodyMedium * refactor: create SupportPageTheme for accentTextTheme.displayLarge.backgroundColor and fix cases that use it * refactor: accentTextTheme.displayLarge.color -> disabledColor * refactor: create ExchangePageTheme * refactor: create DashboardPageTheme and use textColor * refactor: create NewWalletTheme for accentTextTheme.displayMedium * refactor: create BalancePageTheme for accentTextTheme.displaySmall.backgroundColor * refactor: create AddressTheme for accentTextTheme.displaySmall.color * refactor: create IndicatorDotTheme * refactor: create CakeMenuTheme * refactor: create FilterTheme * refactor: create WalletListTheme * refactor: accentTextTheme.bodySmall.decorationColor -> InfoTheme.textColor * refactor: accentTextTheme.titleLarge.backgroundColor -> PickerTheme.dividerColor * refactor: primaryTextTheme.bodyLarge.backgroundColor -> AlertTheme.leftButtonTextColor * refactor: primaryTextTheme.displayLarge.backgroundColor -> OrderTheme.iconColor * refactor: create SendPageTheme * fix: missing migrated styles * refactor: primaryTextTheme.labelSmall.decorationColor -> PlaceholderTheme.color * refactor: create TransactionTradeTheme * refactor: create CakeTextTheme * refactor: create AccountListTheme * refactor: create ReceivePageTheme * refactor: create QRCodeTheme * refactor: move remaining items to CakeTextTheme and some missing fixes * feat(display_settings): add new theme selector * feat: additional themes * fix: conflict error * fix(lag): move colorScheme initialization to constructor * feat: add backdropColor to alert and picker backdrop filters * fix: merge fixes * fix: send template page missing new colors * fix: anonpay pages title and icon colors * fix: merge fixes * fix: unspent coins page * fix: also fix exchange template * fix: missing checkbox * fix: fixes for high contrast theme * Merge branch 'main' into CW-396-additional-themes * fix: merge fixes * fix: .gitignore and rm added files * Fix review comments --------- Co-authored-by: OmarHatem <omarh.ismail1@gmail.com>
100 lines
6.4 KiB
Dart
100 lines
6.4 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(204, 38, 38, 1.0);
|
|
static const Color blueAlice = Color.fromRGBO(229, 247, 255, 1.0);
|
|
static const Color lightBlue = Color.fromRGBO(172, 203, 238, 1.0);
|
|
static const Color lavender = Color.fromRGBO(237, 245, 252, 1.0);
|
|
static const Color oceanBlue = Color.fromRGBO(30, 52, 78, 1.0);
|
|
static const Color lightBlueGrey = Color.fromRGBO(118, 131, 169, 1.0);
|
|
static const Color periwinkle = Color.fromRGBO(195, 210, 227, 1.0);
|
|
static const Color blue = Color.fromRGBO(88, 143, 252, 1.0);
|
|
static const Color darkLavender = Color.fromRGBO(229, 238, 250, 1.0);
|
|
static const Color nightBlue = Color.fromRGBO(46, 57, 96, 1.0);
|
|
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(85, 147, 240, 1.0);
|
|
static const Color royalBlue = Color.fromRGBO(43, 114, 221, 1.0);
|
|
static const Color lightRed = Color.fromRGBO(227, 87, 87, 1.0);
|
|
static const Color persianRed = Color.fromRGBO(206, 55, 55, 1.0);
|
|
static const Color blueCraiola = Color.fromRGBO(69, 110, 255, 1.0);
|
|
static const Color blueGreyCraiola = Color.fromRGBO(106, 177, 207, 1.0);
|
|
static const Color greyBlueCraiola = Color.fromRGBO(116, 139, 219, 1.0);
|
|
static const Color darkBlueCraiola = Color.fromRGBO(53, 86, 136, 1.0);
|
|
static const Color pinkFlamingo = Color.fromRGBO(240, 60, 243, 1.0);
|
|
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(225, 228, 233, 1.0);
|
|
static const Color violetBlue = Color.fromRGBO(56, 69, 103, 1.0);
|
|
static const Color periwinkleCraiola = Color.fromRGBO(229, 232, 242, 1.0);
|
|
static const Color moderatePurpleBlue = Color.fromRGBO(57, 74, 95, 1.0);
|
|
static const Color moderateLavender = Color.fromRGBO(233, 242, 252, 1.0);
|
|
static const Color wildLavender = Color.fromRGBO(224, 230, 246, 1.0);
|
|
static const Color gray = Color.fromRGBO(112, 147, 186, 1.0);
|
|
static const Color wildPeriwinkle = Color.fromRGBO(219, 227, 243, 1.0);
|
|
static const Color darkGray = Color.fromRGBO(122, 147, 186, 1.0);
|
|
static const Color shadowWhite = Color.fromRGBO(242, 245, 255, 1.0);
|
|
static const Color niagara = Color.fromRGBO(152, 172, 201, 1.0);
|
|
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(33, 148, 255, 1.0);
|
|
static const Color darkBlue = Color.fromRGBO(109, 128, 178, 1.0);
|
|
static const Color paleCornflowerBlue = Color.fromRGBO(185, 196, 237, 1.0);
|
|
static const Color manatee = Color.fromRGBO(153, 161, 176, 1.0);
|
|
static const Color stateGray = Color.fromRGBO(68, 74, 89, 1.0);
|
|
static const Color highContrastGray = Color.fromRGBO(76, 76, 76, 1.0);
|
|
static const Color frostySky = Color.fromRGBO(0, 184, 250, 1.0);
|
|
}
|
|
|
|
class PaletteDark {
|
|
static const Color lightDistantBlue = Color.fromRGBO(81, 96, 147, 1.0);
|
|
static const Color gray = Color.fromRGBO(140, 153, 201, 1.0);
|
|
static const Color pigeonBlue = Color.fromRGBO(91, 112, 146, 1.0);
|
|
static const Color moderateNightBlue = Color.fromRGBO(39, 53, 96, 1.0);
|
|
static const Color headerNightBlue = Color.fromRGBO(41, 52, 84, 1.0);
|
|
static const Color moderatePurpleBlue = Color.fromRGBO(57, 74, 95, 1.0);
|
|
static const Color backgroundColor = Color.fromRGBO(25, 35, 60, 1.0);
|
|
static const Color nightBlue = Color.fromRGBO(35, 47, 79, 1.0);
|
|
static const Color wildNightBlue = Color.fromRGBO(39, 53, 96, 1.0);
|
|
static const Color distantNightBlue = Color.fromRGBO(46, 57, 96, 1.0);
|
|
static const Color cyanBlue = Color.fromRGBO(99, 113, 150, 1.0);
|
|
static const Color darkCyanBlue = Color.fromRGBO(91, 112, 146, 1.0);
|
|
static const Color orangeYellow = Color.fromRGBO(243, 166, 50, 1.0);
|
|
static const Color brightGreen = Color.fromRGBO(88, 243, 50, 1.0);
|
|
static const Color oceanBlue = Color.fromRGBO(27, 39, 71, 1.0);
|
|
static const Color lightOceanBlue = Color.fromRGBO(32, 45, 80, 1.0);
|
|
static const Color lightNightBlue = Color.fromRGBO(39, 52, 89, 1.0);
|
|
static const Color wildBlue = Color.fromRGBO(165, 176, 205, 1.0);
|
|
static const Color buttonNightBlue = Color.fromRGBO(46, 57, 96, 1.0);
|
|
static const Color lightBlueGrey = Color.fromRGBO(125, 141, 183, 1.0);
|
|
static const Color lightVioletBlue = Color.fromRGBO(56, 71, 109, 1.0);
|
|
static const Color darkVioletBlue = Color.fromRGBO(49, 60, 96, 1.0);
|
|
static const Color wildVioletBlue = Color.fromRGBO(45, 60, 97, 1.0);
|
|
static const Color darkNightBlue = Color.fromRGBO(33, 45, 76, 1.0);
|
|
static const Color blueGrey = Color.fromRGBO(87, 98, 138, 1.0);
|
|
static const Color moderateBlue = Color.fromRGBO(60, 73, 118, 1.0);
|
|
static const Color deepPurpleBlue = Color.fromRGBO(19, 29, 56, 1.0);
|
|
static const Color darkOceanBlue = Color.fromRGBO(30, 42, 73, 1.0);
|
|
static const Color wildBlueGrey = Color.fromRGBO(125, 137, 182, 1.0);
|
|
static const Color darkGrey = Color.fromRGBO(118, 131, 169, 1.0);
|
|
static const Color dividerColor = Color.fromRGBO(48, 59, 95, 1.0);
|
|
static const Color violetBlue = Color.fromRGBO(59, 72, 119, 1.0);
|
|
static const Color distantBlue = Color.fromRGBO(72, 85, 131, 1.0);
|
|
static const Color moderateVioletBlue = Color.fromRGBO(62, 73, 113, 1.0);
|
|
static const Color deepVioletBlue = Color.fromRGBO(52, 66, 104, 1.0);
|
|
static const Color lightPurpleBlue = Color.fromRGBO(120, 133, 170, 1.0);
|
|
static const Color indicatorVioletBlue = Color.fromRGBO(59, 72, 119, 1.0);
|
|
static const Color granite = Color.fromRGBO(48, 51, 60, 1.0);
|
|
static const Color matrixGreen = Color.fromRGBO(18, 229, 90, 1.0);
|
|
static const Color moneroOrange = Color.fromRGBO(255, 102, 0, 1.0);
|
|
static const Color moneroCard = Color.fromRGBO(20, 21, 24, 1.0);
|
|
}
|