Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ambient
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Daniel Furaev
Ambient
Commits
829d268b
Commit
829d268b
authored
2 years ago
by
Erik Hinkelmanns
Browse files
Options
Downloads
Patches
Plain Diff
- cleanup
parent
85542dc4
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/main.dart
+4
-6
4 additions, 6 deletions
lib/main.dart
lib/widgets/navbars.dart
+1
-1
1 addition, 1 deletion
lib/widgets/navbars.dart
with
5 additions
and
7 deletions
lib/main.dart
+
4
−
6
View file @
829d268b
...
@@ -37,11 +37,10 @@ class MyApp extends StatelessWidget {
...
@@ -37,11 +37,10 @@ class MyApp extends StatelessWidget {
}
}
}
}
const
Color
primaryColor
=
Color
(
0xFFFFa74a
);
Color
primaryColor
=
Color
(
0xFFFFa74a
);
const
Color
onPrimary
=
Color
(
0xFFFFFFFF
);
Color
onPrimary
=
Color
(
0xFFFFFFFF
);
const
Color
primaryContainer
=
Color
(
0xFFFFDFBD
);
Color
primaryContainer
=
Color
(
0xFFFFDFBD
);
const
Color
onPrimaryContainer
=
Color
(
0xFF312B25
);
Color
onPrimaryContainer
=
Color
(
0xFF312B25
);
/// Renders a static Top-/BottomBar
/// Renders a static Top-/BottomBar
/// further pages will be loaded in the body of the material app
/// further pages will be loaded in the body of the material app
...
@@ -185,6 +184,5 @@ Color ligten(Color color, [double amount = .1]) {
...
@@ -185,6 +184,5 @@ Color ligten(Color color, [double amount = .1]) {
final
hsl
=
HSLColor
.
fromColor
(
color
);
final
hsl
=
HSLColor
.
fromColor
(
color
);
final
hslLight
=
hsl
.
withLightness
((
hsl
.
lightness
+
amount
)
.
clamp
(
0.0
,
1.0
));
final
hslLight
=
hsl
.
withLightness
((
hsl
.
lightness
+
amount
)
.
clamp
(
0.0
,
1.0
));
return
hslLight
.
toColor
();
return
hslLight
.
toColor
();
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
lib/widgets/navbars.dart
+
1
−
1
View file @
829d268b
...
@@ -10,7 +10,7 @@ class SettingsDrawer extends StatelessWidget {
...
@@ -10,7 +10,7 @@ class SettingsDrawer extends StatelessWidget {
@override
@override
Widget
build
(
BuildContext
context
)
{
Widget
build
(
BuildContext
context
)
{
return
const
Drawer
(
return
Drawer
(
backgroundColor:
onPrimary
,
backgroundColor:
onPrimary
,
width:
200
,
width:
200
,
child:
Center
(
child:
Center
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment