- 8 DB models (services, incidents, monitors, subscribers, etc.) - Full CRUD API for services, incidents, monitors - Public status page with live data - Incident detail page with timeline - API key authentication - Uptime monitoring scheduler - 13 tests passing - TECHNICAL_DESIGN.md with full spec
54 lines
1.3 KiB
Python
54 lines
1.3 KiB
Python
"""
|
|
pygments.styles.rrt
|
|
~~~~~~~~~~~~~~~~~~~
|
|
|
|
pygments "rrt" theme, based on Zap and Emacs defaults.
|
|
|
|
:copyright: Copyright 2006-present by the Pygments team, see AUTHORS.
|
|
:license: BSD, see LICENSE for details.
|
|
"""
|
|
|
|
from pygments.style import Style
|
|
from pygments.token import (
|
|
Comment,
|
|
Generic,
|
|
Keyword,
|
|
Name,
|
|
Number,
|
|
Operator,
|
|
String,
|
|
Token,
|
|
)
|
|
|
|
__all__ = ['RrtStyle']
|
|
|
|
|
|
class RrtStyle(Style):
|
|
"""
|
|
Minimalistic "rrt" theme, based on Zap and Emacs defaults.
|
|
"""
|
|
|
|
name = 'rrt'
|
|
|
|
background_color = '#000000'
|
|
highlight_color = '#0000ff'
|
|
|
|
styles = {
|
|
Token: '#dddddd',
|
|
Comment: '#00ff00',
|
|
Generic.Emph: '#ffffff',
|
|
Generic.Heading: '#ffff00',
|
|
Generic.Subheading: '#ffff00',
|
|
Generic.Strong: '#ffffff',
|
|
Name.Entity: '#eedd82',
|
|
Name.Function: '#ffff00',
|
|
Name.Variable: '#eedd82',
|
|
Name.Tag: '#7fffd4',
|
|
Name.Constant: '#7fffd4',
|
|
Keyword: '#ff0000',
|
|
Operator.Word: '#ff0000',
|
|
Comment.Preproc: '#e5e5e5',
|
|
String: '#87ceeb',
|
|
Keyword.Type: '#ee82ee',
|
|
Number: '#ff00ff',
|
|
}
|