refactor(mobile): refactor theme management (#14415)

This commit is contained in:
dvbthien 2024-12-11 23:30:56 +07:00 committed by GitHub
parent 5814a1b223
commit 11f585d0ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
19 changed files with 343 additions and 322 deletions

View file

@ -0,0 +1,23 @@
import 'package:flutter/material.dart';
enum ImmichColorPreset {
indigo,
deepPurple,
pink,
red,
orange,
yellow,
lime,
green,
cyan,
slateGray
}
const ImmichColorPreset defaultColorPreset = ImmichColorPreset.indigo;
const String defaultColorPresetName = "indigo";
const Color immichBrandColorLight = Color(0xFF4150AF);
const Color immichBrandColorDark = Color(0xFFACCBFA);
const Color whiteOpacity75 = Color.fromARGB((0.75 * 255) ~/ 1, 255, 255, 255);
const Color red400 = Color(0xFFEF5350);
const Color grey200 = Color(0xFFEEEEEE);