kivymd / KivyMD

KivyMD is a collection of Material Design compliant widgets for use with Kivy, a framework for cross-platform, touch-enabled graphical applications. https://youtube.com/c/KivyMD https://twitter.com/KivyMD https://habr.com/ru/users/kivymd https://stackoverflow.com/tags/kivymd
https://kivymd.readthedocs.io
MIT License
2.14k stars 655 forks source link

theme_text_color: "Secondary" not working #1627

Open Sahil-pixel opened 4 months ago

Sahil-pixel commented 4 months ago

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

image

Versions