This commit is contained in:
@@ -11,24 +11,25 @@ const appTitle = 'Repertory Management Portal';
|
|||||||
const borderRadius = 16.0;
|
const borderRadius = 16.0;
|
||||||
const borderRadiusSmall = borderRadius / 2.0;
|
const borderRadiusSmall = borderRadius / 2.0;
|
||||||
const borderRadiusTiny = borderRadiusSmall / 2.0;
|
const borderRadiusTiny = borderRadiusSmall / 2.0;
|
||||||
|
const boxShadowAlpha = 0.20;
|
||||||
const databaseTypeList = ['rocksdb', 'sqlite'];
|
const databaseTypeList = ['rocksdb', 'sqlite'];
|
||||||
|
const dialogAlpha = 0.95;
|
||||||
const downloadTypeList = ['default', 'direct', 'ring_buffer'];
|
const downloadTypeList = ['default', 'direct', 'ring_buffer'];
|
||||||
const eventLevelList = ['critical', 'error', 'warn', 'info', 'debug', 'trace'];
|
const eventLevelList = ['critical', 'error', 'warn', 'info', 'debug', 'trace'];
|
||||||
const gradientColors = [Color(0xFF0A0F1F), Color(0xFF1B1C1F)];
|
const gradientColors = [Color(0xFF0A0F1F), Color(0xFF1B1C1F)];
|
||||||
const gradientColors2 = [Color(0x07FFFFFF), Color(0x00000000)];
|
const gradientColors2 = [Color(0x07FFFFFF), Color(0x00000000)];
|
||||||
const highlightAlpha = 0.10;
|
const highlightAlpha = 0.10;
|
||||||
|
const largeIconSize = 32.0;
|
||||||
const logonWidth = 300.0;
|
const logonWidth = 300.0;
|
||||||
const outlineAlpha = 0.15;
|
const outlineAlpha = 0.15;
|
||||||
const padding = 16.0;
|
const padding = 16.0;
|
||||||
const paddingSmall = padding / 2.0;
|
const paddingSmall = padding / 2.0;
|
||||||
const primaryAlpha = 0.20;
|
const primaryAlpha = 0.20;
|
||||||
const boxShadowAlpha = 0.20;
|
|
||||||
const primarySurfaceAlpha = 92.0;
|
const primarySurfaceAlpha = 92.0;
|
||||||
const protocolTypeList = ['http', 'https'];
|
const protocolTypeList = ['http', 'https'];
|
||||||
const providerTypeList = ['Encrypt', 'Remote', 'S3', 'Sia'];
|
const providerTypeList = ['Encrypt', 'Remote', 'S3', 'Sia'];
|
||||||
const ringBufferSizeList = ['128', '256', '512', '1024', '2048'];
|
const ringBufferSizeList = ['128', '256', '512', '1024', '2048'];
|
||||||
const secondaryAlpha = 0.45;
|
const secondaryAlpha = 0.45;
|
||||||
const largeIconSize = 32.0;
|
|
||||||
const secondarySurfaceAlpha = 70.0;
|
const secondarySurfaceAlpha = 70.0;
|
||||||
const surfaceContainerLowDark = Color(0xFF292A2D);
|
const surfaceContainerLowDark = Color(0xFF292A2D);
|
||||||
const surfaceDark = Color(0xFF202124);
|
const surfaceDark = Color(0xFF202124);
|
||||||
|
@@ -18,8 +18,8 @@ Future doShowDialog(BuildContext context, Widget child) => showDialog(
|
|||||||
return Theme(
|
return Theme(
|
||||||
data: theme.copyWith(
|
data: theme.copyWith(
|
||||||
dialogTheme: DialogThemeData(
|
dialogTheme: DialogThemeData(
|
||||||
backgroundColor: scheme.primary.withValues(
|
backgroundColor: scheme.surfaceDim.withValues(
|
||||||
alpha: constants.primaryAlpha,
|
alpha: constants.dialogAlpha,
|
||||||
),
|
),
|
||||||
surfaceTintColor: Colors.transparent,
|
surfaceTintColor: Colors.transparent,
|
||||||
shape: RoundedRectangleBorder(
|
shape: RoundedRectangleBorder(
|
||||||
|
Reference in New Issue
Block a user