[ui] UI theme should match repertory blue #61
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
BIN
assets/icon.icns
Normal file
BIN
assets/icon.icns
Normal file
Binary file not shown.
BIN
assets/icon.ico
Normal file
BIN
assets/icon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 370 KiB |
@@ -21,6 +21,7 @@ const paddingSmall = 8.0;
|
||||
const protocolTypeList = ['http', 'https'];
|
||||
const providerTypeList = ['Encrypt', 'Remote', 'S3', 'Sia'];
|
||||
const ringBufferSizeList = ['128', '256', '512', '1024', '2048'];
|
||||
const primaryAlpha = 0.15;
|
||||
const surfaceContainerLowDark = Color(0xFF292A2D);
|
||||
const surfaceDark = Color(0xFF202124);
|
||||
|
||||
|
@@ -16,7 +16,7 @@ Future doShowDialog(BuildContext context, Widget child) => showDialog(
|
||||
return Theme(
|
||||
data: theme.copyWith(
|
||||
dialogTheme: DialogThemeData(
|
||||
backgroundColor: scheme.primary.withValues(alpha: 0.15),
|
||||
backgroundColor: scheme.primary.withValues(alpha: constants.primaryAlpha),
|
||||
surfaceTintColor: Colors.transparent,
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(constants.borderRadius),
|
||||
|
@@ -49,7 +49,7 @@ class _AddMountScreenState extends State<AddMountScreen> {
|
||||
Widget glassTile({required Widget child, EdgeInsets? padding}) {
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: scheme.surface.withValues(alpha: 0.40),
|
||||
color: scheme.primary.withValues(alpha: constants.primaryAlpha),
|
||||
borderRadius: BorderRadius.circular(constants.borderRadius),
|
||||
border: Border.all(
|
||||
color: scheme.outlineVariant.withValues(alpha: 0.08),
|
||||
|
@@ -39,7 +39,7 @@ class _AuthScreenState extends State<AuthScreen> {
|
||||
labelText: label,
|
||||
prefixIcon: Icon(icon),
|
||||
filled: true,
|
||||
fillColor: scheme.primary.withValues(alpha: 0.15),
|
||||
fillColor: scheme.primary.withValues(alpha: constants.primaryAlpha),
|
||||
border: OutlineInputBorder(
|
||||
borderRadius: BorderRadius.circular(constants.borderRadiusSmall),
|
||||
borderSide: BorderSide.none,
|
||||
|
@@ -27,7 +27,7 @@ class _MountWidgetState extends State<MountWidget> {
|
||||
return Card(
|
||||
margin: const EdgeInsets.all(0.0),
|
||||
elevation: 12,
|
||||
color: scheme.primary.withValues(alpha: 0.15),
|
||||
color: scheme.primary.withValues(alpha: constants.primaryAlpha),
|
||||
shape: RoundedRectangleBorder(
|
||||
borderRadius: BorderRadius.circular(constants.borderRadiusSmall),
|
||||
side: BorderSide(
|
||||
|
Reference in New Issue
Block a user