All Projects → botoxparty → Xp.css

botoxparty / Xp.css

Licence: mit
A CSS framework for building faithful recreations of operating system GUIs.

Labels

Projects that are alternatives of or similar to Xp.css

Malyw.github.io
JavaScript/HTML/CSS blog
Stars: ✭ 43 (-95.95%)
Mutual labels:  scss
Extension Workshop
Firefox Extension Workshop
Stars: ✭ 47 (-95.57%)
Mutual labels:  scss
Guide 3ds
A complete guide to 3DS custom firmware, from stock to boot9strap.
Stars: ✭ 1,055 (-0.57%)
Mutual labels:  scss
Kirby Previews
Add some missing structure previews. Kirby 3 only.
Stars: ✭ 44 (-95.85%)
Mutual labels:  scss
Lebab Ce
Lebab - Community Editor
Stars: ✭ 46 (-95.66%)
Mutual labels:  scss
Cg Site
The cloud.gov website
Stars: ✭ 47 (-95.57%)
Mutual labels:  scss
Gochowdown
Hugo theme based on the Jekyll chowdown theme
Stars: ✭ 43 (-95.95%)
Mutual labels:  scss
Sassyfication
💅Library with sass mixins to speed up your css workflow.
Stars: ✭ 51 (-95.19%)
Mutual labels:  scss
Che Docs
Eclipse Che Documentation
Stars: ✭ 46 (-95.66%)
Mutual labels:  scss
Snack Helper
🗃 A universal CSS helper library.
Stars: ✭ 50 (-95.29%)
Mutual labels:  scss
Availity Uikit
Availity UI Kit powered by Bootstrap 4
Stars: ✭ 44 (-95.85%)
Mutual labels:  scss
Holly React
A React implementation of Davide Pacilio's free landing page template.
Stars: ✭ 45 (-95.76%)
Mutual labels:  scss
Svelte Typescript Parcel
Svelte + Typescript + Parcel
Stars: ✭ 48 (-95.48%)
Mutual labels:  scss
Codyhouse Framework
A lightweight front-end framework for building accessible, bespoke interfaces.
Stars: ✭ 1,020 (-3.86%)
Mutual labels:  scss
Minimal Mistakes
📐 Jekyll theme for building a personal site, blog, project documentation, or portfolio.
Stars: ✭ 8,967 (+745.15%)
Mutual labels:  scss
Jekyll Bootstrap4
Bootstrap 4 with Jekyll minimalistic example site
Stars: ✭ 43 (-95.95%)
Mutual labels:  scss
Atomic Builder
Atomic Builder - Framework SASS
Stars: ✭ 47 (-95.57%)
Mutual labels:  scss
Hyde
Port of https://github.com/poole/hyde to Zola
Stars: ✭ 51 (-95.19%)
Mutual labels:  scss
Generator Baukasten
Awesome!
Stars: ✭ 50 (-95.29%)
Mutual labels:  scss
Atlas Ui Framework
The shortest path to a stunning User Interface for all Mendix applications.
Stars: ✭ 49 (-95.38%)
Mutual labels:  scss

XP.css

npm gzip size

A design system for building faithful recreations of old UIs.

a screenshot of a window with the title 'My First Program' and two buttons OK and Cancel, styled like a Windows XP dialog a screenshot of a window with the title 'My First Program' and two buttons OK and Cancel, styled like a Windows 98 dialog

XP.css is an extension of 98.css. A CSS file that takes semantic HTML and makes it look pretty. It does not ship with any JavaScript, so it is compatible with your frontend framework of choice.

Installation / Usage

The easiest way to use XP.css is to import it from unpkg.

<!DOCTYPE html>
<html>
  <head>
    <title>XP.css example</title>
    <meta charset="UTF-8" />
    // Windows XP Theme (include only one theme at a time)
    <link rel="stylesheet" href="https://unpkg.com/xp.css" />
    // Windows 98 Theme (include only one theme at a time)
    <link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/98.css" />
  </head>

  <body>
    <div class="window" style="margin: 32px; width: 250px">
      <div class="title-bar">
        <div class="title-bar-text">
          My First Program
        </div>
      </div>
      <div class="window-body">
        <p>Hello, world!</p>
      </div>
    </div>
  </body>
</html>

Alternatively, you can grab XP.css from npm.

npm install xp.css

Usage:

// For XP
import "xp.css/dist/XP.css";

// For 98
import "xp.css/dist/98.css";

Here is an example of XP.css being used with React, and an example with vanilla JavaScript.

Refer to the documentation page for specific instructions on this library's components.

Developing

Clone the repo and run npm install.

The core styles are managed in gui.

To create your own theme for the GUI you can extend the core styles. See the XP and 98 themes

You can use npm start to start a development environment that will watch for file changes and rebuild the files, reloading your browser in the process.

You can run a build manually with npm run build. This will write to the dist/ directory.

Issues, Contributing, etc.

I would love to see other people's work on gui.css, if anyone else if up for creating a theme for another OS using this framework. Also new components and bugs/issues are also welcome! Feel free to contribute in whatever way you like!

Also please refer to the GitHub issues page for jdan's 98.css.

License

MIT

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].