From 7f7b376de6c245b2b7d8a7f15c407f9814a79315 Mon Sep 17 00:00:00 2001 From: Egor Kloos Date: Fri, 12 Jan 2024 15:27:26 +0100 Subject: [PATCH] Package info update --- .npmrc | 1 + README.md | 21 +++++++++++++++++---- package.json | 16 ++++++++++++---- 3 files changed, 30 insertions(+), 8 deletions(-) create mode 100644 .npmrc diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000..018edfc --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +@dutchcelt:registry=https://registry.npmjs.org/ diff --git a/README.md b/README.md index 192e7e4..dcc22a1 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,6 @@ A base stylesheet using system colors and css keywords. -## Demo - -https://dutchcelt.github.io/system.css/ - ## Goals System.css has a number of goals: @@ -15,6 +11,23 @@ System.css has a number of goals: 3. No dependencies 4. Based on system colors and CSS keywords. The browser has defaults, so lets use those. +## Demo + +https://dutchcelt.github.io/system.css/ + +## Usage + +Import via NPM: + +``` +npm i @dutchcelt/system.css +``` + +### Style API + +System.css has a number of custom properties for you to use. +https://dutchcelt.github.io/system.css/style-api.html + Additionally, `system.css` also provides a simple form layout and validation setup. ### Compatibility diff --git a/package.json b/package.json index d9245e3..113c0f0 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,12 @@ { - "name": "system.css", - "version": "1.0.1", - "private": true, + "name": "@dutchcelt/system.css", + "version": "1.0.2", "type": "module", + "main": "index.css", + "files": [ + "build/*.css", + "src/*.css" + ], "description": "A base stylesheet using system colors and css keywords.", "scripts": { "build": "vite build && npm run lib", @@ -10,7 +14,11 @@ }, "author": "C. Egor Kloos", "license": "AGPLv3", - "repository": "https://github.com/dutchcelt/system.css/", + "repository": { + "type": "git", + "url": "git+https://github.com/dutchcelt/system.css.git" + }, + "homepage": "https://dutchcelt.github.io/system.css/", "devDependencies": { "vite": "^5.0.11" }