A design system for building retro Apple interfaces - Using as few classes as possible :D
  • HTML 54.9%
  • Nunjucks 26.1%
  • CSS 17.1%
  • JavaScript 1.9%
Find a file
2024-08-11 11:50:18 +00:00
.github/workflows automate npm 2022-08-11 00:03:42 -04:00
_site Migrating to njk templates 2023-12-07 09:46:29 -01:00
fonts fix fonts not showing up on safari 2023-02-06 13:01:15 -05:00
icon Update btn-default.svg, add example in docs 2022-11-01 14:50:07 -04:00
web Migrating to njk templates 2023-12-07 09:46:29 -01:00
.editorconfig first 2022-08-05 16:14:02 -04:00
.eleventy.js Migrating to njk templates 2023-12-07 09:46:29 -01:00
.gitignore Cleanup for simpler development and Netlify deployment 2023-09-28 09:44:37 -04:00
.npmignore first 2022-08-05 16:14:02 -04:00
build.js Cleaning up name and (c) 2023-09-20 05:32:39 -04:00
bun.lockb chore: Update system7.css package name and URLs 2024-08-11 11:50:18 +00:00
LICENSE Update LICENSE 2023-09-20 05:10:55 -04:00
package.json chore: Update system7.css package name and URLs 2024-08-11 11:50:18 +00:00
README.md chore: Update system7.css package name and URLs 2024-08-11 11:50:18 +00:00
style.css Update style.css background 2023-11-04 17:42:30 -04:00
yarn.lock Migrating to njk templates 2023-12-07 09:46:29 -01:00

system7.css!

Documentation

System7.css is a CSS library for building interfaces that resemble Apple's System OS which ran from 1984-1991. Design-wise, not much really changed from System 1 to System 6; however, this library is based on System 6 as it was the final monochrome version of macOS.

Fortunately, this library does not use any JavaScript and is compatible with any front-end framework of your choice. Most styles can also be overwritten to allow for deeper customization.

Getting Started

There are a couple of ways you can get started with System7.css!

Import from CDN (easiest)

Add the following to your head tag:

<link rel="stylesheet" href="https://unpkg.com/system7/style.css" />

Here's some starter code to help you get started:

<!DOCTYPE html>
<html lang="en">
<head>
    <title>System7.css Starter</title>
    <meta charset="UTF-8" />
    <link rel="stylesheet" href="https://unpkg.com/system7/style.css" />
</head>
<body>
    <div class="window" style="width:30rem;">
        <div class="title-bar"> 
            <button aria-label="Close" class="close"></button>
            <h1 class="title">System7.css</h1>
            <button aria-label="Resize" class="resize"></button>
        </div>
        <div class="separator"></div>
        
        <div class="window-pane">
            Hello world!
        </div>
    </div>

    <div class="window" style="width:30rem;">
        <div class="title-bar"> 
            <button aria-label="Close" class="close"></button>
            <h1 class="title">Search</h1>
            <button aria-label="Resize" disabled class="hidden"></button>
        </div>
        <div class="separator"></div>
        
        <div class="modeless-dialog">
            <section class="field-row" style="justify-content: flex-start">
                <label for="text_find" class="modeless-text">Find:</label>
                <input id="text_find" type="text" style="width:100%;" placeholder="">
            </section>
            <section class="field-row" style="justify-content: flex-end">
                <button class="btn">Cancel</button>
                <button class="btn" style="width:95px;">Find</button>
            </section>
        </div>
        </div>
</body>
</html>

Import from npmjs

npm i system7

Developing

  1. Clone the repository and run npm install
  2. Run npm start to start the development environment.

Everything you'll need can be found in style.css.

Contributing, Credits, etc.

Thanks for checking this project out! This library was made in good fun and was directly inspired by ystem.css and 98.css. The Chicago 12pt and Geneva 9pt fonts are recreations by @blogmywiki

System7.css is still in beta! I recreated components based on Apple's Human Interface Guidelines. However, there's still a pretty good chance that I might've missed/overlooked something essential. I've also had to recreate most of the assets, which can also be found here.

If you find a bug, consider opening an issue. If there's something that you'd like to add, please feel free to create a PR!

If you'd like to see what else I'm up to, consider following me on Twitter or checking out my personal site :)

Sponsors

If you would like to sponsor System7 css please reach out at info@openco.ca