Files
tatuchat/lib/utils/code_highlight_theme.dart
Welton Moura 0037b0b9cf
Some checks failed
Main Deploy Workflow / deploy_web (push) Has been cancelled
Main Deploy Workflow / deploy_playstore_internal (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
Initial commit
2026-09-11 15:59:56 -03:00

46 lines
2.1 KiB
Dart

// SPDX-FileCopyrightText: 2019-Present Christian Kußowski
// SPDX-FileCopyrightText: 2019-Present Contributors to FluffyChat
//
// SPDX-License-Identifier: AGPL-3.0-or-later
import 'package:flutter/widgets.dart';
const hightlightTextColor = Color(0xffabb2bf);
const atomOneBackgroundColor = Color(0xff282c34);
const atomOneDarkTheme = {
'root': TextStyle(color: hightlightTextColor),
'comment': TextStyle(color: Color(0xff5c6370), fontStyle: FontStyle.italic),
'quote': TextStyle(color: Color(0xff5c6370), fontStyle: FontStyle.italic),
'doctag': TextStyle(color: Color(0xffc678dd)),
'keyword': TextStyle(color: Color(0xffc678dd)),
'formula': TextStyle(color: Color(0xffc678dd)),
'section': TextStyle(color: Color(0xffe06c75)),
'name': TextStyle(color: Color(0xffe06c75)),
'selector-tag': TextStyle(color: Color(0xffe06c75)),
'deletion': TextStyle(color: Color(0xffe06c75)),
'subst': TextStyle(color: Color(0xffe06c75)),
'literal': TextStyle(color: Color(0xff56b6c2)),
'string': TextStyle(color: Color(0xff98c379)),
'regexp': TextStyle(color: Color(0xff98c379)),
'addition': TextStyle(color: Color(0xff98c379)),
'attribute': TextStyle(color: Color(0xff98c379)),
'meta-string': TextStyle(color: Color(0xff98c379)),
'built_in': TextStyle(color: Color(0xffe6c07b)),
'attr': TextStyle(color: Color(0xffd19a66)),
'variable': TextStyle(color: Color(0xffd19a66)),
'template-variable': TextStyle(color: Color(0xffd19a66)),
'type': TextStyle(color: Color(0xffd19a66)),
'selector-class': TextStyle(color: Color(0xffd19a66)),
'selector-attr': TextStyle(color: Color(0xffd19a66)),
'selector-pseudo': TextStyle(color: Color(0xffd19a66)),
'number': TextStyle(color: Color(0xffd19a66)),
'symbol': TextStyle(color: Color(0xff61aeee)),
'bullet': TextStyle(color: Color(0xff61aeee)),
'link': TextStyle(color: Color(0xff61aeee)),
'meta': TextStyle(color: Color(0xff61aeee)),
'selector-id': TextStyle(color: Color(0xff61aeee)),
'title': TextStyle(color: Color(0xff61aeee)),
'emphasis': TextStyle(fontStyle: FontStyle.italic),
'strong': TextStyle(fontWeight: FontWeight.bold),
};