mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
77 lines
3.9 KiB
Dart
77 lines
3.9 KiB
Dart
|
|
import 'package:flutter/material.dart';
|
|
|
|
const qinglongLightTheme = {
|
|
'root':
|
|
TextStyle(color: Color(0xff333333), backgroundColor: Color(0xffffffff)),
|
|
'comment': TextStyle(color: Color(0xff999988), fontStyle: FontStyle.italic),
|
|
'quote': TextStyle(color: Color(0xff999988), fontStyle: FontStyle.italic),
|
|
'keyword': TextStyle(color: Color(0xff333333), fontWeight: FontWeight.bold),
|
|
'selector-tag':
|
|
TextStyle(color: Color(0xff333333), fontWeight: FontWeight.bold),
|
|
'subst': TextStyle(color: Color(0xff333333), fontWeight: FontWeight.normal),
|
|
'number': TextStyle(color: Color(0xff008080)),
|
|
'literal': TextStyle(color: Color(0xff008080)),
|
|
'variable': TextStyle(color: Color(0xff008080)),
|
|
'template-variable': TextStyle(color: Color(0xff008080)),
|
|
'string': TextStyle(color: Color(0xffdd1144)),
|
|
'doctag': TextStyle(color: Color(0xffdd1144)),
|
|
'title': TextStyle(color: Color(0xff990000), fontWeight: FontWeight.bold),
|
|
'section': TextStyle(color: Color(0xff990000), fontWeight: FontWeight.bold),
|
|
'selector-id':
|
|
TextStyle(color: Color(0xff990000), fontWeight: FontWeight.bold),
|
|
'type': TextStyle(color: Color(0xff445588), fontWeight: FontWeight.bold),
|
|
'tag': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal),
|
|
'name': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal),
|
|
'attribute':
|
|
TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal),
|
|
'regexp': TextStyle(color: Color(0xff009926)),
|
|
'link': TextStyle(color: Color(0xff009926)),
|
|
'symbol': TextStyle(color: Color(0xff990073)),
|
|
'bullet': TextStyle(color: Color(0xff990073)),
|
|
'built_in': TextStyle(color: Color(0xff0086b3)),
|
|
'builtin-name': TextStyle(color: Color(0xff0086b3)),
|
|
'meta': TextStyle(color: Color(0xff999999), fontWeight: FontWeight.bold),
|
|
'deletion': TextStyle(backgroundColor: Color(0xffffdddd)),
|
|
'addition': TextStyle(backgroundColor: Color(0xffddffdd)),
|
|
'emphasis': TextStyle(fontStyle: FontStyle.italic),
|
|
'strong': TextStyle(fontWeight: FontWeight.bold),
|
|
};
|
|
|
|
const qinglongDarkTheme = {
|
|
'root':
|
|
TextStyle(color: Color(0xff333333), backgroundColor: Color(0xff2E312E)),
|
|
'comment': TextStyle(color: Color(0xff999988), fontStyle: FontStyle.italic),
|
|
'quote': TextStyle(color: Color(0xff999988), fontStyle: FontStyle.italic),
|
|
'keyword': TextStyle(color: Color(0xff333333), fontWeight: FontWeight.bold),
|
|
'selector-tag':
|
|
TextStyle(color: Color(0xff333333), fontWeight: FontWeight.bold),
|
|
'subst': TextStyle(color: Color(0xff333333), fontWeight: FontWeight.normal),
|
|
'number': TextStyle(color: Color(0xff008080)),
|
|
'literal': TextStyle(color: Color(0xff008080)),
|
|
'variable': TextStyle(color: Color(0xff008080)),
|
|
'template-variable': TextStyle(color: Color(0xff008080)),
|
|
'string': TextStyle(color: Color(0xffdd1144)),
|
|
'doctag': TextStyle(color: Color(0xffdd1144)),
|
|
'title': TextStyle(color: Color(0xff990000), fontWeight: FontWeight.bold),
|
|
'section': TextStyle(color: Color(0xff990000), fontWeight: FontWeight.bold),
|
|
'selector-id':
|
|
TextStyle(color: Color(0xff990000), fontWeight: FontWeight.bold),
|
|
'type': TextStyle(color: Color(0xff445588), fontWeight: FontWeight.bold),
|
|
'tag': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal),
|
|
'name': TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal),
|
|
'attribute':
|
|
TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal),
|
|
'regexp': TextStyle(color: Color(0xff009926)),
|
|
'link': TextStyle(color: Color(0xff009926)),
|
|
'symbol': TextStyle(color: Color(0xff990073)),
|
|
'bullet': TextStyle(color: Color(0xff990073)),
|
|
'built_in': TextStyle(color: Color(0xff0086b3)),
|
|
'builtin-name': TextStyle(color: Color(0xff0086b3)),
|
|
'meta': TextStyle(color: Color(0xff999999), fontWeight: FontWeight.bold),
|
|
'deletion': TextStyle(backgroundColor: Color(0xffffdddd)),
|
|
'addition': TextStyle(backgroundColor: Color(0xffddffdd)),
|
|
'emphasis': TextStyle(fontStyle: FontStyle.italic),
|
|
'strong': TextStyle(fontWeight: FontWeight.bold),
|
|
};
|