KivyMD icon indicating copy to clipboard operation
KivyMD copied to clipboard

theme_text_color: "Secondary" not working

Open Sahil-pixel opened this issue 4 months ago • 0 comments

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

  • OS: kubuntu
  • Python: 3.10
  • Kivy: 2.3.0
  • KivyMD: 2.0.1.dev0

Sahil-pixel avatar Feb 22 '24 16:02 Sahil-pixel