2025-02-21 17:46:41 +02:00
|
|
|
import 'package:flutter/material.dart';
|
|
|
|
|
|
2025-02-21 22:02:06 +02:00
|
|
|
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)),
|
|
|
|
|
);
|
|
|
|
|
|
2025-02-21 17:46:41 +02:00
|
|
|
const dayTheme = {
|
|
|
|
|
'root':
|
2025-02-21 22:58:10 +02:00
|
|
|
TextStyle(backgroundColor: Color(0xffF6F4F1), color: Color(0xff333333)),
|
2025-02-21 17:46:41 +02:00
|
|
|
'comment': TextStyle(color: Color(0xff969896)),
|
|
|
|
|
'meta': TextStyle(color: Color(0xff969896)),
|
|
|
|
|
'variable': TextStyle(color: Color(0xffdf5000)),
|
|
|
|
|
'template-variable': TextStyle(color: Color(0xffdf5000)),
|
|
|
|
|
'strong': TextStyle(color: Color(0xffdf5000)),
|
|
|
|
|
'emphasis': TextStyle(color: Color(0xffdf5000)),
|
|
|
|
|
'quote': TextStyle(color: Color(0xffdf5000)),
|
|
|
|
|
'keyword': TextStyle(color: Color(0xffd73a49)),
|
|
|
|
|
'selector-tag': TextStyle(color: Color(0xffd73a49)),
|
|
|
|
|
'type': TextStyle(color: Color(0xffd73a49)),
|
|
|
|
|
'literal': TextStyle(color: Color(0xff0086b3)),
|
|
|
|
|
'symbol': TextStyle(color: Color(0xff0086b3)),
|
|
|
|
|
'bullet': TextStyle(color: Color(0xff0086b3)),
|
|
|
|
|
'attribute': TextStyle(color: Color(0xff0086b3)),
|
|
|
|
|
'section': TextStyle(color: Color(0xff63a35c)),
|
|
|
|
|
'name': TextStyle(color: Color(0xff63a35c)),
|
|
|
|
|
'tag': TextStyle(color: Color(0xff333333)),
|
|
|
|
|
'title': TextStyle(color: Color(0xff6f42c1)),
|
|
|
|
|
'attr': TextStyle(color: Color(0xff6f42c1)),
|
|
|
|
|
'selector-id': TextStyle(color: Color(0xff6f42c1)),
|
|
|
|
|
'selector-class': TextStyle(color: Color(0xff6f42c1)),
|
|
|
|
|
'selector-attr': TextStyle(color: Color(0xff6f42c1)),
|
|
|
|
|
'selector-pseudo': TextStyle(color: Color(0xff6f42c1)),
|
|
|
|
|
'addition':
|
2025-02-21 22:58:10 +02:00
|
|
|
TextStyle(color: Color(0xff55a532), backgroundColor: Color(0xffeaffea)),
|
2025-02-21 17:46:41 +02:00
|
|
|
'deletion':
|
2025-02-21 22:58:10 +02:00
|
|
|
TextStyle(color: Color(0xffbd2c00), backgroundColor: Color(0xffffecec)),
|
2025-02-21 17:46:41 +02:00
|
|
|
'number': TextStyle(color: Color(0xff005cc5)),
|
|
|
|
|
'string': TextStyle(color: Color(0xff032f62)),
|
2025-02-21 22:58:10 +02:00
|
|
|
'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),
|
2025-02-21 17:46:41 +02:00
|
|
|
};
|