From 3627c2c73d83d20150ec57b29de5ba504a58a43d Mon Sep 17 00:00:00 2001 From: Oliver Date: Fri, 27 Mar 2026 16:30:07 -0300 Subject: [PATCH] build: add .gitignore, npm scripts, fix font-brand token, clear audit warnings --- .gitignore | 21 +++++++++++++++++++++ AGENTS.md | 5 ++++- package-lock.json | 14 ++++++-------- package.json | 2 ++ src/input.css | 8 ++++---- 5 files changed, 37 insertions(+), 13 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0498e91 --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +# Dependencies +node_modules/ + +# Tailwind build temp +tmp.json + +# Logs +*.log +npm-debug.log* +yarn-debug.log* +yarn-error.log* + +# OS +.DS_Store +Thumbs.db + +# Editor +.vscode/ +.idea/ +*.swp +*.swo diff --git a/AGENTS.md b/AGENTS.md index 5cce88f..7d5c626 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -65,7 +65,10 @@ NEVER use raw hex values in HTML — always use the token class names above. ```bash # Build CSS after editing src/input.css or tailwind.config.js -npx tailwindcss -i src/input.css -o assets/site.css --minify +npm run build:css + +# Watch CSS during active development +npm run watch:css # Validate blog.json jq empty blog.json && echo "JSON valid" diff --git a/package-lock.json b/package-lock.json index 05890bb..8eac88b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -537,11 +537,10 @@ "license": "ISC" }, "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", "dev": true, - "license": "MIT", "engines": { "node": ">=8.6" }, @@ -968,11 +967,10 @@ } }, "node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", - "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz", + "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==", "dev": true, - "license": "MIT", "engines": { "node": ">=12" }, diff --git a/package.json b/package.json index b44e559..aa5d5ec 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,8 @@ "description": "", "main": "index.js", "scripts": { + "build:css": "tailwindcss -i src/input.css -o assets/site.css --minify", + "watch:css": "tailwindcss -i src/input.css -o assets/site.css --watch", "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { diff --git a/src/input.css b/src/input.css index 24d2397..78633e7 100644 --- a/src/input.css +++ b/src/input.css @@ -3,15 +3,15 @@ @tailwind utilities; body { - font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; + @apply font-brand; } #lang-selector { - color: #ffffff; + color: #ffffff; } #lang-selector:focus, #lang-selector:focus-visible { - color: #201824; - background-color: #ffffff; + color: #201824; + background-color: #ffffff; }