~cytrogen/fluent-reader-mobile

ref: 35bca6d1825ff682e3b811a9f24e6865d96b0f08 fluent-reader-mobile/lib/utils/colors.dart -rw-r--r-- 921 bytes
35bca6d1 — Bruce Liu update localizations 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class MyColors {
  static const background = CupertinoDynamicColor.withBrightness(
    color: CupertinoColors.extraLightBackgroundGray,
    darkColor: CupertinoColors.black,
  );

  static const tileBackground = CupertinoDynamicColor.withBrightness(
    color: CupertinoColors.white,
    darkColor: CupertinoColors.darkBackgroundGray,
  );

  static const barDivider = CupertinoDynamicColor.withBrightness(
    color: CupertinoColors.systemGrey2,
    darkColor: CupertinoColors.black,
  );

  static const dynamicBlack = CupertinoDynamicColor.withBrightness(
    color: CupertinoColors.black,
    darkColor: CupertinoColors.white,
  );

  static const dynamicDarkGrey = CupertinoDynamicColor.withBrightness(
    color: Colors.black87,
    darkColor: Colors.white70,
  );

  static const indicatorOrange = Color.fromRGBO(255, 170, 68, 1);
}