forked from firka/firka
feat(theme/preview): make one of the lessons dismissed on the tt
This commit is contained in:
@@ -143,6 +143,7 @@ class ThemePreviewData {
|
||||
start: ttBase.add(const Duration(minutes: 55)),
|
||||
end: ttBase.add(const Duration(minutes: 100)),
|
||||
roomName: "123",
|
||||
type: "UresOra",
|
||||
test: testLektion,
|
||||
),
|
||||
_lesson(
|
||||
@@ -346,6 +347,7 @@ class ThemePreviewData {
|
||||
required DateTime end,
|
||||
required String roomName,
|
||||
String? substituteTeacher,
|
||||
String type = "OrarendiOra",
|
||||
TestCacheModel? test,
|
||||
}) {
|
||||
final lesson = LessonCacheModel()
|
||||
@@ -358,7 +360,7 @@ class ThemePreviewData {
|
||||
..name = subject.name
|
||||
..roomName = roomName
|
||||
..state = "Naplozott"
|
||||
..type = "OrarendiOra"
|
||||
..type = type
|
||||
..teacher = "Tanár"
|
||||
..substituteTeacher = substituteTeacher;
|
||||
lesson.subject.value = subject;
|
||||
|
||||
67
firka_common/lib/ui/theme/core/butcher_vanity.dart
Normal file
67
firka_common/lib/ui/theme/core/butcher_vanity.dart
Normal file
@@ -0,0 +1,67 @@
|
||||
part of "../core_theme.dart";
|
||||
|
||||
const butcherVanityCore = CoreTheme(
|
||||
id: "butcher_vanity",
|
||||
light: CoreThemeColors(
|
||||
background: Color(0xFFF2F2F2),
|
||||
backgroundAmoled: Colors.black,
|
||||
background0p: Color(0x00F2F2F2),
|
||||
success: Color(0xFF92EA3B),
|
||||
shadowBlur: 2,
|
||||
textPrimary: Color(0xFF0D0D0D),
|
||||
textSecondary: Color(0xCC0D0D0D),
|
||||
textTertiary: Color(0x800D0D0D),
|
||||
textTeritary: Color(0xFFF2CB05),
|
||||
textPrimaryLight: Color(0xFF0D0D0D),
|
||||
textSecondaryLight: Color(0xCC0D0D0D),
|
||||
textTertiaryLight: Color(0x800D0D0D),
|
||||
card: Color(0xFFE8E8E8),
|
||||
cardTranslucent: Color(0x80E8E8E8),
|
||||
buttonSecondaryFill: Color(0xFFFFFFFF),
|
||||
buttonDisabledIcon: Color(0xFFC2C2C2),
|
||||
accent: Color(0xFFF2E205),
|
||||
secondary: Color(0xFFF2CB05),
|
||||
shadowColor: Color(0x330D0D0D),
|
||||
a10p: Color(0x1AF2E205),
|
||||
a15p: Color(0x26F2E205),
|
||||
warningAccent: Color(0xFFFFA046),
|
||||
warningText: Color(0xFF8F531B),
|
||||
warning15p: Color(0x26FFA046),
|
||||
warningCard: Color(0xFFFAEBDC),
|
||||
errorAccent: Color(0xFFFF54A1),
|
||||
errorText: Color(0xFF8F1B4F),
|
||||
error15p: Color(0x26FF54A1),
|
||||
errorCard: Color(0xFFFADCE9),
|
||||
),
|
||||
dark: CoreThemeColors(
|
||||
background: Color(0xFF0D0D0D),
|
||||
backgroundAmoled: Colors.black,
|
||||
background0p: Color(0x00F2F2F2),
|
||||
success: Color(0xFF92EA3B),
|
||||
shadowBlur: 0,
|
||||
textPrimary: Color(0xFFF2F2F2),
|
||||
textSecondary: Color(0xB3F2F2F2),
|
||||
textTertiary: Color(0x80F2F2F2),
|
||||
textTeritary: Color(0xFFF2CB05),
|
||||
textPrimaryLight: Color(0xFF0D0D0D),
|
||||
textSecondaryLight: Color(0xCC0D0D0D),
|
||||
textTertiaryLight: Color(0x800D0D0D),
|
||||
card: Color(0xFF171717),
|
||||
cardTranslucent: Color(0x80171717),
|
||||
buttonSecondaryFill: Color(0xFF222222),
|
||||
buttonDisabledIcon: Color(0xFF4A4A4A),
|
||||
accent: Color(0xFFF2E205),
|
||||
secondary: Color(0xFFF2CB05),
|
||||
shadowColor: Color(0x26F2CB05),
|
||||
a10p: Color(0x1AF2E205),
|
||||
a15p: Color(0x26F2E205),
|
||||
warningAccent: Color(0xFFFFA046),
|
||||
warningText: Color(0xFFF0B37A),
|
||||
warning15p: Color(0x26FFA046),
|
||||
warningCard: Color(0xFF201203),
|
||||
errorAccent: Color(0xFFFF54A1),
|
||||
errorText: Color(0xFFF59EC5),
|
||||
error15p: Color(0x26FF54A1),
|
||||
errorCard: Color(0xFF1E030F),
|
||||
),
|
||||
);
|
||||
Reference in New Issue
Block a user