mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-29 02:07:39 +08:00
NoteTile: Adjust border color
This commit is contained in:
@ -29,9 +29,9 @@ class NoteTile extends StatelessWidget {
|
|||||||
|
|
||||||
var theme = Theme.of(context);
|
var theme = Theme.of(context);
|
||||||
var textTheme = theme.textTheme;
|
var textTheme = theme.textTheme;
|
||||||
var borderColor = theme.highlightColor.withAlpha(80);
|
var borderColor = theme.highlightColor.withAlpha(100);
|
||||||
if (theme.brightness == Brightness.dark) {
|
if (theme.brightness == Brightness.dark) {
|
||||||
borderColor = theme.highlightColor.withAlpha(100);
|
borderColor = theme.highlightColor.withAlpha(30);
|
||||||
}
|
}
|
||||||
|
|
||||||
var tileContent = Container(
|
var tileContent = Container(
|
||||||
|
Reference in New Issue
Block a user