how to change the deffault text blue color in kivy MDtextfield

Viewed 25

i try to change the Text color to yollow but can't really find the solution

and here is my .kv code

#: import FadeTransition kivy.uix.screenmanager.FadeTransition " WindowManager: SecondScreen: FirstScreen:

: name: "first" FloatLayout:

    canvas.before:

        Rectangle:
            pos: self.pos
            size: self.size
            source: "bg.png"

    MDRaisedButton:
        text: "Bring me to it!"
        font_name : "Pacifico.ttf"
        md_bg_color: "#049AA6"
        pos_hint :{"center_y": 0.3,"center_x": 0.5 }
        size_hint : (0.25,0.07)
        font_size:28
        on_release : 
            root.manager.transition = FadeTransition()
            app.root.current = "second"

            

    Label:
        markup: True

        pos_hint :{"center_y": 0.02,"center_x": 0.12 }
        color: (1/255, 10/255, 56/255,1)

: name: "second" MDFloatLayout: canvas.before: Rectangle: pos: self.pos size: self.size source: "BG1.png"

    MDTextField:
        id:"user"
        pos_hint : {"center_x": 0.55, "center_y":0.592}
        size_hint_x: None
        width : 250
        line_color_normal : [216/255,205/255,104/255,1]
        line_color_focus : [255/255,230/255,0/255,1]
        



    MDTextField:
        id:"
  • List item

pass" pos_hint : {"center_x": 0.55, "center_y":0.51} size_hint_x: None width : 250 line_color_normal : [216/255,205/255,104/255,1] line_color_focus : [255/255,230/255,0/255,1]

    MDTextField:
        id:"passc"
        pos_hint : {"center_x": 0.56, "center_y":0.4}
        size_hint_x: None
        width : 250
        line_color_normal : [216/255,205/255,104/255,1]
        line_color_focus : [255/255,230/255,0/255,1]

"

0 Answers
Related