Auto-sync: 20260315_210000
This commit is contained in:
parent
a7cde5deab
commit
e5872b29de
4 changed files with 11 additions and 1 deletions
BIN
.DS_Store
vendored
BIN
.DS_Store
vendored
Binary file not shown.
BIN
assets/images/grimorio copia.jpg
Normal file
BIN
assets/images/grimorio copia.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 2.7 MiB |
|
|
@ -329,12 +329,22 @@ class _LobbyScreenState extends State<LobbyScreen> with WidgetsBindingObserver {
|
|||
|
||||
bool isChaosUnlocked = StorageService.instance.playerLevel >= 7;
|
||||
|
||||
// --- MODIFICA COLORE SFONDO HOST PANEL ---
|
||||
Color panelBackgroundColor = Colors.transparent;
|
||||
if (themeType == AppThemeType.cyberpunk) {
|
||||
panelBackgroundColor = Colors.black.withOpacity(0.85);
|
||||
} else if (themeType == AppThemeType.doodle) {
|
||||
panelBackgroundColor = Colors.white.withOpacity(0.5);
|
||||
} else if (themeType == AppThemeType.grimorio) {
|
||||
panelBackgroundColor = Colors.white.withOpacity(0.2); // Sfumatura bianca leggera per Grimorio
|
||||
}
|
||||
|
||||
Widget hostPanel = Transform.rotate(
|
||||
angle: themeType == AppThemeType.doodle ? 0.01 : 0,
|
||||
child: Container(
|
||||
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 15),
|
||||
decoration: BoxDecoration(
|
||||
color: themeType == AppThemeType.cyberpunk ? Colors.black.withOpacity(0.85) : (themeType == AppThemeType.doodle ? Colors.white.withOpacity(0.5) : Colors.transparent),
|
||||
color: panelBackgroundColor,
|
||||
borderRadius: BorderRadius.only(
|
||||
topLeft: Radius.circular(themeType == AppThemeType.doodle ? 5 : 20),
|
||||
topRight: const Radius.circular(20),
|
||||
|
|
|
|||
Loading…
Reference in a new issue