sanic/guide/webapp/display/code_style.py
2023-09-06 15:44:00 +03:00

21 lines
428 B
Python

from pygments.style import Style
from pygments.token import ( # Error,; Generic,; Number,; Operator,
Comment,
Keyword,
Name,
String,
Token,
)
class SanicCodeStyle(Style):
styles = {
Token: "#777",
Comment: "italic #a2a2a2",
Keyword: "#ff0d68",
Name: "#333",
Name.Class: "bold #37ae6f",
Name.Function: "#0092FF",
String: "bg:#eee #833FE3",
}