1
0
Fork 0

initial commit

Signed-off-by: jolheiser <john.olheiser@gmail.com>
jolheiser 2023-09-26 22:34:29 -05:00
commit b175f41458
Signed by: jolheiser
GPG Key ID: B853ADA5DA7BBF7A
3 changed files with 6429 additions and 0 deletions

38
index.js 100644
View File

@ -0,0 +1,38 @@
let Module = require('module')
let origRequire = Module.prototype.require
let log = require('tailwindcss/lib/util/log').default
let localModules = {
'tailwindcss/colors': require('tailwindcss/colors'),
'tailwindcss/defaultConfig': require('tailwindcss/defaultConfig'),
'tailwindcss/defaultTheme': require('tailwindcss/defaultTheme'),
'tailwindcss/resolveConfig': require('tailwindcss/resolveConfig'),
'tailwindcss/plugin': require('tailwindcss/plugin'),
'@tailwindcss/aspect-ratio': require('@tailwindcss/aspect-ratio'),
'@tailwindcss/container-queries': require('@tailwindcss/container-queries'),
'@tailwindcss/forms': require('@tailwindcss/forms'),
'@tailwindcss/line-clamp': () => {
log.warn('line-clamp-in-core', [
'As of Tailwind CSS v3.3, the `@tailwindcss/line-clamp` plugin is now included by default.',
'Remove it from the `plugins` array in your configuration to eliminate this warning.',
])
},
'@tailwindcss/typography': require('@tailwindcss/typography'),
// These are present to allow them to be specified in the PostCSS config file
autoprefixer: require('autoprefixer'),
tailwindcss: require('tailwindcss'),
// Catppuccin
'@catppuccin/tailwindcss': require('@catppuccin/tailwindcss'),
}
Module.prototype.require = function (id) {
if (localModules.hasOwnProperty(id)) {
return localModules[id]
}
return origRequire.apply(this, arguments)
}
require('tailwindcss/lib/cli')

6360
package-lock.json generated 100644

File diff suppressed because it is too large Load Diff

31
package.json 100644
View File

@ -0,0 +1,31 @@
{
"name": "tailwind-ctp",
"version": "0.0.0",
"description": "TailwindCSS + Catppuccin",
"bin": "index.js",
"scripts": {
"build": "pkg . --compress Brotli --no-bytecode --public-packages \"*\" --public",
"prebuild": "rimraf dist"
},
"devDependencies": {
"@catppuccin/tailwindcss": "^0.1.6",
"@tailwindcss/aspect-ratio": "^0.4.0",
"@tailwindcss/container-queries": "^0.1.0",
"@tailwindcss/forms": "^0.5.2",
"@tailwindcss/typography": "^0.5.4",
"autoprefixer": "^10.4.16",
"fs-extra": "^10.1.0",
"jest": "^27.2.5",
"move-file-cli": "^3.0.0",
"pkg": "^5.8.0",
"rimraf": "^3.0.2",
"tailwindcss": "^3.3.3"
},
"pkg": {
"assets": "node_modules/tailwindcss/lib/css/preflight.css",
"targets": [
"node16-linuxstatic-x64"
],
"outputPath": "dist"
}
}