|
@@ -4,25 +4,39 @@ import 'colorscheme.dart';
|
|
|
|
|
|
const _black = Color(0xff000000);
|
|
const _black = Color(0xff000000);
|
|
const _white = Color(0xFFFFFFFF);
|
|
const _white = Color(0xFFFFFFFF);
|
|
|
|
+const _lightHover = Color(0xFFe0f8ff);
|
|
|
|
+const _lightSelector = Color(0xfff2fcff);
|
|
|
|
+const _lightBg1 = Color(0xfff7f8fc);
|
|
|
|
+const _lightBg2 = Color(0xffedeef2);
|
|
|
|
+const _lightShader1 = Color(0xff333333);
|
|
|
|
+const _lightShader3 = Color(0xff828282);
|
|
|
|
+const _lightShader6 = Color(0xfff2f2f2);
|
|
|
|
+const _lightMain1 = Color(0xff00bcf0);
|
|
|
|
+const _darkShader1 = Color(0xff131720);
|
|
|
|
+const _darkShader2 = Color(0xff1A202C);
|
|
|
|
+const _darkShader3 = Color(0xff363D49);
|
|
|
|
+const _darkShader5 = Color(0xffBBC3CD);
|
|
|
|
+const _darkShader6 = Color(0xffF2F2F2);
|
|
|
|
+const _darkMain1 = Color(0xff00BCF0);
|
|
|
|
|
|
class DefaultColorScheme extends FlowyColorScheme {
|
|
class DefaultColorScheme extends FlowyColorScheme {
|
|
const DefaultColorScheme.light()
|
|
const DefaultColorScheme.light()
|
|
: super(
|
|
: super(
|
|
- surface: Colors.white,
|
|
|
|
- hover: const Color(0xFFe0f8ff),
|
|
|
|
- selector: const Color(0xfff2fcff),
|
|
|
|
|
|
+ surface: _white,
|
|
|
|
+ hover: _lightHover,
|
|
|
|
+ selector: _lightSelector,
|
|
red: const Color(0xfffb006d),
|
|
red: const Color(0xfffb006d),
|
|
yellow: const Color(0xffffd667),
|
|
yellow: const Color(0xffffd667),
|
|
green: const Color(0xff66cf80),
|
|
green: const Color(0xff66cf80),
|
|
- shader1: const Color(0xff333333),
|
|
|
|
|
|
+ shader1: _lightShader1,
|
|
shader2: const Color(0xff4f4f4f),
|
|
shader2: const Color(0xff4f4f4f),
|
|
- shader3: const Color(0xff828282),
|
|
|
|
|
|
+ shader3: _lightShader3,
|
|
shader4: const Color(0xffbdbdbd),
|
|
shader4: const Color(0xffbdbdbd),
|
|
shader5: const Color(0xffe0e0e0),
|
|
shader5: const Color(0xffe0e0e0),
|
|
- shader6: const Color(0xfff2f2f2),
|
|
|
|
- shader7: const Color(0xffffffff),
|
|
|
|
- bg1: const Color(0xfff7f8fc),
|
|
|
|
- bg2: const Color(0xffedeef2),
|
|
|
|
|
|
+ shader6: _lightShader6,
|
|
|
|
+ shader7: _lightShader1,
|
|
|
|
+ bg1: _lightBg1,
|
|
|
|
+ bg2: _lightBg2,
|
|
bg3: const Color(0xffe2e4eb),
|
|
bg3: const Color(0xffe2e4eb),
|
|
bg4: const Color(0xff2c144b),
|
|
bg4: const Color(0xff2c144b),
|
|
tint1: const Color(0xffe8e0ff),
|
|
tint1: const Color(0xffe8e0ff),
|
|
@@ -34,41 +48,67 @@ class DefaultColorScheme extends FlowyColorScheme {
|
|
tint7: const Color(0xffddffd6),
|
|
tint7: const Color(0xffddffd6),
|
|
tint8: const Color(0xffdefff1),
|
|
tint8: const Color(0xffdefff1),
|
|
tint9: const Color(0xffe1fbff),
|
|
tint9: const Color(0xffe1fbff),
|
|
- main1: const Color(0xff00bcf0),
|
|
|
|
|
|
+ main1: _lightMain1,
|
|
main2: const Color(0xff00b7ea),
|
|
main2: const Color(0xff00b7ea),
|
|
shadow: _black,
|
|
shadow: _black,
|
|
|
|
+ sidebarBg: _lightBg1,
|
|
|
|
+ divider: _lightShader6,
|
|
|
|
+ topbarBg: _white,
|
|
|
|
+ icon: _lightShader1,
|
|
|
|
+ text: _lightShader1,
|
|
|
|
+ input: _white,
|
|
|
|
+ hint: _lightShader3,
|
|
|
|
+ primary: _lightMain1,
|
|
|
|
+ onPrimary: _white,
|
|
|
|
+ hoverBG1: _lightBg2,
|
|
|
|
+ hoverBG2: _lightHover,
|
|
|
|
+ hoverFG: _lightShader1,
|
|
|
|
+ questionBubbleBG: _lightSelector,
|
|
);
|
|
);
|
|
|
|
|
|
const DefaultColorScheme.dark()
|
|
const DefaultColorScheme.dark()
|
|
: super(
|
|
: super(
|
|
- surface: const Color(0xff292929),
|
|
|
|
- hover: const Color(0xff1f1f1f),
|
|
|
|
- selector: const Color(0xff333333),
|
|
|
|
|
|
+ surface: _darkShader2,
|
|
|
|
+ hover: _darkMain1,
|
|
|
|
+ selector: _darkShader2,
|
|
red: const Color(0xfffb006d),
|
|
red: const Color(0xfffb006d),
|
|
- yellow: const Color(0xffffd667),
|
|
|
|
- green: const Color(0xff66cf80),
|
|
|
|
- shader1: _white,
|
|
|
|
- shader2: const Color(0xffffffff),
|
|
|
|
- shader3: const Color(0xff828282),
|
|
|
|
- shader4: const Color(0xffbdbdbd),
|
|
|
|
- shader5: _white,
|
|
|
|
- shader6: _black,
|
|
|
|
- shader7: _black,
|
|
|
|
- bg1: _black,
|
|
|
|
- bg2: _black,
|
|
|
|
- bg3: const Color(0xff4f4f4f),
|
|
|
|
- bg4: const Color(0xff2c144b),
|
|
|
|
- tint1: const Color(0xffc3adff),
|
|
|
|
- tint2: const Color(0xffffadf9),
|
|
|
|
- tint3: const Color(0xffffadad),
|
|
|
|
- tint4: const Color(0xffffcfad),
|
|
|
|
- tint5: const Color(0xfffffead),
|
|
|
|
- tint6: const Color(0xffe6ffa3),
|
|
|
|
- tint7: const Color(0xffbcffad),
|
|
|
|
- tint8: const Color(0xffadffe2),
|
|
|
|
- tint9: const Color(0xffade4ff),
|
|
|
|
- main1: const Color(0xff00bcf0),
|
|
|
|
- main2: const Color(0xff009cc7),
|
|
|
|
- shadow: _black,
|
|
|
|
|
|
+ yellow: const Color(0xffF7CF46),
|
|
|
|
+ green: const Color(0xff66CF80),
|
|
|
|
+ shader1: _darkShader1,
|
|
|
|
+ shader2: _darkShader2,
|
|
|
|
+ shader3: _darkShader3,
|
|
|
|
+ shader4: const Color(0xff7C8CA5),
|
|
|
|
+ shader5: _darkShader5,
|
|
|
|
+ shader6: _darkShader6,
|
|
|
|
+ shader7: _white,
|
|
|
|
+ bg1: const Color(0xffF7F8FC),
|
|
|
|
+ bg2: const Color(0xffEDEEF2),
|
|
|
|
+ bg3: _darkMain1,
|
|
|
|
+ bg4: const Color(0xff2C144B),
|
|
|
|
+ tint1: const Color(0xff8738F5),
|
|
|
|
+ tint2: const Color(0xffE6336E),
|
|
|
|
+ tint3: const Color(0xffFF2D9E),
|
|
|
|
+ tint4: const Color(0xffE9973E),
|
|
|
|
+ tint5: const Color(0xffFBF000),
|
|
|
|
+ tint6: const Color(0xffC0F000),
|
|
|
|
+ tint7: const Color(0xff15F74E),
|
|
|
|
+ tint8: const Color(0xff00F0E2),
|
|
|
|
+ tint9: const Color(0xff00BCF0),
|
|
|
|
+ main1: _darkMain1,
|
|
|
|
+ main2: const Color(0xff00B7EA),
|
|
|
|
+ shadow: const Color(0xff0F131C),
|
|
|
|
+ sidebarBg: const Color(0xff232B38),
|
|
|
|
+ divider: _darkShader3,
|
|
|
|
+ topbarBg: _darkShader1,
|
|
|
|
+ icon: _darkShader5,
|
|
|
|
+ text: _darkShader5,
|
|
|
|
+ input: const Color(0xff282E3A),
|
|
|
|
+ hint: _darkShader5,
|
|
|
|
+ primary: _darkMain1,
|
|
|
|
+ onPrimary: _darkShader1,
|
|
|
|
+ hoverBG1: _darkMain1,
|
|
|
|
+ hoverBG2: _darkMain1,
|
|
|
|
+ hoverFG: _darkShader1,
|
|
|
|
+ questionBubbleBG: _darkShader3,
|
|
);
|
|
);
|
|
}
|
|
}
|