Bagisto Forum

    Bagisto

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

    How to change color in velocity theme

    General Discussion
    6
    9
    1763
    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.
    • D
      Deepanjali last edited by

      How do i change the color of the velocity theme and customize it according to me

      1 Reply Last reply Reply Quote 0
      • V
        Vaishali Agarwal last edited by

        @Deepanjali

        You need to change value of some variable inside the file /packages/Webkul/Velocity/src/Resources/assets/sass/_variables.scss.

        variables will be $button-primary-bg, $theme-color, $theme-dark-color

        provide the value of these variables according to your requirement and after that run command npm run watch or npm run prod.

        Let me know if you have any further query.
        Thanks!

        D 1 Reply Last reply Reply Quote 0
        • T
          tluanga last edited by

          @Vaishali-Agarwal not work?
          5fefe198-4b19-478a-9e28-c647873885e0-image.png

          1 Reply Last reply Reply Quote 0
          • V
            Vaishali Agarwal last edited by Vaishali Agarwal

            @tluanga
            kindly run npm install command from the velocity package, then run the npm run watch.

            1 Reply Last reply Reply Quote 0
            • D
              Deepanjali @Vaishali Agarwal last edited by

              @Vaishali-Agarwal Do I have to run the npm run watch inside some specific package?
              I'm getting this error :
              de1880f5-f5c7-4518-80b8-9f9cd74b1642-image.png

              1 Reply Last reply Reply Quote 0
              • V
                Vaishali Agarwal last edited by

                @Deepanjali
                Yes, You're changing the velocity theme so need to run the command inside velocity package.
                Kindly go to this directory path /package/Webkul/Velocity and run the following below command:

                npm i
                npm run watch
                npm run prod

                1 Reply Last reply Reply Quote 0
                • R
                  royalshell last edited by

                  This way with a Bagisto update the changes will be overridden right? Are there any guidelines how to create a Package overriding the Velocity colors so it will persists after an update?

                  1 Reply Last reply Reply Quote 0
                  • ahdhilali
                    ahdhilali last edited by

                    The changes was done correctly but when I git pull changes to another computer it shows the old colors like no changes mage

                    1 Reply Last reply Reply Quote 0
                    • sanjay-webkul
                      sanjay-webkul last edited by

                      Hi there.
                      Is it possible to share the steps which your are following for push/pull the code from git. I guess you skiped any step while pushing and pulling the code.

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