No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Changing Default Text Color

    Help
    3
    4
    1367
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mecjos last edited by

      I couldn’t find any variable for default text color. It’s black ‘#000’… how can I change it as default.

      1 Reply Last reply Reply Quote 2
      • s.molinari
        s.molinari last edited by

        Just put your css in app.sass or app.styl, which ever you are using. Be aware, the components themselves control text color in many circumstances. That means globally changing the color might not change what you intend to have changed.

        Scott

        M 1 Reply Last reply Reply Quote 2
        • M
          mecjos @s.molinari last edited by

          @s-molinari said in Changing Default Text Color:

          Just put your css in app.sass or app.styl, which ever you are using. Be aware, the components themselves control text color in many circumstances. That means globally changing the color might not change what you intend to have changed.

          Scott

          Can’t I do it by changing a global variable… I mean isn’t there any variable that control default text color… I don’t want to use css class for every component. Thank you.

          1 Reply Last reply Reply Quote 1
          • A
            averri last edited by

            In order to change the default text color, you just need to set in your app.sass (or equivalent):

            body
            color: #444444

            1 Reply Last reply Reply Quote 1
            • First post
              Last post