tailvars 1.0.0 → 1.0.1

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.
Files changed (4) hide show
  1. package/LICENSE.md +7 -0
  2. package/README.md +25 -0
  3. package/package.json +1 -1
  4. package/:wq +0 -29
package/LICENSE.md ADDED
@@ -0,0 +1,7 @@
1
+ Copyright © 2026 Malte Klüft
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
+ THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,25 @@
1
+ # The tailvars property library
2
+
3
+ Tailvars is a CSS custom-property library inspired by the style system created for [tailwindcss](https://tailwindcss.com). It includes properties for most common use cases.
4
+
5
+ ## Getting started
6
+
7
+ As the project consists simply of a `index.css` file, it can be installed and used from javascript or from a css file.
8
+
9
+ ```js|main.ts
10
+ import "tailvars";
11
+
12
+ ...
13
+ ```
14
+
15
+ ```css|globals.css
16
+ @import "tailvars";
17
+
18
+ ...
19
+ ```
20
+
21
+ The package is ~13kb gzipped, which is a relatively small size, but if you need to reduce the size further you can make use of the [postcss-jit-props](https://www.npmjs.com/package/postcss-jit-props/) postcss plugin to only import the props you need for your project.
22
+
23
+ ## Documentation
24
+
25
+ To be continued...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tailvars",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "A collection of tailwind-inspired css custom properties",
5
5
  "keywords": [
6
6
  "css",
package/:wq DELETED
@@ -1,29 +0,0 @@
1
- {
2
- "name": "tailvars",
3
- "version": "1.0.0",
4
- "description": "A collection of tailwind-inspired css custom properties",
5
- "keywords": [
6
- "css",
7
- "custom",
8
- "properties",
9
- "variables",
10
- "css",
11
- "variables",
12
- "tailwind",
13
- "tailwindcss",
14
- "design",
15
- "system"
16
- ],
17
- "homepage": "https://github.com/Mafrans/tailprops#readme",
18
- "bugs": {
19
- "url": "https://github.com/Mafrans/tailprops/issues"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/Mafrans/tailprops.git"
24
- },
25
- "license": "MIT",
26
- "author": "Mafrans",
27
- "type": "css",
28
- "main": "index.css"
29
- }