2023-02-13 01:55:43 +01:00
|
|
|
<TextColors>:
|
|
|
|
# Hex-format RGB colors used in clients. Resets after an update/install.
|
|
|
|
# To avoid, you can copy the TextColors section into a new "user.kv" next to this file
|
|
|
|
# and it will read from there instead.
|
|
|
|
black: "000000"
|
|
|
|
red: "EE0000"
|
|
|
|
green: "00FF7F" # typically a location
|
|
|
|
yellow: "FAFAD2" # typically other slots/players
|
|
|
|
blue: "6495ED" # typically extra info (such as entrance)
|
|
|
|
magenta: "EE00EE" # typically your slot/player
|
|
|
|
cyan: "00EEEE" # typically regular item
|
|
|
|
slateblue: "6D8BE8" # typically useful item
|
|
|
|
plum: "AF99EF" # typically progression item
|
|
|
|
salmon: "FA8072" # typically trap item
|
|
|
|
white: "FFFFFF" # not used, if you want to change the generic text color change color in Label
|
2024-06-08 19:08:47 -07:00
|
|
|
orange: "FF7700" # Used for command echo
|
2025-04-05 11:46:24 -05:00
|
|
|
# KivyMD theming parameters
|
|
|
|
theme_style: "Dark" # Light/Dark
|
2025-04-15 17:09:27 -05:00
|
|
|
primary_palette: "Lightsteelblue" # Many options
|
|
|
|
dynamic_scheme_name: "VIBRANT"
|
2025-04-06 13:11:16 -05:00
|
|
|
dynamic_scheme_contrast: 0.0
|
2025-04-05 11:46:24 -05:00
|
|
|
<MDLabel>:
|
|
|
|
color: self.theme_cls.primaryColor
|
2025-04-15 17:09:27 -05:00
|
|
|
<BaseButton>:
|
|
|
|
ripple_color: app.theme_cls.primaryColor
|
|
|
|
ripple_duration_in_fast: 0.2
|
2025-06-19 06:39:26 -05:00
|
|
|
<MDNavigationItemBase>:
|
|
|
|
on_release: app.screens.switch_screens(self)
|
|
|
|
|
|
|
|
MDNavigationItemLabel:
|
|
|
|
text: root.text
|
|
|
|
theme_text_color: "Custom"
|
|
|
|
text_color_active: self.theme_cls.primaryColor
|
|
|
|
text_color_normal: 1, 1, 1, 1
|
|
|
|
# indicator is on icon only for some reason
|
|
|
|
canvas.before:
|
|
|
|
Color:
|
|
|
|
rgba: self.theme_cls.secondaryContainerColor if root.active else self.theme_cls.transparentColor
|
|
|
|
Rectangle:
|
|
|
|
size: root.size
|
2023-11-07 14:51:35 -06:00
|
|
|
<TooltipLabel>:
|
2025-04-05 11:46:24 -05:00
|
|
|
adaptive_height: True
|
2025-04-15 17:09:27 -05:00
|
|
|
theme_font_size: "Custom"
|
|
|
|
font_size: "20dp"
|
2023-11-07 14:51:35 -06:00
|
|
|
markup: True
|
2025-04-05 11:46:24 -05:00
|
|
|
halign: "left"
|
2021-11-19 21:25:01 +01:00
|
|
|
<SelectableLabel>:
|
2025-04-05 11:46:24 -05:00
|
|
|
size_hint: 1, None
|
2025-04-15 17:09:27 -05:00
|
|
|
theme_text_color: "Custom"
|
|
|
|
text_color: 1, 1, 1, 1
|
2021-07-19 21:52:08 +02:00
|
|
|
canvas.before:
|
|
|
|
Color:
|
2025-04-15 17:09:27 -05:00
|
|
|
rgba: (self.theme_cls.primaryColor[0], self.theme_cls.primaryColor[1], self.theme_cls.primaryColor[2], .3) if self.selected else self.theme_cls.surfaceContainerLowestColor
|
2021-07-19 21:52:08 +02:00
|
|
|
Rectangle:
|
|
|
|
size: self.size
|
|
|
|
pos: self.pos
|
2025-04-05 11:46:24 -05:00
|
|
|
<MarkupDropdownItem>
|
|
|
|
orientation: "vertical"
|
|
|
|
|
|
|
|
MDLabel:
|
|
|
|
text: root.text
|
|
|
|
valign: "center"
|
|
|
|
padding_x: "12dp"
|
|
|
|
shorten: True
|
|
|
|
shorten_from: "right"
|
|
|
|
theme_text_color: "Custom"
|
|
|
|
markup: True
|
|
|
|
text_color:
|
|
|
|
app.theme_cls.onSurfaceVariantColor \
|
|
|
|
if not root.text_color else \
|
|
|
|
root.text_color
|
|
|
|
|
|
|
|
MDDivider:
|
|
|
|
md_bg_color:
|
|
|
|
( \
|
|
|
|
app.theme_cls.outlineVariantColor \
|
|
|
|
if not root.divider_color \
|
|
|
|
else root.divider_color \
|
|
|
|
) \
|
|
|
|
if root.divider else \
|
|
|
|
(0, 0, 0, 0)
|
2021-07-19 21:52:08 +02:00
|
|
|
<UILog>:
|
2023-02-13 03:50:05 +01:00
|
|
|
messages: 1000 # amount of messages stored in client logs.
|
|
|
|
cols: 1
|
2021-11-19 21:25:01 +01:00
|
|
|
viewclass: 'SelectableLabel'
|
2021-07-19 21:52:08 +02:00
|
|
|
scroll_y: 0
|
2022-11-01 06:54:40 +01:00
|
|
|
scroll_type: ["content", "bars"]
|
|
|
|
bar_width: dp(12)
|
2021-07-19 21:52:08 +02:00
|
|
|
effect_cls: "ScrollEffect"
|
2021-11-19 21:25:01 +01:00
|
|
|
SelectableRecycleBoxLayout:
|
2023-11-07 14:51:35 -06:00
|
|
|
default_size: None, dp(20)
|
|
|
|
default_size_hint: 1, None
|
|
|
|
size_hint_y: None
|
|
|
|
height: self.minimum_height
|
|
|
|
orientation: 'vertical'
|
|
|
|
spacing: dp(3)
|
|
|
|
<HintLabel>:
|
|
|
|
canvas.before:
|
|
|
|
Color:
|
2025-04-05 11:46:24 -05:00
|
|
|
rgba: (.0, 0.9, .1, .3) if self.selected else self.theme_cls.surfaceContainerHighColor if self.striped else self.theme_cls.surfaceContainerLowColor
|
2023-11-07 14:51:35 -06:00
|
|
|
Rectangle:
|
|
|
|
size: self.size
|
|
|
|
pos: self.pos
|
|
|
|
height: self.minimum_height
|
|
|
|
receiving_text: "Receiving Player"
|
|
|
|
item_text: "Item"
|
|
|
|
finding_text: "Finding Player"
|
|
|
|
location_text: "Location"
|
|
|
|
entrance_text: "Entrance"
|
2024-11-28 20:10:31 -05:00
|
|
|
status_text: "Status"
|
2023-11-07 14:51:35 -06:00
|
|
|
TooltipLabel:
|
|
|
|
id: receiving
|
2024-03-12 14:52:57 +01:00
|
|
|
sort_key: 'receiving'
|
2023-11-07 14:51:35 -06:00
|
|
|
text: root.receiving_text
|
|
|
|
halign: 'center'
|
|
|
|
valign: 'center'
|
|
|
|
pos_hint: {"center_y": 0.5}
|
|
|
|
TooltipLabel:
|
|
|
|
id: item
|
2024-03-12 14:52:57 +01:00
|
|
|
sort_key: 'item'
|
2023-11-07 14:51:35 -06:00
|
|
|
text: root.item_text
|
|
|
|
halign: 'center'
|
|
|
|
valign: 'center'
|
|
|
|
pos_hint: {"center_y": 0.5}
|
|
|
|
TooltipLabel:
|
|
|
|
id: finding
|
2024-03-12 14:52:57 +01:00
|
|
|
sort_key: 'finding'
|
2023-11-07 14:51:35 -06:00
|
|
|
text: root.finding_text
|
|
|
|
halign: 'center'
|
|
|
|
valign: 'center'
|
|
|
|
pos_hint: {"center_y": 0.5}
|
|
|
|
TooltipLabel:
|
|
|
|
id: location
|
2024-03-12 14:52:57 +01:00
|
|
|
sort_key: 'location'
|
2023-11-07 14:51:35 -06:00
|
|
|
text: root.location_text
|
|
|
|
halign: 'center'
|
|
|
|
valign: 'center'
|
|
|
|
pos_hint: {"center_y": 0.5}
|
|
|
|
TooltipLabel:
|
|
|
|
id: entrance
|
2024-03-12 14:52:57 +01:00
|
|
|
sort_key: 'entrance'
|
2023-11-07 14:51:35 -06:00
|
|
|
text: root.entrance_text
|
|
|
|
halign: 'center'
|
|
|
|
valign: 'center'
|
|
|
|
pos_hint: {"center_y": 0.5}
|
|
|
|
TooltipLabel:
|
2024-11-28 20:10:31 -05:00
|
|
|
id: status
|
|
|
|
sort_key: 'status'
|
|
|
|
text: root.status_text
|
2023-11-07 14:51:35 -06:00
|
|
|
halign: 'center'
|
|
|
|
valign: 'center'
|
|
|
|
pos_hint: {"center_y": 0.5}
|
|
|
|
<HintLog>:
|
|
|
|
cols: 1
|
|
|
|
viewclass: 'HintLabel'
|
|
|
|
scroll_y: self.height
|
|
|
|
scroll_type: ["content", "bars"]
|
|
|
|
bar_width: dp(12)
|
|
|
|
effect_cls: "ScrollEffect"
|
|
|
|
SelectableRecycleBoxLayout:
|
2021-07-19 21:52:08 +02:00
|
|
|
default_size: None, dp(20)
|
|
|
|
default_size_hint: 1, None
|
|
|
|
size_hint_y: None
|
|
|
|
height: self.minimum_height
|
|
|
|
orientation: 'vertical'
|
2021-10-29 10:03:15 +02:00
|
|
|
spacing: dp(3)
|
|
|
|
<ServerLabel>:
|
|
|
|
text: "Server:"
|
|
|
|
size_hint_x: None
|
|
|
|
<ContainerLayout>:
|
|
|
|
size_hint_x: 1
|
|
|
|
size_hint_y: 1
|
|
|
|
pos: (0, 0)
|
2022-05-24 00:20:02 +02:00
|
|
|
<ToolTip>:
|
2021-10-29 10:03:15 +02:00
|
|
|
size: self.texture_size
|
2021-12-02 07:47:10 +01:00
|
|
|
size_hint: None, None
|
2025-04-15 17:09:27 -05:00
|
|
|
theme_font_size: "Custom"
|
2021-12-03 02:41:56 +01:00
|
|
|
font_size: dp(18)
|
2021-10-29 10:03:15 +02:00
|
|
|
pos_hint: {'center_y': 0.5, 'center_x': 0.5}
|
|
|
|
halign: "left"
|
2025-04-15 17:09:27 -05:00
|
|
|
theme_text_color: "Custom"
|
|
|
|
text_color: (1, 1, 1, 1)
|
2021-10-29 10:03:15 +02:00
|
|
|
canvas.before:
|
|
|
|
Color:
|
|
|
|
rgba: 0.2, 0.2, 0.2, 1
|
|
|
|
Rectangle:
|
|
|
|
size: self.size
|
2021-12-02 07:47:10 +01:00
|
|
|
pos: self.pos
|
|
|
|
Color:
|
|
|
|
rgba: 0.098, 0.337, 0.431, 1
|
|
|
|
Line:
|
|
|
|
width: 3
|
|
|
|
rectangle: self.x-2, self.y-2, self.width+4, self.height+4
|
|
|
|
Color:
|
|
|
|
rgba: 0.235, 0.678, 0.843, 1
|
|
|
|
Line:
|
|
|
|
width: 1
|
2022-05-24 00:20:02 +02:00
|
|
|
rectangle: self.x-2, self.y-2, self.width+4, self.height+4
|
|
|
|
<ServerToolTip>:
|
|
|
|
pos_hint: {'center_y': 0.5, 'center_x': 0.5}
|
2025-04-15 17:09:27 -05:00
|
|
|
<AutocompleteHintInput>:
|
2025-01-10 20:21:02 +01:00
|
|
|
size_hint_y: None
|
2025-04-15 17:09:27 -05:00
|
|
|
height: "30dp"
|
2025-01-10 20:21:02 +01:00
|
|
|
multiline: False
|
|
|
|
write_tab: False
|
2025-04-15 17:09:27 -05:00
|
|
|
pos_hint: {"center_x": 0.5, "center_y": 0.5}
|
|
|
|
<ConnectBarTextInput>:
|
|
|
|
height: "30dp"
|
|
|
|
multiline: False
|
|
|
|
write_tab: False
|
|
|
|
role: "medium"
|
|
|
|
size_hint_y: None
|
|
|
|
pos_hint: {"center_x": 0.5, "center_y": 0.5}
|
|
|
|
<CommandPromptTextInput>:
|
|
|
|
size_hint_y: None
|
|
|
|
height: "30dp"
|
|
|
|
multiline: False
|
|
|
|
write_tab: False
|
|
|
|
pos_hint: {"center_x": 0.5, "center_y": 0.5}
|
|
|
|
<MessageBoxLabel>:
|
|
|
|
theme_text_color: "Custom"
|
|
|
|
text_color: 1, 1, 1, 1
|
2025-04-05 11:46:24 -05:00
|
|
|
<ScrollBox>:
|
|
|
|
layout: layout
|
|
|
|
bar_width: "12dp"
|
|
|
|
scroll_wheel_distance: 40
|
|
|
|
do_scroll_x: False
|
2025-04-06 13:11:16 -05:00
|
|
|
scroll_type: ['bars', 'content']
|
2025-04-05 11:46:24 -05:00
|
|
|
|
|
|
|
MDBoxLayout:
|
|
|
|
id: layout
|
|
|
|
orientation: "vertical"
|
|
|
|
spacing: 10
|
|
|
|
size_hint_y: None
|
|
|
|
height: self.minimum_height
|
2025-05-18 18:08:39 -05:00
|
|
|
<MessageBoxLabel>:
|
|
|
|
valign: "middle"
|
|
|
|
halign: "center"
|
|
|
|
text_size: self.width, None
|
|
|
|
height: self.texture_size[1]
|