11 Commits

Author SHA1 Message Date
github-actions[bot]
0f43d25874 chore(main): release 1.0.2 (#62)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-04-15 01:53:03 +01:00
Hammy
bd3ccb35c5 fix: incorrect note & warning admonishments (#66) 2025-04-15 01:44:08 +01:00
Hammy
01396a7243 ci(release-deploy): use deno v2 (#65) 2025-04-15 01:06:53 +01:00
Hammy
1a542607e5 chore(deps): upgrade (#64) 2025-04-15 00:55:54 +01:00
Hammy
0149059743 fix: navigation menu hover (#63) 2025-04-14 23:51:11 +01:00
Hammy
6790ef9335 fix: unreadable repository topics (#61) 2025-04-14 23:37:11 +01:00
Hammy
d4cffe2407 tests: add docker compose for easy testing (#54) 2024-11-10 18:40:26 +00:00
github-actions[bot]
bf168e5540 chore(main): release 1.0.1 (#53)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-11-10 16:47:25 +00:00
Sonter
f0bf2b7a90 fix: set background colour for tooltips & inline code blocks (#52)
Co-authored-by: sgoudham <sgoudham@gmail.com>
2024-11-10 16:45:48 +00:00
renovate[bot]
60b5e8d7bf chore: Configure Renovate (#45)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-10-17 17:49:29 +01:00
Hammy
b037ea025c ci: use --repo for gh cli & set GH_TOKEN (#43) 2024-10-06 19:33:13 +01:00
12 changed files with 355 additions and 173 deletions

View File

@@ -8,21 +8,14 @@ on:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- uses: catppuccin/setup-deno@v2
- run: deno task build
- name: Upload Pages Artifact
uses: "actions/upload-pages-artifact@v3"
uses: actions/upload-pages-artifact@v3
with:
path: "dist/"
- name: Upload CSS
uses: actions/upload-artifact@v4
with:
@@ -35,28 +28,23 @@ jobs:
permissions:
contents: write
pull-requests: write
steps:
- name: "Release"
id: "release"
uses: "googleapis/release-please-action@v4"
uses: googleapis/release-please-action@v4
- name: Download CSS
uses: actions/download-artifact@v4
with:
name: css
path: "dist/"
- name: Create tarball
if: ${{ steps.release.outputs.release_created }}
run: tar czf catppuccin-gitea.tar.gz --directory=./dist .
- name: Upload Release Artifacts
if: ${{ steps.release.outputs.release_created }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./catppuccin-gitea.tar.gz
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./catppuccin-gitea.tar.gz --repo $GITHUB_REPOSITORY
deploy:
needs: "build"
@@ -71,4 +59,4 @@ jobs:
steps:
- name: "Deploy to GitHub Pages"
id: "deployment"
uses: "actions/deploy-pages@v4"
uses: actions/deploy-pages@v4

View File

@@ -1,3 +1,3 @@
{
".": "1.0.0"
".": "1.0.2"
}

View File

@@ -1,5 +1,21 @@
# Changelog
## [1.0.2](https://github.com/catppuccin/gitea/compare/v1.0.1...v1.0.2) (2025-04-15)
### Bug Fixes
* navigation menu hover ([#63](https://github.com/catppuccin/gitea/issues/63)) ([0149059](https://github.com/catppuccin/gitea/commit/0149059743676698ceaf35c1c946e085889ec07f))
* unreadable note & warning admonishments ([bd3ccb3](https://github.com/catppuccin/gitea/commit/bd3ccb35c510c24a07f35287fa03950fda4faf3a))
* unreadable repository topics ([#61](https://github.com/catppuccin/gitea/issues/61)) ([6790ef9](https://github.com/catppuccin/gitea/commit/6790ef9335530e4f561bb0c45fba68df2d083e92))
## [1.0.1](https://github.com/catppuccin/gitea/compare/v1.0.0...v1.0.1) (2024-11-10)
### Bug Fixes
* set background colour for tooltips & inline code blocks ([#52](https://github.com/catppuccin/gitea/issues/52)) ([f0bf2b7](https://github.com/catppuccin/gitea/commit/f0bf2b7a907838ac9d6cd4c1c677e55f229d042c))
## [1.0.0](https://github.com/catppuccin/gitea/compare/v0.4.1...v1.0.0) (2024-10-06)

View File

@@ -1,13 +1,14 @@
#!/usr/bin/env -S deno run -A
import * as path from "std/path";
import * as path from "@std/path";
import * as sass from "sass";
import ctp from "npm:@catppuccin/palette";
import { flavorEntries, flavors } from "@catppuccin/palette";
import { updateReadme } from "@catppuccin/deno-lib";
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
const flavors = Object.keys(ctp.variants);
const accents = Object.keys(ctp.labels).slice(0, 14);
const accents = flavors.mocha.colorEntries
.filter(([_, { accent }]) => accent)
.map(([accentName]) => accentName);
Deno.mkdirSync(path.join(__dirname, "dist"), { recursive: true });
@@ -18,37 +19,43 @@ $isDark: ${flavor !== "latte"};
@import "theme";
`;
for (const flavor of flavors) {
for (const accent of accents) {
const input = sassBuilder(flavor, accent);
const result = sass.compileString(input, {
loadPaths: [
path.join(__dirname, "src"),
path.join(__dirname, "node_modules"),
],
flavorEntries.forEach(([flavorName, flavor]) => {
flavor.colorEntries
.filter(([_, { accent }]) => accent)
.forEach(([accentName]) => {
const input = sassBuilder(flavorName, accentName);
const result = sass.compileString(input, {
loadPaths: [
path.join(__dirname, "src"),
path.join(__dirname, "node_modules"),
],
});
Deno.writeTextFileSync(
path.join(
__dirname,
"dist",
`theme-catppuccin-${flavorName}-${accentName}.css`,
),
result.css,
);
Deno.writeTextFileSync(
path.join(__dirname, "dist", `theme-catppuccin-${accentName}-auto.css`),
`@import "./theme-catppuccin-latte-${accentName}.css" (prefers-color-scheme: light);
@import "./theme-catppuccin-mocha-${accentName}.css" (prefers-color-scheme: dark);`,
);
});
Deno.writeTextFileSync(
path.join(__dirname, "dist", `theme-catppuccin-${flavor}-${accent}.css`),
result.css,
);
}
}
for (const accent of accents) {
Deno.writeTextFileSync(
path.join(__dirname, "dist", `theme-catppuccin-${accent}-auto.css`),
`@import "./theme-catppuccin-latte-${accent}.css" (prefers-color-scheme: light);
@import "./theme-catppuccin-mocha-${accent}.css" (prefers-color-scheme: dark);`,
);
}
});
const flavorAccentIni = `
\`\`\`ini
[ui]
THEMES = ${flavors
.map((f) => accents.map((a) => `catppuccin-${f}-${a}`).join(","))
.join(",")}
THEMES = ${
flavorEntries
.map(([f]) => accents.map((a) => `catppuccin-${f}-${a}`).join(","))
.join(",")
}
\`\`\`
`;

View File

@@ -1,12 +1,11 @@
{
"imports": {
"@catppuccin/palette": "npm:@catppuccin/palette@0.2.0",
"sass": "npm:sass@1.66.1",
"std/path": "https://deno.land/std@0.199.0/path/mod.ts",
"@catppuccin/deno-lib": "https://deno.land/x/catppuccin_toolbox@deno-lib-v1.0.0/deno-lib/mod.ts"
"@catppuccin/palette": "npm:@catppuccin/palette@^1.7.1",
"@std/path": "jsr:@std/path@^1.0.8",
"sass": "npm:sass@1.86.3",
"@catppuccin/deno-lib": "https://deno.land/x/catppuccin_toolbox@deno-lib-v1.1.0/deno-lib/mod.ts"
},
"lock": true,
"nodeModulesDir": true,
"nodeModulesDir": "auto",
"tasks": {
"build": "./build.ts"
}

290
deno.lock generated
View File

@@ -1,117 +1,175 @@
{
"version": "3",
"packages": {
"specifiers": {
"npm:@catppuccin/palette": "npm:@catppuccin/palette@0.2.0",
"npm:sass@1.66.1": "npm:sass@1.66.1"
"version": "4",
"specifiers": {
"jsr:@std/path@^1.0.8": "1.0.8",
"jsr:@std/yaml@1.0.5": "1.0.5",
"npm:@catppuccin/palette@^1.7.1": "1.7.1",
"npm:ajv@8.17.1": "8.17.1",
"npm:sass@1.86.3": "1.86.3"
},
"jsr": {
"@std/path@1.0.8": {
"integrity": "548fa456bb6a04d3c1a1e7477986b6cffbce95102d0bb447c67c4ee70e0364be"
},
"npm": {
"@catppuccin/palette@0.2.0": {
"integrity": "sha512-PoAMQMEbL8fBEO80eusB+XQg+1i2kxQHw6COwBRC4bVWxWuRroZjm3K6bOdqPHNHKikDIV7wLi9hSG4NoD1FEQ==",
"dependencies": {}
},
"anymatch@3.1.3": {
"integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==",
"dependencies": {
"normalize-path": "normalize-path@3.0.0",
"picomatch": "picomatch@2.3.1"
}
},
"binary-extensions@2.2.0": {
"integrity": "sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==",
"dependencies": {}
},
"braces@3.0.2": {
"integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==",
"dependencies": {
"fill-range": "fill-range@7.0.1"
}
},
"chokidar@3.5.3": {
"integrity": "sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==",
"dependencies": {
"anymatch": "anymatch@3.1.3",
"braces": "braces@3.0.2",
"fsevents": "fsevents@2.3.3",
"glob-parent": "glob-parent@5.1.2",
"is-binary-path": "is-binary-path@2.1.0",
"is-glob": "is-glob@4.0.3",
"normalize-path": "normalize-path@3.0.0",
"readdirp": "readdirp@3.6.0"
}
},
"fill-range@7.0.1": {
"integrity": "sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==",
"dependencies": {
"to-regex-range": "to-regex-range@5.0.1"
}
},
"fsevents@2.3.3": {
"integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==",
"dependencies": {}
},
"glob-parent@5.1.2": {
"integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==",
"dependencies": {
"is-glob": "is-glob@4.0.3"
}
},
"immutable@4.3.2": {
"integrity": "sha512-oGXzbEDem9OOpDWZu88jGiYCvIsLHMvGw+8OXlpsvTFvIQplQbjg1B1cvKg8f7Hoch6+NGjpPsH1Fr+Mc2D1aA==",
"dependencies": {}
},
"is-binary-path@2.1.0": {
"integrity": "sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==",
"dependencies": {
"binary-extensions": "binary-extensions@2.2.0"
}
},
"is-extglob@2.1.1": {
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==",
"dependencies": {}
},
"is-glob@4.0.3": {
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
"dependencies": {
"is-extglob": "is-extglob@2.1.1"
}
},
"is-number@7.0.0": {
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==",
"dependencies": {}
},
"normalize-path@3.0.0": {
"integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==",
"dependencies": {}
},
"picomatch@2.3.1": {
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
"dependencies": {}
},
"readdirp@3.6.0": {
"integrity": "sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==",
"dependencies": {
"picomatch": "picomatch@2.3.1"
}
},
"sass@1.66.1": {
"integrity": "sha512-50c+zTsZOJVgFfTgwwEzkjA3/QACgdNsKueWPyAR0mRINIvLAStVQBbPg14iuqEQ74NPDbXzJARJ/O4SI1zftA==",
"dependencies": {
"chokidar": "chokidar@3.5.3",
"immutable": "immutable@4.3.2",
"source-map-js": "source-map-js@1.0.2"
}
},
"source-map-js@1.0.2": {
"integrity": "sha512-R0XvVJ9WusLiqTCEiGCmICCMplcCkIwwR11mOSD9CR5u+IXYdiseeEuXCVAjS54zqwkLcPNnmU4OeJ6tUrWhDw==",
"dependencies": {}
},
"to-regex-range@5.0.1": {
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"dependencies": {
"is-number": "is-number@7.0.0"
}
}
"@std/yaml@1.0.5": {
"integrity": "71ba3d334305ee2149391931508b2c293a8490f94a337eef3a09cade1a2a2742"
}
},
"npm": {
"@catppuccin/palette@1.7.1": {
"integrity": "sha512-aRc1tbzrevOTV7nFTT9SRdF26w/MIwT4Jwt4fDMc9itRZUDXCuEDBLyz4TQMlqO9ZP8mf5Hu4Jr6D03NLFc6Gw=="
},
"@parcel/watcher-android-arm64@2.5.1": {
"integrity": "sha512-KF8+j9nNbUN8vzOFDpRMsaKBHZ/mcjEjMToVMJOhTozkDonQFFrRcfdLWn6yWKCmJKmdVxSgHiYvTCef4/qcBA=="
},
"@parcel/watcher-darwin-arm64@2.5.1": {
"integrity": "sha512-eAzPv5osDmZyBhou8PoF4i6RQXAfeKL9tjb3QzYuccXFMQU0ruIc/POh30ePnaOyD1UXdlKguHBmsTs53tVoPw=="
},
"@parcel/watcher-darwin-x64@2.5.1": {
"integrity": "sha512-1ZXDthrnNmwv10A0/3AJNZ9JGlzrF82i3gNQcWOzd7nJ8aj+ILyW1MTxVk35Db0u91oD5Nlk9MBiujMlwmeXZg=="
},
"@parcel/watcher-freebsd-x64@2.5.1": {
"integrity": "sha512-SI4eljM7Flp9yPuKi8W0ird8TI/JK6CSxju3NojVI6BjHsTyK7zxA9urjVjEKJ5MBYC+bLmMcbAWlZ+rFkLpJQ=="
},
"@parcel/watcher-linux-arm-glibc@2.5.1": {
"integrity": "sha512-RCdZlEyTs8geyBkkcnPWvtXLY44BCeZKmGYRtSgtwwnHR4dxfHRG3gR99XdMEdQ7KeiDdasJwwvNSF5jKtDwdA=="
},
"@parcel/watcher-linux-arm-musl@2.5.1": {
"integrity": "sha512-6E+m/Mm1t1yhB8X412stiKFG3XykmgdIOqhjWj+VL8oHkKABfu/gjFj8DvLrYVHSBNC+/u5PeNrujiSQ1zwd1Q=="
},
"@parcel/watcher-linux-arm64-glibc@2.5.1": {
"integrity": "sha512-LrGp+f02yU3BN9A+DGuY3v3bmnFUggAITBGriZHUREfNEzZh/GO06FF5u2kx8x+GBEUYfyTGamol4j3m9ANe8w=="
},
"@parcel/watcher-linux-arm64-musl@2.5.1": {
"integrity": "sha512-cFOjABi92pMYRXS7AcQv9/M1YuKRw8SZniCDw0ssQb/noPkRzA+HBDkwmyOJYp5wXcsTrhxO0zq1U11cK9jsFg=="
},
"@parcel/watcher-linux-x64-glibc@2.5.1": {
"integrity": "sha512-GcESn8NZySmfwlTsIur+49yDqSny2IhPeZfXunQi48DMugKeZ7uy1FX83pO0X22sHntJ4Ub+9k34XQCX+oHt2A=="
},
"@parcel/watcher-linux-x64-musl@2.5.1": {
"integrity": "sha512-n0E2EQbatQ3bXhcH2D1XIAANAcTZkQICBPVaxMeaCVBtOpBZpWJuf7LwyWPSBDITb7In8mqQgJ7gH8CILCURXg=="
},
"@parcel/watcher-win32-arm64@2.5.1": {
"integrity": "sha512-RFzklRvmc3PkjKjry3hLF9wD7ppR4AKcWNzH7kXR7GUe0Igb3Nz8fyPwtZCSquGrhU5HhUNDr/mKBqj7tqA2Vw=="
},
"@parcel/watcher-win32-ia32@2.5.1": {
"integrity": "sha512-c2KkcVN+NJmuA7CGlaGD1qJh1cLfDnQsHjE89E60vUEMlqduHGCdCLJCID5geFVM0dOtA3ZiIO8BoEQmzQVfpQ=="
},
"@parcel/watcher-win32-x64@2.5.1": {
"integrity": "sha512-9lHBdJITeNR++EvSQVUcaZoWupyHfXe1jZvGZ06O/5MflPcuPLtEphScIBL+AiCWBO46tDSHzWyD0uDmmZqsgA=="
},
"@parcel/watcher@2.5.1": {
"integrity": "sha512-dfUnCxiN9H4ap84DvD2ubjw+3vUNpstxa0TneY/Paat8a3R4uQZDLSvWjmznAY/DoahqTHl9V46HF/Zs3F29pg==",
"dependencies": [
"@parcel/watcher-android-arm64",
"@parcel/watcher-darwin-arm64",
"@parcel/watcher-darwin-x64",
"@parcel/watcher-freebsd-x64",
"@parcel/watcher-linux-arm-glibc",
"@parcel/watcher-linux-arm-musl",
"@parcel/watcher-linux-arm64-glibc",
"@parcel/watcher-linux-arm64-musl",
"@parcel/watcher-linux-x64-glibc",
"@parcel/watcher-linux-x64-musl",
"@parcel/watcher-win32-arm64",
"@parcel/watcher-win32-ia32",
"@parcel/watcher-win32-x64",
"detect-libc",
"is-glob",
"micromatch",
"node-addon-api"
]
},
"ajv@8.17.1": {
"integrity": "sha512-B/gBuNg5SiMTrPkC+A2+cW0RszwxYmn6VYxB/inlBStS5nx6xHIt/ehKRhIMhqusl7a8LjQoZnjCs5vhwxOQ1g==",
"dependencies": [
"fast-deep-equal",
"fast-uri",
"json-schema-traverse",
"require-from-string"
]
},
"braces@3.0.3": {
"integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==",
"dependencies": [
"fill-range"
]
},
"chokidar@4.0.3": {
"integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==",
"dependencies": [
"readdirp"
]
},
"detect-libc@1.0.3": {
"integrity": "sha512-pGjwhsmsp4kL2RTz08wcOlGN83otlqHeD/Z5T8GXZB+/YcpQ/dgo+lbU8ZsGxV0HIvqqxo9l7mqYwyYMD9bKDg=="
},
"fast-deep-equal@3.1.3": {
"integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="
},
"fast-uri@3.0.6": {
"integrity": "sha512-Atfo14OibSv5wAp4VWNsFYE1AchQRTv9cBGWET4pZWHzYshFSS9NQI6I57rdKn9croWVMbYFbLhJ+yJvmZIIHw=="
},
"fill-range@7.1.1": {
"integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==",
"dependencies": [
"to-regex-range"
]
},
"immutable@5.1.1": {
"integrity": "sha512-3jatXi9ObIsPGr3N5hGw/vWWcTkq6hUYhpQz4k0wLC+owqWi/LiugIw9x0EdNZ2yGedKN/HzePiBvaJRXa0Ujg=="
},
"is-extglob@2.1.1": {
"integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ=="
},
"is-glob@4.0.3": {
"integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==",
"dependencies": [
"is-extglob"
]
},
"is-number@7.0.0": {
"integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng=="
},
"json-schema-traverse@1.0.0": {
"integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug=="
},
"micromatch@4.0.8": {
"integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==",
"dependencies": [
"braces",
"picomatch"
]
},
"node-addon-api@7.1.1": {
"integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ=="
},
"picomatch@2.3.1": {
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA=="
},
"readdirp@4.1.2": {
"integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="
},
"require-from-string@2.0.2": {
"integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw=="
},
"sass@1.86.3": {
"integrity": "sha512-iGtg8kus4GrsGLRDLRBRHY9dNVA78ZaS7xr01cWnS7PEMQyFtTqBiyCrfpTYTZXRWM94akzckYjh8oADfFNTzw==",
"dependencies": [
"@parcel/watcher",
"chokidar",
"immutable",
"source-map-js"
]
},
"source-map-js@1.2.1": {
"integrity": "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="
},
"to-regex-range@5.0.1": {
"integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==",
"dependencies": [
"is-number"
]
}
},
"remote": {
@@ -188,6 +246,9 @@
"https://deno.land/x/catppuccin_toolbox@deno-lib-v1.0.0/deno-lib/mod.ts": "c72687f31c7267d121441bb872dab08621a679f6b46e59355391b11f8f9dc160",
"https://deno.land/x/catppuccin_toolbox@deno-lib-v1.0.0/deno-lib/updateReadme.ts": "e349b1c0b2c1d1fc317bbc5b506f733d3c03d48ef26d0d62eafb7cc5141ed492",
"https://deno.land/x/catppuccin_toolbox@deno-lib-v1.0.0/deno-lib/validateYaml.ts": "aa26af13d5d0b1cddc1c2df5f025ce8666b44070be29db063e336e76779402a4",
"https://deno.land/x/catppuccin_toolbox@deno-lib-v1.1.0/deno-lib/mod.ts": "c72687f31c7267d121441bb872dab08621a679f6b46e59355391b11f8f9dc160",
"https://deno.land/x/catppuccin_toolbox@deno-lib-v1.1.0/deno-lib/updateReadme.ts": "e349b1c0b2c1d1fc317bbc5b506f733d3c03d48ef26d0d62eafb7cc5141ed492",
"https://deno.land/x/catppuccin_toolbox@deno-lib-v1.1.0/deno-lib/validateYaml.ts": "b0059c257e4b1ed2471080fa3ae4579e1c9a8eded8e263c61d91dac92101c420",
"https://esm.sh/v135/ajv@8.12.0": "cc1a73af661466c7f4e6a94d93ece78542d700f2165bdb16a531e9db8856c5aa",
"https://esm.sh/v135/ajv@8.12.0/denonext/ajv.mjs": "4645df9093d0f8be0e964070a4a7aea8adea06e8883660340931f7a3f979fc65",
"https://esm.sh/v135/fast-deep-equal@3.1.3/denonext/fast-deep-equal.mjs": "6313b3e05436550e1c0aeb2a282206b9b8d9213b4c6f247964dd7bb4835fb9e5",
@@ -196,8 +257,9 @@
},
"workspace": {
"dependencies": [
"npm:@catppuccin/palette@0.2.0",
"npm:sass@1.66.1"
"jsr:@std/path@^1.0.8",
"npm:@catppuccin/palette@^1.7.1",
"npm:sass@1.86.3"
]
}
}

3
docker/.gitignore vendored Normal file
View File

@@ -0,0 +1,3 @@
*
!docker/docker-compose.yml
!docker/justfile

59
docker/docker-compose.yml Normal file
View File

@@ -0,0 +1,59 @@
services:
server:
image: gitea/gitea:1.23.7
container_name: gitea
restart: unless-stopped
environment:
- USER_UID=1000
- USER_GID=1000
- GITEA__database__DB_TYPE=postgres
- GITEA__database__HOST=db:5432
- GITEA__database__NAME=gitea
- GITEA__database__USER=gitea
- GITEA__database__PASSWD=gitea
networks:
- gitea
volumes:
# - ./conf/app.ini:/data/gitea/conf/app.ini
- type: bind
source: ./conf/app.ini
target: /data/gitea/conf/app.ini
- ./conf/public:/data/gitea/public
- ./conf/templates:/data/gitea/templates
- ./conf/locale:/data/gitea/options/locale
- ./data:/data
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
ports:
- "3000:3000"
- "222:22"
depends_on:
db:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-fSs", "localhost:3000/api/healthz"]
interval: "30s"
timeout: "5s"
retries: 3
db:
image: postgres:17
restart: unless-stopped
environment:
- POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea
networks:
- gitea
volumes:
- ./postgres:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
interval: "5s"
timeout: "5s"
retries: 3
networks:
gitea:
name: "gitea"
external: false

13
docker/justfile Normal file
View File

@@ -0,0 +1,13 @@
_default:
@just --list
build:
cd .. && deno task build
mkdir -p ./conf/public/assets/css
cp ../dist/* ./conf/public/assets/css
down:
docker compose down
up: build down
docker compose up -d

6
renovate.json Normal file
View File

@@ -0,0 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"local>catppuccin/renovate-config"
]
}

View File

@@ -203,7 +203,7 @@ $lvl3: if($isDark, $base, $crust);
--color-input-border: #{$surface1};
--color-input-border-hover: #{$surface2};
--color-nav-bg: #{$lvl2};
--color-nav-hover-bg: #{$surface0};
--color-nav-hover-bg: var(--color-hover);
--color-navbar: #{$lvl2};
--color-navbar-transparent: #{color.change($lvl1, $alpha: 0)};
--color-light: #{color.change($surface2, $alpha: 0.3)};
@@ -214,16 +214,19 @@ $lvl3: if($isDark, $base, $crust);
calc(40 / 255 * 222 / 255 / var(--opacity-disabled))
);
--color-light-border: #{$surface2};
--color-hover: #{color.change($overlay0, $alpha: 0.1)};
--color-hover: #{color.change($overlay0, $alpha: 0.2)};
--color-active: #{color.change($text, $alpha: 0.1)};
--color-menu: #{$surface0};
--color-card: #{$surface0};
--color-markup-table-row: #{color.change($text, $alpha: 0.02)};
--color-markup-code-block: #{color.change($text, $alpha: 0.05)};
--color-markup-code-inline: #{$surface0};
--color-button: #{$surface0};
--color-code-bg: #{$base};
--color-code-sidebar-bg: #{$surface0};
--color-shadow: #{color.change($lvl1, $alpha: 0.1)};
--color-tooltip-bg: #{$surface0};
--color-tooltip-text: var(--color-text);
--color-secondary-bg: #{$surface0};
--color-text-focus: #{$text};
--color-expand-button: #{$surface2};
@@ -296,7 +299,7 @@ $lvl3: if($isDark, $base, $crust);
// error message headers weirdly don't seem to be using --color-error-text
.ui.negative.message .header {
color: var(--color-error-text)
color: var(--color-error-text);
}
// most recent commit hover when signed
@@ -316,6 +319,32 @@ $lvl3: if($isDark, $base, $crust);
color: $text !important;
}
#repo-topics,
// repository topics when in edit mode
#topic_edit > .ui.selection.dropdown {
color: var(--color-label-text) !important;
}
// admonitions are using *-text variables for border/text colour
// can't change values of the *-text variables without breaking readability on accented backgrounds
blockquote {
&.attention-tip {
border-left-color: var(--color-success-bg);
}
&.attention-warning {
border-left-color: var(--color-warning-bg);
}
}
svg,
strong {
&.attention-tip {
color: var(--color-success-bg);
}
&.attention-warning {
color: var(--color-warning-bg);
}
}
.inline-code-block {
color: #{$crust};
}

View File

@@ -1 +1 @@
1.0.0
1.0.2