Configuration

TSteps to follow for getting started with config:-

In the below function the withHUI is the keyword

const withHUI = require("./src/theme/config");

module.exports = withHUI({
    plugins: [],
});

In the above js file the [./src/theme/config] is the file path for all the content written in the config.js file

Here is the general file structure of the Configuration:

  • src
    • theme
      • components
        • button.js
        • input.js
    • icon.png
    • favicon.ico

In button js file we can edit the spacing and all like padding,display,postion etc

Also button js the buttonRoot is called that we have defined already and all the characteristics or properties of (.btn ) class can be assigned here

As we enter in the color js file, we can define the different color as per our requirements and make the tweak as per the desired needs of user

For more details about the configuration realted Tailwind user can visit Tailwind Docs