build: add .gitignore, npm scripts, fix font-brand token, clear audit warnings

This commit is contained in:
Oliver
2026-03-27 16:30:07 -03:00
parent 4d2f57c20c
commit 3627c2c73d
5 changed files with 37 additions and 13 deletions
+21
View File
@@ -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
+4 -1
View File
@@ -65,7 +65,10 @@ NEVER use raw hex values in HTML — always use the token class names above.
```bash ```bash
# Build CSS after editing src/input.css or tailwind.config.js # 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 # Validate blog.json
jq empty blog.json && echo "JSON valid" jq empty blog.json && echo "JSON valid"
+6 -8
View File
@@ -537,11 +537,10 @@
"license": "ISC" "license": "ISC"
}, },
"node_modules/picomatch": { "node_modules/picomatch": {
"version": "2.3.1", "version": "2.3.2",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
"dev": true, "dev": true,
"license": "MIT",
"engines": { "engines": {
"node": ">=8.6" "node": ">=8.6"
}, },
@@ -968,11 +967,10 @@
} }
}, },
"node_modules/tinyglobby/node_modules/picomatch": { "node_modules/tinyglobby/node_modules/picomatch": {
"version": "4.0.3", "version": "4.0.4",
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.4.tgz",
"integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", "integrity": "sha512-QP88BAKvMam/3NxH6vj2o21R6MjxZUAd6nlwAS/pnGvN9IVLocLHxGYIzFhg6fUQ+5th6P4dv4eW9jX3DSIj7A==",
"dev": true, "dev": true,
"license": "MIT",
"engines": { "engines": {
"node": ">=12" "node": ">=12"
}, },
+2
View File
@@ -4,6 +4,8 @@
"description": "", "description": "",
"main": "index.js", "main": "index.js",
"scripts": { "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" "test": "echo \"Error: no test specified\" && exit 1"
}, },
"repository": { "repository": {
+4 -4
View File
@@ -3,15 +3,15 @@
@tailwind utilities; @tailwind utilities;
body { body {
font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; @apply font-brand;
} }
#lang-selector { #lang-selector {
color: #ffffff; color: #ffffff;
} }
#lang-selector:focus, #lang-selector:focus,
#lang-selector:focus-visible { #lang-selector:focus-visible {
color: #201824; color: #201824;
background-color: #ffffff; background-color: #ffffff;
} }