KivyMD
KivyMD copied to clipboard
theme_text_color: "Secondary" not working
Description of the Bug
Your text
Code and Logs
from kivymd.app import MDApp
KV = '''
MDScreen:
md_bg_color: self.theme_cls.backgroundColor
MDLabel:
text: "MDLabel"
halign: "center"
theme_text_color: "Secondary"
theme_font_size: "Custom"
font_size:'50sp'
'''
class Example(MDApp):
def build(self):
self.theme_cls.theme_style = "Light"
return Builder.load_string(KV)
Example().run()
Screenshots
Versions
- OS: kubuntu
- Python: 3.10
- Kivy: 2.3.0
- KivyMD: 2.0.1.dev0