mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
format code
This commit is contained in:
@@ -1,14 +1,13 @@
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
const qinglongLightTheme = {
|
||||
'root':
|
||||
TextStyle(color: Color(0xff333333), backgroundColor: Color(0xffffffff)),
|
||||
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),
|
||||
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)),
|
||||
@@ -19,12 +18,12 @@ const qinglongLightTheme = {
|
||||
'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),
|
||||
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),
|
||||
TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal),
|
||||
'regexp': TextStyle(color: Color(0xff009926)),
|
||||
'link': TextStyle(color: Color(0xff009926)),
|
||||
'symbol': TextStyle(color: Color(0xff990073)),
|
||||
@@ -39,13 +38,12 @@ const qinglongLightTheme = {
|
||||
};
|
||||
|
||||
const qinglongDarkTheme = {
|
||||
'root':
|
||||
TextStyle(color: Color(0xff333333), backgroundColor: Colors.black),
|
||||
'root': TextStyle(color: Color(0xff333333), backgroundColor: Colors.black),
|
||||
'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),
|
||||
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)),
|
||||
@@ -56,12 +54,12 @@ const qinglongDarkTheme = {
|
||||
'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),
|
||||
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),
|
||||
TextStyle(color: Color(0xff000080), fontWeight: FontWeight.normal),
|
||||
'regexp': TextStyle(color: Color(0xff009926)),
|
||||
'link': TextStyle(color: Color(0xff009926)),
|
||||
'symbol': TextStyle(color: Color(0xff990073)),
|
||||
|
||||
Reference in New Issue
Block a user