xt256Theme top-level constant
Xt256 theme for syntax highlighting.
Implementation
const xt256Theme = {
'root': TextStyle(
color: Color(0xffeaeaea),
backgroundColor: Color(0xff000000),
),
'subst': TextStyle(color: Color(0xffeaeaea)),
'emphasis': TextStyle(fontStyle: FontStyle.italic),
'strong': TextStyle(fontWeight: FontWeight.bold),
'builtin-name': TextStyle(color: Color(0xffeaeaea)),
'type': TextStyle(color: Color(0xffeaeaea)),
'params': TextStyle(color: Color(0xffda0000)),
'literal': TextStyle(color: Color(0xffff0000), fontWeight: FontWeight.bold),
'number': TextStyle(color: Color(0xffff0000), fontWeight: FontWeight.bold),
'name': TextStyle(color: Color(0xffff0000), fontWeight: FontWeight.bold),
'comment': TextStyle(color: Color(0xff969896)),
'selector-id': TextStyle(color: Color(0xff00ffff)),
'quote': TextStyle(color: Color(0xff00ffff)),
'template-variable': TextStyle(
color: Color(0xff00ffff),
fontWeight: FontWeight.bold,
),
'variable': TextStyle(color: Color(0xff00ffff), fontWeight: FontWeight.bold),
'title': TextStyle(color: Color(0xff00ffff), fontWeight: FontWeight.bold),
'selector-class': TextStyle(color: Color(0xfffff000)),
'keyword': TextStyle(color: Color(0xfffff000)),
'symbol': TextStyle(color: Color(0xfffff000)),
'string': TextStyle(color: Color(0xff00ff00)),
'bullet': TextStyle(color: Color(0xff00ff00)),
'tag': TextStyle(color: Color(0xff000fff)),
'section': TextStyle(color: Color(0xff000fff)),
'selector-tag': TextStyle(
color: Color(0xff000fff),
fontWeight: FontWeight.bold,
),
'attribute': TextStyle(color: Color(0xffff00ff)),
'built_in': TextStyle(color: Color(0xffff00ff)),
'regexp': TextStyle(color: Color(0xffff00ff)),
'link': TextStyle(color: Color(0xffff00ff)),
'meta': TextStyle(color: Color(0xffffffff), fontWeight: FontWeight.bold),
};