Skip to content

Commit ee0bb48

Browse files
committed
Added ./kv_templates directory
1 parent 04e1928 commit ee0bb48

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

python_password/kv_templates/__init__.py

Whitespace-only changes.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# -*- coding: utf-8 -*-
2+
KV = '''
3+
#:import KivyLexer kivy.extras.highlight.KivyLexer
4+
#:import HotReloadViewer kivymd.utils.hot_reload_viewer.HotReloadViewer
5+
6+
7+
BoxLayout:
8+
9+
CodeInput:
10+
lexer: KivyLexer()
11+
style_name: "native"
12+
on_text: app.update_kv_file(self.text)
13+
size_hint_x: .7
14+
15+
HotReloadViewer:
16+
size_hint_x: .3
17+
path: app.path_to_kv_file
18+
errors: True
19+
errors_text_color: 1, 1, 0, 1
20+
errors_background_color: app.theme_cls.bg_dark
21+
'''

0 commit comments

Comments
 (0)