[ui] UI theme should match repertory blue #61
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good

This commit is contained in:
2025-08-21 14:57:35 -05:00
parent 17116ecd02
commit 95aa190f5f
7 changed files with 5 additions and 4 deletions

BIN
assets/icon.icns Normal file

Binary file not shown.

BIN
assets/icon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 370 KiB

View File

@@ -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);

View File

@@ -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),

View File

@@ -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),

View File

@@ -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,

View File

@@ -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(