azion-theme v1.10.3
The Azion Theme repository is focused on sharing our style kit across interfaces and should be used in all company projects, including Azion Console Kit, Azion Site, Landing Pages, and all user interactions with Azion.
Easy to Install
To install the azion-theme project, you need to follow the command. Choose one of your preferences: npm or yarn:
npm install azion-theme --save
# or
yarn add azion-themeAlternatively, you can configure the package.json file by adding the dependency:
{
"dependencies": {
"azion-theme": "^1.4.0"
}
}After updating the package.json file, run npm install in the root of your project to install the Azion Theme.
Easy to Connect with Front-End Project
To integrate the Azion Theme into your front-end project, you need to import the theme files in your project's entry point file (App.vue, main.js, index.js, etc.):
import 'azion-theme/dark';
import 'azion-theme/light';Make sure to include these imports at the top of your entry point file to ensure the styles are applied correctly throughout your application.
How to Develop Locally
To work locally, you should clone both the azion-theme repository and the other repository where the theme will be used.
Example:
In this example, we will use the azion-webkit repository:
Clone the
azion-webkitandazion-themerepositories:git clone https://github.com/aziontech/azion-webkit.git git clone https://github.com/aziontech/azion-theme.gitInstall dependencies and create the link point:
cd ./azion-theme && npm i && npm linkLink the
azion-themeto theazion-webkitproject:cd ../azion-webkit && npm i && npm link azion-theme
Any modifications made to azion-theme will be reflected on this development server with hot reload.
Links
8 months ago
8 months ago
8 months ago
8 months ago
8 months ago
12 months ago
12 months ago
12 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago