muzzle-velocity/lib/themes/day.dart

92 lines
4 KiB
Dart

import 'package:flutter/material.dart';
const TextTheme dayText = TextTheme(
titleLarge: TextStyle(color: Color(0xff333333)),
bodyLarge: TextStyle(color: Color(0xff333333)),
bodyMedium: TextStyle(color: Color(0xff333333)),
bodySmall: TextStyle(color: Color(0xff333333)),
displayLarge: TextStyle(color: Color(0xff333333)),
displayMedium: TextStyle(color: Color(0xff333333)),
displaySmall: TextStyle(color: Color(0xff333333)),
headlineLarge: TextStyle(color: Color(0xff333333)),
headlineMedium: TextStyle(color: Color(0xff333333)),
headlineSmall: TextStyle(color: Color(0xff333333)),
labelLarge: TextStyle(color: Color(0xff333333)),
labelMedium: TextStyle(color: Color(0xff333333)),
labelSmall: TextStyle(color: Color(0xff333333)),
titleMedium: TextStyle(color: Color(0xff333333)),
titleSmall: TextStyle(color: Color(0xff333333)),
);
const dayTheme = {
// General text
'root': TextStyle(backgroundColor: Color(0xffF6F4F1), color: Color(0xff333333)),
// Headers
'header-h1': TextStyle(color: Color(0xff63a35c)), // Green for H1
'header-h2': TextStyle(color: Color(0xff63a35c), fontWeight: FontWeight.w600, fontSize: 22), // Green for H2
'header-h3': TextStyle(color: Color(0xff63a35c), fontWeight: FontWeight.w600, fontSize: 20), // Green for H3
'header-h4': TextStyle(color: Color(0xff63a35c), fontWeight: FontWeight.w600, fontSize: 18), // Green for H4
'header-h5': TextStyle(color: Color(0xff63a35c), fontWeight: FontWeight.w600, fontSize: 16), // Green for H5
'header-h6': TextStyle(color: Color(0xff63a35c), fontWeight: FontWeight.w600, fontSize: 14), // Green for H6
'header-underline': TextStyle(color: Color(0xff63a35c)), // Green for underlined headers
// Lists
'list': TextStyle(color: Color(0xff0086b3)), // Blue for lists
// Bold text
'bold': TextStyle(fontWeight: FontWeight.bold, color: Color(0xffdf5000)), // Orange for bold text
// Italic text
'italic': TextStyle(fontStyle: FontStyle.italic, color: Color(0xffdf5000)), // Orange for italic text
// Blockquotes
'blockquote': TextStyle(color: Color(0xffdf5000)), // Orange for blockquotes
// Code blocks and inline code
'code': TextStyle(color: Color(0xff005cc5), backgroundColor: Color(0xffeaffea)), // Blue for code
// Horizontal rules
'horizontal-rule': TextStyle(color: Color(0xffbd2c00)), // Red for horizontal rules
// Horizontal rules
'command': TextStyle(fontStyle: FontStyle.italic, color: Color(0xffbd2c00)), // Red for horizontal rules
// Links and images
'link-text': TextStyle(color: Color(0xff0086b3)), // Blue for link text
'link-url': TextStyle(color: Color(0xffd73a49)), // Red for link URLs
'link-reference': TextStyle(color: Color(0xff0086b3)), // Blue for link references
// Strikethrough text
'strikethrough': TextStyle(color: Color(0xffbd2c00), decoration: TextDecoration.lineThrough), // Red for strikethrough
// Tables
'table': TextStyle(color: Color(0xff333333)), // Black for tables
'table-header': TextStyle(color: Color(0xff6f42c1), fontWeight: FontWeight.w600), // Purple for table headers
'table-row': TextStyle(color: Color(0xff333333)), // Black for table rows
'table-cell': TextStyle(color: Color(0xff333333)), // Black for table cells
// Task lists
'task-list': TextStyle(color: Color(0xff0086b3)), // Blue for task lists
// Emphasis and strong
'emphasis': TextStyle(fontStyle: FontStyle.italic, color: Color(0xffdf5000)), // Orange for emphasis
'strong': TextStyle(fontWeight: FontWeight.bold, color: Color(0xffdf5000)), // Orange for strong
// Comments and quotes
'comment': TextStyle(color: Color(0xff969896)), // Gray for comments
'quote': TextStyle(color: Color(0xffdf5000)), // Orange for quotes
'tag-hash': TextStyle(
color: Colors.pinkAccent,
fontStyle: FontStyle.italic,
fontWeight: FontWeight.bold),
'tag-plus': TextStyle(
color: Colors.cyan,
fontStyle: FontStyle.italic,
fontWeight: FontWeight.bold),
'tag-at': TextStyle(
color: Colors.orange,
fontStyle: FontStyle.italic,
fontWeight: FontWeight.bold),
};