clio.css 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Binary file
Binary file
Binary file
@@ -0,0 +1,93 @@
1
+ Copyright 2018 The Asap Project Authors (https://github.com/Omnibus-Type/Asap)
2
+
3
+ This Font Software is licensed under the SIL Open Font License, Version 1.1.
4
+ This license is copied below, and is also available with a FAQ at:
5
+ https://scripts.sil.org/OFL
6
+
7
+
8
+ -----------------------------------------------------------
9
+ SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
10
+ -----------------------------------------------------------
11
+
12
+ PREAMBLE
13
+ The goals of the Open Font License (OFL) are to stimulate worldwide
14
+ development of collaborative font projects, to support the font creation
15
+ efforts of academic and linguistic communities, and to provide a free and
16
+ open framework in which fonts may be shared and improved in partnership
17
+ with others.
18
+
19
+ The OFL allows the licensed fonts to be used, studied, modified and
20
+ redistributed freely as long as they are not sold by themselves. The
21
+ fonts, including any derivative works, can be bundled, embedded,
22
+ redistributed and/or sold with any software provided that any reserved
23
+ names are not used by derivative works. The fonts and derivatives,
24
+ however, cannot be released under any other type of license. The
25
+ requirement for fonts to remain under this license does not apply
26
+ to any document created using the fonts or their derivatives.
27
+
28
+ DEFINITIONS
29
+ "Font Software" refers to the set of files released by the Copyright
30
+ Holder(s) under this license and clearly marked as such. This may
31
+ include source files, build scripts and documentation.
32
+
33
+ "Reserved Font Name" refers to any names specified as such after the
34
+ copyright statement(s).
35
+
36
+ "Original Version" refers to the collection of Font Software components as
37
+ distributed by the Copyright Holder(s).
38
+
39
+ "Modified Version" refers to any derivative made by adding to, deleting,
40
+ or substituting -- in part or in whole -- any of the components of the
41
+ Original Version, by changing formats or by porting the Font Software to a
42
+ new environment.
43
+
44
+ "Author" refers to any designer, engineer, programmer, technical
45
+ writer or other person who contributed to the Font Software.
46
+
47
+ PERMISSION & CONDITIONS
48
+ Permission is hereby granted, free of charge, to any person obtaining
49
+ a copy of the Font Software, to use, study, copy, merge, embed, modify,
50
+ redistribute, and sell modified and unmodified copies of the Font
51
+ Software, subject to the following conditions:
52
+
53
+ 1) Neither the Font Software nor any of its individual components,
54
+ in Original or Modified Versions, may be sold by itself.
55
+
56
+ 2) Original or Modified Versions of the Font Software may be bundled,
57
+ redistributed and/or sold with any software, provided that each copy
58
+ contains the above copyright notice and this license. These can be
59
+ included either as stand-alone text files, human-readable headers or
60
+ in the appropriate machine-readable metadata fields within text or
61
+ binary files as long as those fields can be easily viewed by the user.
62
+
63
+ 3) No Modified Version of the Font Software may use the Reserved Font
64
+ Name(s) unless explicit written permission is granted by the corresponding
65
+ Copyright Holder. This restriction only applies to the primary font name as
66
+ presented to the users.
67
+
68
+ 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
69
+ Software shall not be used to promote, endorse or advertise any
70
+ Modified Version, except to acknowledge the contribution(s) of the
71
+ Copyright Holder(s) and the Author(s) or with their explicit written
72
+ permission.
73
+
74
+ 5) The Font Software, modified or unmodified, in part or in whole,
75
+ must be distributed entirely under this license, and must not be
76
+ distributed under any other license. The requirement for fonts to
77
+ remain under this license does not apply to any document created
78
+ using the Font Software.
79
+
80
+ TERMINATION
81
+ This license becomes null and void if any of the above conditions are
82
+ not met.
83
+
84
+ DISCLAIMER
85
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
86
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
87
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
88
+ OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
89
+ COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
90
+ INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
91
+ DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
92
+ FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
93
+ OTHER DEALINGS IN THE FONT SOFTWARE.
package/llms.txt ADDED
@@ -0,0 +1,38 @@
1
+ # clio.css
2
+
3
+ > CSS library for classic Mac OS interfaces: Macintosh System 6 and Mac OS 8/9 Platinum. Windows, title bars, menu bars and menus, push buttons, check boxes, radio buttons, text fields, pop-up menus, list boxes, scroll bars, dialogs and alerts, group boxes, progress bars, tabs and desktop icons. Pure CSS (no JavaScript), MIT licence, no Apple bitmaps or fonts. Every value is traced to measured pixels from AI System 6 or marked as inferred.
4
+
5
+ Install: `npm install clio.css` or `<link rel="stylesheet" href="https://unpkg.com/clio.css@0.1.0/dist/clio.css">`.
6
+ System 6 is the default; add `data-era="platinum"` to `<html>` or any element for Mac OS 9 Platinum. Single-era builds: `dist/clio.system6.css`, `dist/clio.platinum.css`.
7
+ All rules use `:where()` or one class, so author CSS always wins; every value is a `--clio-*` custom property.
8
+ Drop-in for system.css markup (.window, .title-bar button.close, .btn, .btn-default, .standard-dialog, .modal-dialog, .alert-box, .field-row, role="menu-bar").
9
+
10
+ ## Docs
11
+
12
+ - [Documentation and live examples](https://surfine.github.io/clio.css/): every component with markup, tokens and evidence
13
+ - [Component index (JSON)](https://surfine.github.io/clio.css/components.json): selectors, tokens, HTML and evidence per component
14
+ - [Full reference for LLMs](https://surfine.github.io/clio.css/llms-full.txt): all component markup plus the complete stylesheet
15
+ - [README](https://github.com/surfine/clio.css#readme)
16
+
17
+ ## Components
18
+
19
+ - [Window](https://surfine.github.io/clio.css/#window): A document window: frame, title bar with close and zoom boxes (plus the WindowShade box in Platinum), an optional details bar and a scrolling pane.
20
+ - [Menu bar and menus](https://surfine.github.io/clio.css/#menu): The menu bar across the top of the screen and its pull-down menus: items, keyboard shortcuts, check marks, separators, disabled items and submenus.
21
+ - [Push button](https://surfine.github.io/clio.css/#button): Push buttons, the default button with its ring, the pressed state and the disabled state. Styles <button>, .btn and input buttons.
22
+ - [Check box](https://surfine.github.io/clio.css/#checkbox): A check box drawn on the native <input type=checkbox>; no extra label markup needed.
23
+ - [Radio button](https://surfine.github.io/clio.css/#radio): A radio button drawn on the native <input type=radio>.
24
+ - [Text field](https://surfine.github.io/clio.css/#text-field): Single-line inputs and <textarea>.
25
+ - [Pop-up menu](https://surfine.github.io/clio.css/#select): A <select> drawn as the era's pop-up menu; <select multiple> or size>1 becomes a list box.
26
+ - [List box](https://surfine.github.io/clio.css/#listbox): A scrolling list with one or more selected rows, as in the Open dialog.
27
+ - [Scroll bar](https://surfine.github.io/clio.css/#scrollbar): The era's scroll bar on every scroll area clio.css owns, on any element with .clio-scroll, or on the whole page with <html class="clio-scrollbars">.
28
+ - [Dialogs and alerts](https://surfine.github.io/clio.css/#dialog): The modal dialog frame, the alert layout with an icon, and the plain shadowed box.
29
+ - [Group box](https://surfine.github.io/clio.css/#fieldset): A <fieldset> with a <legend>, for grouping controls.
30
+ - [Progress bar](https://surfine.github.io/clio.css/#progress): The native <progress> element as the era's thermometer.
31
+ - [Tabs](https://surfine.github.io/clio.css/#tabs): A tab strip over a panel. Native in Platinum; an adaptation in System 6, which had no tab control.
32
+ - [Desktop and icons](https://surfine.github.io/clio.css/#desktop): The desktop pattern and desktop icons with their name labels. Bring your own icon images; clio.css ships no Apple icons.
33
+ - [Type and tokens](https://surfine.github.io/clio.css/#typography): The fonts, the palette and every --clio-* custom property you can override.
34
+
35
+ ## Optional
36
+
37
+ - [EVIDENCE.md](https://github.com/surfine/clio.css/blob/main/EVIDENCE.md): where every value comes from (measured, inferred, adapted, third-party)
38
+ - [THIRD-PARTY.md](https://github.com/surfine/clio.css/blob/main/THIRD-PARTY.md): fonts and art from system.css, classic-stylesheets, ChicagoFLF and Asap
package/package.json CHANGED
@@ -1,6 +1,68 @@
1
1
  {
2
2
  "name": "clio.css",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "CSS library for classic Mac OS interfaces: Macintosh System 6 and Mac OS 8/9 Platinum windows, menus, buttons, scroll bars and dialogs, with every value traced to measured pixels.",
5
+ "keywords": [
6
+ "css",
7
+ "css-framework",
8
+ "design-system",
9
+ "classic-mac",
10
+ "classic-macos",
11
+ "macintosh",
12
+ "system-6",
13
+ "mac-os-9",
14
+ "mac-os-8",
15
+ "platinum",
16
+ "retro",
17
+ "vintage",
18
+ "1-bit",
19
+ "chicago",
20
+ "ui",
21
+ "system.css"
22
+ ],
23
+ "homepage": "https://surfine.github.io/clio.css/",
24
+ "bugs": {
25
+ "url": "https://github.com/surfine/clio.css/issues"
26
+ },
27
+ "repository": {
28
+ "type": "git",
29
+ "url": "git+https://github.com/surfine/clio.css.git"
30
+ },
31
+ "license": "MIT",
32
+ "author": "clio.css contributors",
33
+ "type": "module",
34
+ "main": "dist/clio.css",
35
+ "style": "dist/clio.css",
36
+ "unpkg": "dist/clio.css",
37
+ "jsdelivr": "dist/clio.css",
38
+ "exports": {
39
+ ".": "./dist/clio.css",
40
+ "./system6": "./dist/clio.system6.css",
41
+ "./platinum": "./dist/clio.platinum.css",
42
+ "./min": "./dist/clio.min.css",
43
+ "./system6.min": "./dist/clio.system6.min.css",
44
+ "./platinum.min": "./dist/clio.platinum.min.css",
45
+ "./components.json": "./dist/components.json",
46
+ "./dist/*": "./dist/*",
47
+ "./package.json": "./package.json"
48
+ },
49
+ "files": [
50
+ "dist",
51
+ "llms.txt",
52
+ "EVIDENCE.md",
53
+ "THIRD-PARTY.md",
54
+ "AGENTS.md"
55
+ ],
56
+ "sideEffects": [
57
+ "*.css"
58
+ ],
59
+ "scripts": {
60
+ "build": "node tooling/build.mjs",
61
+ "test": "node tooling/build.mjs && node test/check.mjs",
62
+ "fidelity": "node tooling/fidelity.mjs",
63
+ "prepack": "node tooling/build.mjs && node test/check.mjs"
64
+ },
65
+ "engines": {
66
+ "node": ">=18"
67
+ }
68
+ }