Thanks for being interested in contributing to this project!
- Make sure the issue hasn't been raised yet
- Include screenshots or animated GIFs in your issue whenever needed (if visual issue)
- Before you start working, it's better to open an issue to discuss first.
- The current developed version is in the
mainbranch. The theme does not have a dedicateddevelopbranch - Include screenshots or animated GIFs in your pull request whenever needed (if visual changes)
- It's OK to have multiple small commits as you work on the PR - we will let GitHub automatically squash it before merging
- DO NOT commit the
distfolder, use it only for testing on your end - If adding new feature:
- Provide convincing reason to add this feature. Ideally you should open a suggestion issue first and have it greenlighted before working on it
- Always on a separated file in
/src/scss/components - Use .scss extension
- Use kebab-case
The only properties that uses hardware acceleration are:
- transform
- opacity
- filter
These are two great articles about it: https://medium.com/outsystems-experts/how-to-achieve-60-fps-animations-with-css3-db7b98610108 and https://www.sitepoint.com/introduction-to-hardware-acceleration-css-animations/.
You need at least Node.js version 24. The local setup contains every example of the main Oruga documentation page.
Clone this repo to your local machine and install the dependencies:
$ npm installTo link the main Oruga packages locally, build both the oruga and the examples package in the Oruga repo.
Then run npm run link ../oruga/packages/oruga ../oruga/packages/examples in the theme repo to link the build output of the main Oruga packages.
To compile the code in watch mode and run the live server on http://localhost:5173:
# start a local vite dev server
$ npm run devTo build the code output run:
# build the package using vite
$ npm run buildTo lint the code run:
# lint the js/ts/vue code
$ npm run lint
# lint the css/scss code
$ npm run lint:style