mirror of
https://github.com/qinglong-app/qinglong_app.git
synced 2025-10-09 16:48:19 +08:00
优化配置文件编辑功能
This commit is contained in:
48
lib/base/ui/highlight/themes/idea.dart
Normal file
48
lib/base/ui/highlight/themes/idea.dart
Normal file
@@ -0,0 +1,48 @@
|
||||
// GENERATED CODE - DO NOT MODIFY BY HAND
|
||||
|
||||
import 'package:flutter/painting.dart';
|
||||
|
||||
const ideaTheme = {
|
||||
'root':
|
||||
TextStyle(color: Color(0xff000000), backgroundColor: Color(0xffffffff)),
|
||||
'subst': TextStyle(fontWeight: FontWeight.normal, color: Color(0xff000000)),
|
||||
'title': TextStyle(fontWeight: FontWeight.normal, color: Color(0xff000000)),
|
||||
'comment': TextStyle(color: Color(0xff808080), fontStyle: FontStyle.italic),
|
||||
'quote': TextStyle(color: Color(0xff808080), fontStyle: FontStyle.italic),
|
||||
'meta': TextStyle(color: Color(0xff808000)),
|
||||
'tag': TextStyle(backgroundColor: Color(0xffefefef)),
|
||||
'section': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)),
|
||||
'name': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)),
|
||||
'literal': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)),
|
||||
'keyword': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)),
|
||||
'selector-tag':
|
||||
TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)),
|
||||
'type': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)),
|
||||
'selector-id':
|
||||
TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)),
|
||||
'selector-class':
|
||||
TextStyle(fontWeight: FontWeight.bold, color: Color(0xff000080)),
|
||||
'attribute': TextStyle(fontWeight: FontWeight.bold, color: Color(0xff0000ff)),
|
||||
'number': TextStyle(fontWeight: FontWeight.normal, color: Color(0xff0000ff)),
|
||||
'regexp': TextStyle(fontWeight: FontWeight.normal, color: Color(0xff0000ff)),
|
||||
'link': TextStyle(fontWeight: FontWeight.normal, color: Color(0xff0000ff)),
|
||||
'string': TextStyle(color: Color(0xff008000), fontWeight: FontWeight.bold),
|
||||
'symbol': TextStyle(
|
||||
color: Color(0xff000000),
|
||||
backgroundColor: Color(0xffd0eded),
|
||||
fontStyle: FontStyle.italic),
|
||||
'bullet': TextStyle(
|
||||
color: Color(0xff000000),
|
||||
backgroundColor: Color(0xffd0eded),
|
||||
fontStyle: FontStyle.italic),
|
||||
'formula': TextStyle(
|
||||
color: Color(0xff000000),
|
||||
backgroundColor: Color(0xffd0eded),
|
||||
fontStyle: FontStyle.italic),
|
||||
'variable': TextStyle(color: Color(0xff660e7a)),
|
||||
'template-variable': TextStyle(color: Color(0xff660e7a)),
|
||||
'addition': TextStyle(backgroundColor: Color(0xffbaeeba)),
|
||||
'deletion': TextStyle(backgroundColor: Color(0xffffc8bd)),
|
||||
'emphasis': TextStyle(fontStyle: FontStyle.italic),
|
||||
'strong': TextStyle(fontWeight: FontWeight.bold),
|
||||
};
|
||||
Reference in New Issue
Block a user