railscastsTheme top-level constant
Railscasts theme for syntax highlighting.
Implementation
const railscastsTheme = {
'root': TextStyle(
backgroundColor: Color(0xff232323),
color: Color(0xffe6e1dc),
),
'comment': TextStyle(color: Color(0xffbc9458), fontStyle: FontStyle.italic),
'quote': TextStyle(color: Color(0xffbc9458), fontStyle: FontStyle.italic),
'keyword': TextStyle(color: Color(0xffc26230)),
'selector-tag': TextStyle(color: Color(0xffc26230)),
'string': TextStyle(color: Color(0xffa5c261)),
'number': TextStyle(color: Color(0xffa5c261)),
'regexp': TextStyle(color: Color(0xffa5c261)),
'variable': TextStyle(color: Color(0xffa5c261)),
'template-variable': TextStyle(color: Color(0xffa5c261)),
'subst': TextStyle(color: Color(0xff519f50)),
'tag': TextStyle(color: Color(0xffe8bf6a)),
'name': TextStyle(color: Color(0xffe8bf6a)),
'type': TextStyle(color: Color(0xffda4939)),
'symbol': TextStyle(color: Color(0xff6d9cbe)),
'bullet': TextStyle(color: Color(0xff6d9cbe)),
'built_in': TextStyle(color: Color(0xff6d9cbe)),
'builtin-name': TextStyle(color: Color(0xff6d9cbe)),
'attr': TextStyle(color: Color(0xff6d9cbe)),
'link': TextStyle(color: Color(0xff6d9cbe)),
'params': TextStyle(color: Color(0xffd0d0ff)),
'attribute': TextStyle(color: Color(0xffcda869)),
'meta': TextStyle(color: Color(0xff9b859d)),
'title': TextStyle(color: Color(0xffffc66d)),
'section': TextStyle(color: Color(0xffffc66d)),
'addition': TextStyle(
backgroundColor: Color(0xff144212),
color: Color(0xffe6e1dc),
),
'deletion': TextStyle(
backgroundColor: Color(0xff660000),
color: Color(0xffe6e1dc),
),
'selector-class': TextStyle(color: Color(0xff9b703f)),
'selector-id': TextStyle(color: Color(0xff8b98ab)),
'emphasis': TextStyle(fontStyle: FontStyle.italic),
'strong': TextStyle(fontWeight: FontWeight.bold),
};