Skip to content

Commit fee3ce8

Browse files
committed
Add more themes
1 parent 37f797d commit fee3ce8

2 files changed

Lines changed: 104 additions & 4 deletions

File tree

notes/lib/theme/themes.dart

Lines changed: 100 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@ class AppThemeData {
3232
static final allThemes = [
3333
version2,
3434
alpsSunset,
35+
solarFlare,
36+
flutter,
37+
mint,
38+
darkness,
3539
neeck,
3640
];
3741

@@ -67,13 +71,106 @@ class AppThemeData {
6771
begin: Alignment.topCenter,
6872
end: Alignment.bottomCenter,
6973
colors: [
70-
Color.fromARGB(235, 38, 114, 201),
71-
Color.fromARGB(255, 255, 174, 82),
74+
Color.fromARGB(0xff, 0x46, 0x75, 0x99),
75+
Color.fromARGB(0xff, 0xBD, 0xD5, 0xEA),
76+
Color.fromARGB(0xff, 0xf1, 0x9c, 0x79),
7277
]))),
7378
noteTitleBG: const Color.fromARGB(0x13, 0x29, 0x29, 0x29),
7479
semiTransparentBG: const Color.fromARGB(0x13, 0x29, 0x29, 0x29),
7580
toolbarBG: const Color.fromARGB(255, 54, 54, 54),
7681
toolbarShade: Colors.black,
82+
accentColor: const Color.fromARGB(0xff, 0x46, 0x75, 0x99),
83+
secondaryColor: Colors.white,
84+
toolbarIconTapColor: const Color.fromARGB(255, 77, 77, 77),
85+
toolbarSepColor: Colors.white54,
86+
);
87+
88+
static final solarFlare = AppThemeData(
89+
name: 'Solar flare',
90+
idx: 2,
91+
brightness: Brightness.dark,
92+
background: Container(
93+
decoration: const BoxDecoration(
94+
gradient: LinearGradient(
95+
begin: Alignment.topCenter,
96+
end: Alignment.bottomCenter,
97+
colors: [
98+
Color.fromARGB(255, 255, 205, 113),
99+
Color.fromARGB(255, 255, 91, 99),
100+
]))),
101+
noteTitleBG: const Color.fromARGB(0x13, 0x29, 0x29, 0x29),
102+
semiTransparentBG: const Color.fromARGB(0x13, 0x29, 0x29, 0x29),
103+
toolbarBG: const Color.fromARGB(255, 54, 54, 54),
104+
toolbarShade: Colors.black,
105+
accentColor: const Color.fromARGB(255, 255, 91, 99),
106+
secondaryColor: Colors.white,
107+
toolbarIconTapColor: const Color.fromARGB(255, 77, 77, 77),
108+
toolbarSepColor: Colors.white54,
109+
);
110+
111+
static final flutter = AppThemeData(
112+
name: 'Flutter',
113+
idx: 3,
114+
brightness: Brightness.dark,
115+
background: Container(
116+
decoration: const BoxDecoration(
117+
gradient: LinearGradient(
118+
begin: Alignment.topCenter,
119+
end: Alignment.bottomCenter,
120+
colors: [
121+
Color.fromARGB(255, 113, 186, 255),
122+
Color.fromARGB(255, 56, 107, 248),
123+
]))),
124+
noteTitleBG: const Color.fromARGB(0x13, 0x29, 0x29, 0x29),
125+
semiTransparentBG: const Color.fromARGB(0x13, 0x29, 0x29, 0x29),
126+
toolbarBG: const Color.fromARGB(255, 54, 54, 54),
127+
toolbarShade: Colors.black,
128+
accentColor: const Color.fromARGB(255, 56, 107, 248),
129+
secondaryColor: Colors.white,
130+
toolbarIconTapColor: const Color.fromARGB(255, 77, 77, 77),
131+
toolbarSepColor: Colors.white54,
132+
);
133+
134+
static final mint = AppThemeData(
135+
name: 'Mint',
136+
idx: 4,
137+
brightness: Brightness.dark,
138+
background: Container(
139+
decoration: const BoxDecoration(
140+
gradient: LinearGradient(
141+
begin: Alignment.topCenter,
142+
end: Alignment.bottomCenter,
143+
colors: [
144+
Color.fromARGB(255, 113, 255, 172),
145+
Color.fromARGB(255, 91, 107, 255),
146+
]))),
147+
noteTitleBG: const Color.fromARGB(0x13, 0x29, 0x29, 0x29),
148+
semiTransparentBG: const Color.fromARGB(0x13, 0x29, 0x29, 0x29),
149+
toolbarBG: const Color.fromARGB(255, 54, 54, 54),
150+
toolbarShade: Colors.black,
151+
accentColor: const Color.fromARGB(255, 113, 255, 172),
152+
secondaryColor: Colors.white,
153+
toolbarIconTapColor: const Color.fromARGB(255, 77, 77, 77),
154+
toolbarSepColor: Colors.white54,
155+
);
156+
157+
static final darkness = AppThemeData(
158+
name: 'Darkness',
159+
idx: 5,
160+
brightness: Brightness.dark,
161+
background: Container(
162+
decoration: const BoxDecoration(
163+
gradient: LinearGradient(
164+
begin: Alignment.topCenter,
165+
end: Alignment.bottomCenter,
166+
colors: [
167+
Color.fromARGB(255, 68, 68, 68),
168+
Color.fromARGB(255, 39, 39, 39),
169+
]))),
170+
noteTitleBG: const Color.fromARGB(19, 160, 160, 160),
171+
semiTransparentBG: const Color.fromARGB(19, 160, 160, 160),
172+
toolbarBG: const Color.fromARGB(255, 54, 54, 54),
173+
toolbarShade: Colors.black,
77174
accentColor: const Color.fromARGB(0xFF, 0xE1, 0x55, 0x54),
78175
secondaryColor: Colors.white,
79176
toolbarIconTapColor: const Color.fromARGB(255, 77, 77, 77),
@@ -82,7 +179,7 @@ class AppThemeData {
82179

83180
static final neeck = AppThemeData(
84181
name: 'Neeck',
85-
idx: 2,
182+
idx: 6,
86183
brightness: Brightness.dark,
87184
background: Container(
88185
decoration: const BoxDecoration(color: Color.fromARGB(255, 37, 37, 37)),

notes/lib/widget/sunken_toolbar.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,10 @@ class _SunkenToolbarState extends State<SunkenToolbar>
125125
padding: const EdgeInsets.only(bottom: 10),
126126
child: IconButton(
127127
onPressed: _onTapOpenSettings,
128-
icon: const Icon(Icons.settings_rounded),
128+
icon: Icon(
129+
Icons.settings_rounded,
130+
color: AppTheme().theme.secondaryColor,
131+
),
129132
),
130133
),
131134
Padding(

0 commit comments

Comments
 (0)