65 lines
2.8 KiB
Dart
65 lines
2.8 KiB
Dart
import 'package:flutter/material.dart';
|
|
|
|
const TextTheme nightText = TextTheme(
|
|
titleLarge: TextStyle(color: Color(0xffc5c8c6)),
|
|
bodyLarge: TextStyle(color: Color(0xffc5c8c6)),
|
|
bodyMedium: TextStyle(color: Color(0xffc5c8c6)),
|
|
bodySmall: TextStyle(color: Color(0xffc5c8c6)),
|
|
displayLarge: TextStyle(color: Color(0xffc5c8c6)),
|
|
displayMedium: TextStyle(color: Color(0xffc5c8c6)),
|
|
displaySmall: TextStyle(color: Color(0xffc5c8c6)),
|
|
headlineLarge: TextStyle(color: Color(0xffc5c8c6)),
|
|
headlineMedium: TextStyle(color: Color(0xffc5c8c6)),
|
|
headlineSmall: TextStyle(color: Color(0xffc5c8c6)),
|
|
labelLarge: TextStyle(color: Color(0xffc5c8c6)),
|
|
labelMedium: TextStyle(color: Color(0xffc5c8c6)),
|
|
labelSmall: TextStyle(color: Color(0xffc5c8c6)),
|
|
titleMedium: TextStyle(color: Color(0xffc5c8c6)),
|
|
titleSmall: TextStyle(color: Color(0xffc5c8c6)),
|
|
);
|
|
|
|
const nightTheme = {
|
|
'comment': TextStyle(color: Color(0xff969896)),
|
|
'quote': TextStyle(color: Color(0xff969896)),
|
|
'variable': TextStyle(color: Color(0xffcc6666)),
|
|
'template-variable': TextStyle(color: Color(0xffcc6666)),
|
|
'tag': TextStyle(color: Color(0xffcc6666)),
|
|
'name': TextStyle(color: Color(0xffcc6666)),
|
|
'selector-id': TextStyle(color: Color(0xffcc6666)),
|
|
'selector-class': TextStyle(color: Color(0xffcc6666)),
|
|
'regexp': TextStyle(color: Color(0xffcc6666)),
|
|
'deletion': TextStyle(color: Color(0xffcc6666)),
|
|
'number': TextStyle(color: Color(0xffde935f)),
|
|
'built_in': TextStyle(color: Color(0xffde935f)),
|
|
'builtin-name': TextStyle(color: Color(0xffde935f)),
|
|
'literal': TextStyle(color: Color(0xffde935f)),
|
|
'type': TextStyle(color: Color(0xffde935f)),
|
|
'params': TextStyle(color: Color(0xffde935f)),
|
|
'meta': TextStyle(color: Color(0xffde935f)),
|
|
'link': TextStyle(color: Color(0xffde935f)),
|
|
'attribute': TextStyle(color: Color(0xfff0c674)),
|
|
'string': TextStyle(color: Color(0xffb5bd68)),
|
|
'symbol': TextStyle(color: Color(0xffb5bd68)),
|
|
'bullet': TextStyle(color: Color(0xffb5bd68)),
|
|
'addition': TextStyle(color: Color(0xffb5bd68)),
|
|
'title': TextStyle(color: Color(0xff81a2be)),
|
|
'section': TextStyle(color: Color(0xff81a2be), fontWeight: FontWeight.w600, fontSize: 18),
|
|
'keyword': TextStyle(color: Color(0xffb294bb)),
|
|
'selector-tag': TextStyle(color: Color(0xffb294bb)),
|
|
'root':
|
|
TextStyle(backgroundColor: Color(0xFF121212), color: Color(0xffc5c8c6)),
|
|
'emphasis': TextStyle(fontStyle: FontStyle.italic),
|
|
'strong': TextStyle(fontWeight: FontWeight.bold),
|
|
'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),
|
|
};
|