chai-tailwind 1.0.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.
- package/dist/chai-tailwind.js +1 -0
- package/package.json +25 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(()=>{(function(){let o={"chai-bg-red":{backgroundColor:"red"},"chai-bg-blue":{backgroundColor:"blue"},"chai-bg-green":{backgroundColor:"green"},"chai-bg-yellow":{backgroundColor:"yellow"},"chai-bg-gray":{backgroundColor:"#6b7280"},"chai-bg-white":{backgroundColor:"#ffffff"},"chai-bg-black":{backgroundColor:"#000000"},"chai-text-white":{color:"white"},"chai-text-black":{color:"black"},"chai-text-gray":{color:"#6b7280"},"chai-text-sm":{fontSize:"12px"},"chai-text-base":{fontSize:"16px"},"chai-text-lg":{fontSize:"18px"},"chai-text-xl":{fontSize:"20px"},"chai-font-bold":{fontWeight:"bold"},"chai-font-medium":{fontWeight:"500"},"chai-p-1":{padding:"4px"},"chai-p-2":{padding:"8px"},"chai-p-3":{padding:"12px"},"chai-p-4":{padding:"16px"},"chai-p-6":{padding:"24px"},"chai-m-1":{margin:"4px"},"chai-m-2":{margin:"8px"},"chai-m-4":{margin:"16px"},"chai-m-auto":{margin:"auto"},"chai-rounded-sm":{borderRadius:"4px"},"chai-rounded-md":{borderRadius:"8px"},"chai-rounded-lg":{borderRadius:"12px"},"chai-rounded-xl":{borderRadius:"16px"},"chai-rounded-full":{borderRadius:"9999px"},"chai-border":{border:"1px solid #e5e7eb"},"chai-border-2":{border:"2px solid #e5e7eb"},"chai-border-black":{borderColor:"#000"},"chai-border-white":{borderColor:"#fff"},"chai-w-full":{width:"100%"},"chai-w-screen":{width:"100vw"},"chai-w-fit":{width:"fit-content"},"chai-h-full":{height:"100%"},"chai-h-screen":{height:"100vh"},"chai-max-w-sm":{maxWidth:"640px"},"chai-max-w-md":{maxWidth:"768px"},"chai-max-w-lg":{maxWidth:"1024px"},"chai-flex":{display:"flex"},"chai-inline-flex":{display:"inline-flex"},"chai-flex-col":{flexDirection:"column"},"chai-flex-row":{flexDirection:"row"},"chai-flex-wrap":{flexWrap:"wrap"},"chai-items-center":{alignItems:"center"},"chai-items-start":{alignItems:"flex-start"},"chai-items-end":{alignItems:"flex-end"},"chai-justify-center":{justifyContent:"center"},"chai-justify-between":{justifyContent:"space-between"},"chai-justify-around":{justifyContent:"space-around"},"chai-gap-2":{gap:"8px"},"chai-gap-4":{gap:"16px"},"chai-relative":{position:"relative"},"chai-absolute":{position:"absolute"},"chai-fixed":{position:"fixed"},"chai-top-0":{top:"0"},"chai-left-0":{left:"0"},"chai-right-0":{right:"0"},"chai-bottom-0":{bottom:"0"},"chai-block":{display:"block"},"chai-inline-block":{display:"inline-block"},"chai-hidden":{display:"none"},"chai-shadow-sm":{boxShadow:"0 1px 2px rgba(0,0,0,0.1)"},"chai-shadow-md":{boxShadow:"0 4px 6px rgba(0,0,0,0.1)"},"chai-shadow-lg":{boxShadow:"0 10px 15px rgba(0,0,0,0.2)"},"chai-transition":{transition:"all 0.3s ease"},"chai-cursor-pointer":{cursor:"pointer"},"chai-text-center":{textAlign:"center"},"chai-text-left":{textAlign:"left"},"chai-text-right":{textAlign:"right"},"chai-overflow-hidden":{overflow:"hidden"},"chai-opacity-50":{opacity:"0.5"},"chai-opacity-75":{opacity:"0.75"},"chai-opacity-100":{opacity:"1"}};function c(a){a.className.trim().split(/\s+/).forEach(h=>{let t=o[h];t&&Object.assign(a.style,t)})}function i(){document.querySelectorAll("*").forEach(e=>c(e))}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",i):i(),window.ChaiTailwind={init:i}})();})();
|
package/package.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "chai-tailwind",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A package that you can use to build mordern website, just like tailwind, But you shouldn't since tailwind is already there, It was just a fun project to learn dom.",
|
|
5
|
+
"main": "dist/chai-tailwind.js",
|
|
6
|
+
"unpkg": "dist/chai-tailwind.js",
|
|
7
|
+
"jsdelivr": "dist/chai-tailwind.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist"
|
|
10
|
+
],
|
|
11
|
+
"scripts": {
|
|
12
|
+
"build": "esbuild src/index.js --bundle --minify --outfile=dist/chai-tailwind.js --format=iife"
|
|
13
|
+
},
|
|
14
|
+
"keywords": [
|
|
15
|
+
"tailwind",
|
|
16
|
+
"css",
|
|
17
|
+
"utility",
|
|
18
|
+
"mini"
|
|
19
|
+
],
|
|
20
|
+
"author": "Mohammad Saif",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"devDependencies": {
|
|
23
|
+
"esbuild": "^0.27.4"
|
|
24
|
+
}
|
|
25
|
+
}
|