Parch Linux Official Website!
Find a file
dependabot[bot] 2ba3394dbb
Bump vite from 4.5.1 to 4.5.2
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.1 to 4.5.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.5.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.5.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-29 21:54:33 +00:00
articles init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
public init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
scripts init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
src init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
.gitignore init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
.prettierrc init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
Containerfile init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
contributors.json init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
env.d.ts init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
index.html init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
LICENSE init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
logo-white.png init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
logo.png init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
package-lock.json Bump vite from 4.5.1 to 4.5.2 2024-03-29 21:54:33 +00:00
package.json Bump vite from 4.5.1 to 4.5.2 2024-03-29 21:54:33 +00:00
README.md init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
server.js init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
tsconfig.json init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
tsconfig.node.json init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
vite.config.ts init official website by cloning vanillaos.org 2024-03-29 23:23:37 +03:30
yarn.lock Bump vite from 4.5.1 to 4.5.2 2024-03-29 21:54:33 +00:00


This source code is distributed under the AGPL 3.0 license, while Vanilla OS is a product of fabricators.ltd.

Please note that all assets on this website are owned by fabricators.ltd and the Vanilla OS Contributors Team.

Development

CSS Convention

Our framework follows the BEM (Block, Element, Modifier) convention for CSS classes.

Colors are defined in the assets/css/colors/default.css and assets/css/colors/dark.css files, they must be unique and not overlap with each other.

Each new component (block) must be defined in a separate file in the assets/css/components directory and must follow the following structure:

.block {
    /* Color Variables */
    --block-color: var(--color-primary);
    --block-element-color: var(--color-secondary);
}

.block {
    /* Block Styles */
    background-color: var(--block-color);
}

.block-element {
    /* Element Styles */
    background-color: var(--block-element-color);
    width: 100px;
    height: 100px;
}

.block--modifier {
    /* Modifier Styles */
    width: 200px;
    height: 200px;
}

/* Media Queries */

Build and Run

To run the Vanilla OS website locally, you need to have Vue.js and Vite installed.

Build articles index

npm run generate-articles

Run the website locally

This will also build the articles index.

npm run dev

Production Build

This will also build the articles index.

npm run build