ente/lib/theme/effects.dart

52 lines
1.1 KiB
Dart
Raw Normal View History

2022-11-01 06:13:06 +00:00
import 'package:flutter/material.dart';
2023-04-10 04:17:45 +00:00
const blurBase = 96.0;
const blurMuted = 48.0;
const blurFaint = 24.0;
2022-11-01 06:13:06 +00:00
List<BoxShadow> shadowFloatLight = const [
BoxShadow(blurRadius: 10, color: Color.fromRGBO(0, 0, 0, 0.25)),
];
List<BoxShadow> shadowMenuLight = const [
BoxShadow(blurRadius: 6, color: Color.fromRGBO(0, 0, 0, 0.16)),
BoxShadow(
blurRadius: 6,
color: Color.fromRGBO(0, 0, 0, 0.12),
offset: Offset(0, 3),
),
];
List<BoxShadow> shadowButtonLight = const [
BoxShadow(
blurRadius: 4,
color: Color.fromRGBO(0, 0, 0, 0.25),
offset: Offset(0, 4),
),
];
List<BoxShadow> shadowFloatDark = const [
BoxShadow(
blurRadius: 12,
color: Color.fromRGBO(0, 0, 0, 0.75),
offset: Offset(0, 2),
),
];
List<BoxShadow> shadowMenuDark = const [
BoxShadow(blurRadius: 6, color: Color.fromRGBO(0, 0, 0, 0.50)),
BoxShadow(
blurRadius: 6,
color: Color.fromRGBO(0, 0, 0, 0.25),
offset: Offset(0, 3),
),
];
List<BoxShadow> shadowButtonDark = const [
BoxShadow(
blurRadius: 4,
color: Color.fromRGBO(0, 0, 0, 0.75),
offset: Offset(0, 4),
),
];