feat: add operation buttons and tooltip background.
This commit is contained in:
@@ -18,9 +18,20 @@ var darkTheme = ThemeData.dark().copyWith(
|
||||
),
|
||||
),
|
||||
popupMenuTheme: ThemeData.dark().popupMenuTheme.copyWith(
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(defaultBorderRadius),
|
||||
),
|
||||
),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(defaultBorderRadius),
|
||||
),
|
||||
),
|
||||
dialogBackgroundColor: Color(0xff202020),
|
||||
tooltipTheme: ThemeData.dark().tooltipTheme.copyWith(
|
||||
textStyle: TextStyle(
|
||||
color: Colors.grey,
|
||||
),
|
||||
padding: EdgeInsets.symmetric(horizontal: 3, vertical: 2),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
color: Color(0xff282828).withOpacity(.9),
|
||||
border: Border.all(color: Colors.black38),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
@@ -23,4 +23,15 @@ var lightTheme = ThemeData.light().copyWith(
|
||||
),
|
||||
),
|
||||
dialogBackgroundColor: Color(0xfffefefe),
|
||||
tooltipTheme: ThemeData.dark().tooltipTheme.copyWith(
|
||||
textStyle: TextStyle(
|
||||
color: Colors.grey.shade600,
|
||||
),
|
||||
padding: EdgeInsets.symmetric(horizontal: 3, vertical: 2),
|
||||
decoration: BoxDecoration(
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
color: Color(0xfff8f8f8).withOpacity(.9),
|
||||
border: Border.all(color: Colors.grey.shade400),
|
||||
),
|
||||
),
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user