1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128
|
# Create any number of styles.{style_name} sections with a defined style.
#
# Syntax:
#
# [FORMAT].[PORTION].[SELECTOR].[ELEMENT] = [VALUE]
#
# * FORMAT: console or html
# * PORTION: The portion of the flow that the style applies to
# - key: Selects how to print the key of a KeyValue pair
# - key: Selects how to print the value of a KeyValue pair
# - flag: Selects how to print the a flag
# - delim: Selects how to print the delimiters around key and values
#
# * SELECTOR:
# - highlighted: to apply when the key is highlighted
# - type.{TYPE}: to apply when the value matches a type
# (special types such as IPAddress or EthMask can be used)
# (only aplicable to 'value')
# - {key_name}: to apply when the key matches the key_name
#
# Console Styles
# ==============
# * ELEMENT:
# - color: defines the color in hex or a color rich starndard ones [1]
# - underline: if set to "true", the selected portion will be underlined
#
#[1] https://rich.readthedocs.io/en/stable/appendix/colors.html#standard-colors
#
# HTML Styles
# ==============
# * PORTION: An extra portion is supported: "background" which defines the
# background color of the page.
# * ELEMENT:
# - color: defines the color in hex format
[styles.dark]
# defaults for key-values
console.key.color = #5D86BA
console.value.color= #B0C4DE
console.delim.color= #B0C4DE
console.default.color= #FFFFFF
# defaults for special types
console.value.type.IPAddress.color = #008700
console.value.type.IPMask.color = #008700
console.value.type.EthMask.color = #008700
# dim some long arguments
console.value.ct.color = grey66
console.value.ufid.color = grey66
console.value.clone.color = grey66
console.value.controller.color = grey66
# highlight flags
console.flag.color = #875fff
# show drop and recirculations
console.key.drop.color = red
console.key.resubmit.color = #00d700
console.key.output.color = #00d700
console.value.output.color = #00d700
# highlights
console.key.highlighted.color = red
console.key.highlighted.underline = true
console.value.highlighted.underline = true
console.delim.highlighted.underline = true
# html
html.background.color = #23282e
html.default.color = white
html.key.color = #5D86BA
html.value.color = #B0C4DE
html.delim.color = #B0C4DE
html.key.resubmit.color = #005f00
html.key.recirc.color = #005f00
html.value.resubmit.color = #005f00
html.value.recirc.color = #005f00
html.key.output.color = #00d700
html.value.output.color = #00d700
html.key.highlighted.color = #FF00FF
html.value.highlighted.color = #FF00FF
html.key.drop.color = red
[styles.light]
# If a color is omitted, the default terminal color will be used
# highlight keys
console.key.color = blue
# special types
console.value.type.IPAddress.color = #008700
console.value.type.IPMask.color = #008700
console.value.type.EthMask.color = #008700
# dim long arguments
console.value.ct.color = bright_black
console.value.ufid.color = #870000
console.value.clone.color = bright_black
console.value.controller.color = bright_black
# highlight flags
console.flag.color = #00005F
# show drop and recirculations
console.key.drop.color = red
console.key.resubmit.color = #00d700
console.key.output.color = #005f00
console.value.output.color = #00d700
# highlights
console.key.highlighted.color = #f20905
console.value.highlighted.color = #f20905
console.key.highlighted.underline = true
console.value.highlighted.underline = true
console.delim.highlighted.underline = true
# html
html.background.color = white
html.key.color = #00005f
html.value.color = #870000
html.key.resubmit.color = #00d700
html.key.output.color = #005f00
html.value.output.color = #00d700
html.key.highlighted.color = #FF00FF
html.value.highlighted.color = #FF00FF
|