• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Register
  • Login
Bagisto Forum

Bagisto

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

How to change color in velocity theme

General Discussion
6
9
1.8k
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 10 Aug 2020, 05:38

    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 10 Aug 2020, 14:25

      @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 14 Aug 2020, 08:02 Reply Quote 0
      • T
        tluanga last edited by 11 Aug 2020, 14:19

        @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 11 Aug 2020, 14:58 11 Aug 2020, 14:57

          @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 14 Aug 2020, 08:02

            @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 14 Aug 2020, 09:40

              @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
              • 9 days later
              • R
                royalshell last edited by 23 Aug 2020, 00:30

                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
                • 3 years later
                • ahdhilali
                  ahdhilali last edited by 31 Mar 2023, 10:14

                  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 31 Mar 2023, 12:54

                    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
                    6 out of 9
                    • First post
                      6/9
                      Last post