GithubHelp home page GithubHelp logo

hsuan619 / website2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vanilla-os/website

0.0 0.0 0.0 62.87 MB

Official Vanilla OS Website.

Home Page: https://vanillaos.org

License: GNU Affero General Public License v3.0

JavaScript 1.10% TypeScript 4.84% CSS 17.54% HTML 1.25% Vue 75.28%

website2's Introduction


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

website2's People

Contributors

mirkobrombin avatar kbdharun avatar gabsedits avatar opensauce04 avatar mks-h avatar beganovich avatar theevilskeleton avatar kra-mo avatar jonasloos avatar leoscc avatar pietrodicaprio avatar shubhxg avatar matbme avatar orowith2os avatar alinpr18 avatar bketelsen avatar josefkelly avatar thatonecalculator avatar falsedev avatar silenc3isgold3n avatar skbotnl avatar wesleybertipaglia avatar axtloss avatar daudix avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.