fix: remove useless comments

This commit is contained in:
2026-09-16 22:07:47 +02:00
parent 66a4edacb7
commit f6d7c21691
5 changed files with 5 additions and 93 deletions
+5 -37
View File
@@ -1,9 +1,5 @@
import 'package:flutter/material.dart';
// ---------------------------------------------------------------------------
// Shared design tokens
// ---------------------------------------------------------------------------
class AppRadii {
static const double sm = 10;
static const double md = 14;
@@ -19,10 +15,6 @@ class AppSpacing {
static const double xl = 24;
}
// ---------------------------------------------------------------------------
// Dark theme — refined violet palette
// ---------------------------------------------------------------------------
const _violet = Color(0xFF8B5CF6);
const _violetSoft = Color(0xFFB39DFF);
const _bg = Color(0xFF111014);
@@ -261,10 +253,6 @@ final ThemeData darkTheme = ThemeData(
),
);
// ---------------------------------------------------------------------------
// Neo-brutalist dark theme — punchy, high-contrast alternative
// ---------------------------------------------------------------------------
const _nbBg = Color(0xFF0C0C0E);
const _nbSurface = Color(0xFF1C1C20);
const _nbYellow = Color(0xFFFFD60A);
@@ -494,14 +482,8 @@ final ThemeData lightTheme = ThemeData(
letterSpacing: -0.3,
color: Color(0xFF1A1A1A),
),
iconTheme: const IconThemeData(
color: Color(0xFF5C5C5C),
size: 22,
),
actionsIconTheme: const IconThemeData(
color: Color(0xFF5C5C5C),
size: 22,
),
iconTheme: const IconThemeData(color: Color(0xFF5C5C5C), size: 22),
actionsIconTheme: const IconThemeData(color: Color(0xFF5C5C5C), size: 22),
),
iconButtonTheme: IconButtonThemeData(
@@ -629,10 +611,7 @@ final ThemeData lightTheme = ThemeData(
fontSize: 19,
fontWeight: FontWeight.w800,
),
contentTextStyle: const TextStyle(
color: Color(0xFF5C5C5C),
height: 1.4,
),
contentTextStyle: const TextStyle(color: Color(0xFF5C5C5C), height: 1.4),
),
floatingActionButtonTheme: const FloatingActionButtonThemeData(
@@ -711,16 +690,9 @@ final ThemeData lightTheme = ThemeData(
color: Color(0xFF1A1A1A),
fontWeight: FontWeight.w700,
),
bodyLarge: TextStyle(
color: Color(0xFF5C5C5C),
fontSize: 16,
height: 1.5,
),
bodyLarge: TextStyle(color: Color(0xFF5C5C5C), fontSize: 16, height: 1.5),
bodyMedium: TextStyle(color: Color(0xFF757575), height: 1.4),
bodySmall: TextStyle(
color: Color(0xFF9E9E9E),
height: 1.3,
),
bodySmall: TextStyle(color: Color(0xFF9E9E9E), height: 1.3),
labelLarge: TextStyle(
color: Color(0xFF1A1A1A),
fontWeight: FontWeight.w700,
@@ -728,10 +700,6 @@ final ThemeData lightTheme = ThemeData(
),
);
// ---------------------------------------------------------------------------
// Ugly theme — intentionally repulsive
// ---------------------------------------------------------------------------
const _uglyFg = Color(0xFFFFF700);
const _uglyBg = Color(0xFF00FFFF);
const _uglySurface = Color(0xFFFF00FF);