42 Commits

Author SHA1 Message Date
github-actions[bot]
3eeed36bd6 chore(main): release 1.0.3 2026-01-20 23:20:02 +00:00
koi
b9d0857cab fix: unreadable repository topics edit button (#79) 2026-01-20 23:19:28 +00:00
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
github-actions[bot]
4621d9b46c chore(main): release 1.0.0 (#34)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-10-06 19:22:21 +01:00
sgoudham
cf89c5f87f chore: prepare for 1.0.0
Release-As: 1.0.0
2024-10-06 19:19:25 +01:00
sgoudham
6c13dcce74 chore: ignore chore from changelog 2024-10-06 19:15:12 +01:00
Hammy
0fbb02f598 feat!: support auto mode (#42)
* feat!: support auto mode

* chore: try to fix formatting

* docs: restructure
2024-10-06 19:10:54 +01:00
Hammy
b0c434bc0b fix: invisible warning headers (#41) 2024-10-06 17:14:04 +01:00
Hammy
2f0440a03d feat: theme dark-1 and dark-2 variables (#40) 2024-10-06 17:08:58 +01:00
nullishamy
0ba2dd1dae ci: make sure to upload/download built CSS (#30)
Co-authored-by: Hammy <58985301+sgoudham@users.noreply.github.com>
2024-09-19 01:40:44 +01:00
Hammy
7eb75bf808 fix: theme --color-primary-hover (#38) 2024-09-19 01:23:59 +01:00
Hammy
15c3b8347d fix: line highlight not visible (#37) 2024-09-19 01:02:08 +01:00
uncenter
ef61c48e3c fix: inline code blocks (#28) 2024-09-19 00:51:22 +01:00
Hammy
e40721d345 build(release-please): try to course correct (#35)
"Never trust your past success, only your past failures"
- Hammy 2024
2024-06-22 19:42:59 +01:00
sgoudham
5f4a334a09 chore: release 0.4.2
Release-As: 0.4.2
2024-06-22 19:31:45 +01:00
Hammy
8457e7bddb ci: allow manual trigger (#33) 2024-06-22 19:18:41 +01:00
nullishamy
783bd1abdd revert: "chore(main): release 0.4.2 (#29)" (#31) 2024-06-22 19:14:38 +01:00
github-actions[bot]
d65330b4f5 chore(main): release 0.4.2 (#29)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2024-06-22 18:57:16 +01:00
uncenter
66661f9eb5 fix: update to match userstyles style guide (#24) 2024-06-22 18:54:26 +01:00
Isabel
a749b47109 ci: add GitHub pages release step (#21) 2024-03-26 20:31:02 +00:00
Jens Gatzweiler
8093e4903d docs: update public assets path (#16) 2023-11-15 14:10:22 +01:00
winston
606b7fe54a ci(release): fix sample artifact name 2023-08-24 22:57:15 +02:00
github-actions[bot]
cecfa246aa chore(main): release 0.4.1 (#14)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-24 22:55:24 +02:00
winston
fe15a3ac01 fix(commits): signed commit background
Closes #13
2023-08-24 22:54:10 +02:00
winston
ae313516b5 ci(release): clone the repo 2023-08-23 18:20:17 +02:00
github-actions[bot]
e92449e106 chore(main): release 0.4.0 (#12)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-08-23 18:18:13 +02:00
winston
fbe4fcf3b2 ci(release): add pull-request permission 2023-08-23 18:15:43 +02:00
winston
11bd7b77ec feat: monaco editor styling 2023-08-23 18:13:05 +02:00
winston
c1c223fe50 fix: tag labels style 2023-08-23 18:12:40 +02:00
winston
7c0fe1b1f1 chore: add TODO note 2023-08-23 12:24:49 +02:00
winston
c5fd42c35a ci: use release-please 2023-08-23 12:24:46 +02:00
winston
6bae7a8fed feat: style monaco editor selection & cursorline
Closes #8
2023-08-22 15:01:12 +02:00
16 changed files with 789 additions and 253 deletions

62
.github/workflows/release-deploy.yml vendored Normal file
View File

@@ -0,0 +1,62 @@
name: Release and Deploy
on:
workflow_dispatch:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: catppuccin/setup-deno@v2
- run: deno task build
- name: Upload Pages Artifact
uses: actions/upload-pages-artifact@v3
with:
path: "dist/"
- name: Upload CSS
uses: actions/upload-artifact@v4
with:
name: css
path: "dist/"
release:
needs: "build"
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- name: "Release"
id: "release"
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:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ steps.release.outputs.tag_name }} ./catppuccin-gitea.tar.gz --repo $GITHUB_REPOSITORY
deploy:
needs: "build"
runs-on: "ubuntu-latest"
permissions:
pages: "write"
id-token: "write"
environment:
name: "github-pages"
url: "${{ steps.deployment.outputs.page_url }}"
steps:
- name: "Deploy to GitHub Pages"
id: "deployment"
uses: actions/deploy-pages@v4

View File

@@ -1,21 +0,0 @@
name: Release
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- run: deno task build
- name: Create tarball
run: tar czf catppuccin-gitea.tar.gz --directory=./dist .
- name: Add zips to release
uses: softprops/action-gh-release@v1
with:
files: ./catppuccin-gitea.tar.gz

View File

@@ -0,0 +1,3 @@
{
".": "1.0.3"
}

70
CHANGELOG.md Normal file
View File

@@ -0,0 +1,70 @@
# Changelog
## [1.0.3](https://github.com/catppuccin/gitea/compare/v1.0.2...v1.0.3) (2026-01-20)
### Bug Fixes
* unreadable repository topics edit button ([#79](https://github.com/catppuccin/gitea/issues/79)) ([b9d0857](https://github.com/catppuccin/gitea/commit/b9d0857cab5316074f64eb2bb12d562aa450c1ba))
## [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)
### ⚠ BREAKING CHANGES
* support auto mode ([#42](https://github.com/catppuccin/gitea/issues/42))
### Features
* support auto mode ([#42](https://github.com/catppuccin/gitea/issues/42)) ([0fbb02f](https://github.com/catppuccin/gitea/commit/0fbb02f598fd826b496ec1bab91b4d2a48631d75))
* theme `dark-1` and `dark-2` variables ([#40](https://github.com/catppuccin/gitea/issues/40)) ([2f0440a](https://github.com/catppuccin/gitea/commit/2f0440a03d4a7fcd21c66e284658d3c0c2c99bc1))
### Bug Fixes
* inline code blocks ([#28](https://github.com/catppuccin/gitea/issues/28)) ([ef61c48](https://github.com/catppuccin/gitea/commit/ef61c48e3cf092b70e41124c60f669318dbbb3cf))
* invisible warning headers ([#41](https://github.com/catppuccin/gitea/issues/41)) ([b0c434b](https://github.com/catppuccin/gitea/commit/b0c434bc0b27aa3fb8bee3f8146b10455eab12ae))
* line highlight not visible ([#37](https://github.com/catppuccin/gitea/issues/37)) ([15c3b83](https://github.com/catppuccin/gitea/commit/15c3b8347d3331ead1fe9078aba4974e309a293c))
* theme `--color-primary-hover` ([#38](https://github.com/catppuccin/gitea/issues/38)) ([7eb75bf](https://github.com/catppuccin/gitea/commit/7eb75bf808608fd38f006ac2ecd1a1637dec0e15))
* update to match userstyles style guide ([#24](https://github.com/catppuccin/gitea/issues/24)) ([66661f9](https://github.com/catppuccin/gitea/commit/66661f9eb5a9cb59d72564921441a70849444874))
### Miscellaneous Chores
* prepare for 1.0.0 ([cf89c5f](https://github.com/catppuccin/gitea/commit/cf89c5f87f11458ec971cf197838c2518a140221))
* release 0.4.2 ([5f4a334](https://github.com/catppuccin/gitea/commit/5f4a334a094a65f68165de479ac486b3ce520ae3))
## [0.4.1](https://github.com/catppuccin/gitea/compare/v0.4.0...v0.4.1) (2023-08-24)
### Bug Fixes
* **commits:** signed commit background ([fe15a3a](https://github.com/catppuccin/gitea/commit/fe15a3ac012e0bcbfd57bcdb3e83382164c7e9f3)), closes [#13](https://github.com/catppuccin/gitea/issues/13)
## [0.4.0](https://github.com/catppuccin/gitea/compare/v0.3.1...v0.4.0) (2023-08-23)
### Features
* monaco editor styling ([11bd7b7](https://github.com/catppuccin/gitea/commit/11bd7b77ece1d761828ffeb87a053e78acc050a2))
### Bug Fixes
* tag labels style ([c1c223f](https://github.com/catppuccin/gitea/commit/c1c223fe50c7286bc023d2798761293f25cfc080))

View File

@@ -1,18 +1,18 @@
<h3 align="center">
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png" width="100" alt="Logo"/><br/>
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
Catppuccin for <a href="https://gitea.io">Gitea</a>
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/logos/exports/1544x1544_circle.png" width="100" alt="Logo"/><br/>
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
Catppuccin for <a href="https://gitea.io">Gitea</a>
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/misc/transparent.png" height="30" width="0px"/>
</h3>
<p align="center">
<a href="https://github.com/catppuccin/gitea/stargazers"><img src="https://img.shields.io/github/stars/catppuccin/gitea?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/gitea/issues"><img src="https://img.shields.io/github/issues/catppuccin/gitea?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/gitea/contributors"><img src="https://img.shields.io/github/contributors/catppuccin/gitea?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/gitea/stargazers"><img src="https://img.shields.io/github/stars/catppuccin/gitea?colorA=363a4f&colorB=b7bdf8&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/gitea/issues"><img src="https://img.shields.io/github/issues/catppuccin/gitea?colorA=363a4f&colorB=f5a97f&style=for-the-badge"></a>
<a href="https://github.com/catppuccin/gitea/contributors"><img src="https://img.shields.io/github/contributors/catppuccin/gitea?colorA=363a4f&colorB=a6da95&style=for-the-badge"></a>
</p>
<p align="center">
<img src="assets/preview.webp"/>
<img src="assets/preview.webp"/>
</p>
## Previews
@@ -36,29 +36,45 @@
## Usage
1. Download the [latest release](https://github.com/catppuccin/gitea/releases/latest).
2. Place the CSS files in your `$GITEA_CUSTOM/public/css` directory.
3. Add the themes to your `app.ini`. See the [Gitea documentation](https://docs.gitea.io/en-us/customizing-gitea/#customizing-the-look-of-gitea).\
Here's a snippet if you want to offer all Flavor-Accent combinations:
> [!IMPORTANT]
> Gitea 1.20 or newer is required for this theme.
1. Download the [latest GitHub release](https://github.com/catppuccin/gitea/releases/latest).
2. Place the CSS files inside Gitea's configuration directory:
- Gitea 1.21.0 or newer: `$GITEA_CUSTOM/public/assets/css`
- Otherwise: `$GITEA_CUSTOM/public/css`
3. Add the themes to your `app.ini` as shown in the "[Example
Configurations](#example-configurations)" section. For further information on customizing Gitea, see the [Gitea documentation](https://docs.gitea.com/next/administration/customizing-gitea#customizing-the-look-of-gitea).
4. Restart your Gitea instance.
5. Select the theme in Gitea > Account > Settings > Appearance.
### Example Configurations
#### Flavor-Accent
<details>
<summary>app.ini</summary>
<!-- AUTOGEN:INI START -->
<!-- the following section is auto-generated, do not edit -->
```
```ini
[ui]
THEMES = catppuccin-latte-rosewater,catppuccin-latte-flamingo,catppuccin-latte-pink,catppuccin-latte-mauve,catppuccin-latte-red,catppuccin-latte-maroon,catppuccin-latte-peach,catppuccin-latte-yellow,catppuccin-latte-green,catppuccin-latte-teal,catppuccin-latte-sky,catppuccin-latte-sapphire,catppuccin-latte-blue,catppuccin-latte-lavender,catppuccin-frappe-rosewater,catppuccin-frappe-flamingo,catppuccin-frappe-pink,catppuccin-frappe-mauve,catppuccin-frappe-red,catppuccin-frappe-maroon,catppuccin-frappe-peach,catppuccin-frappe-yellow,catppuccin-frappe-green,catppuccin-frappe-teal,catppuccin-frappe-sky,catppuccin-frappe-sapphire,catppuccin-frappe-blue,catppuccin-frappe-lavender,catppuccin-macchiato-rosewater,catppuccin-macchiato-flamingo,catppuccin-macchiato-pink,catppuccin-macchiato-mauve,catppuccin-macchiato-red,catppuccin-macchiato-maroon,catppuccin-macchiato-peach,catppuccin-macchiato-yellow,catppuccin-macchiato-green,catppuccin-macchiato-teal,catppuccin-macchiato-sky,catppuccin-macchiato-sapphire,catppuccin-macchiato-blue,catppuccin-macchiato-lavender,catppuccin-mocha-rosewater,catppuccin-mocha-flamingo,catppuccin-mocha-pink,catppuccin-mocha-mauve,catppuccin-mocha-red,catppuccin-mocha-maroon,catppuccin-mocha-peach,catppuccin-mocha-yellow,catppuccin-mocha-green,catppuccin-mocha-teal,catppuccin-mocha-sky,catppuccin-mocha-sapphire,catppuccin-mocha-blue,catppuccin-mocha-lavender
```
<!-- AUTOGEN:INI END -->
</details>
4. Restart your Gitea instance.
5. Select the theme in Gitea > Account > Settings > Appearance.
#### Auto
> **Note**\
> Gitea >1.20 is required for this theme.
This ensures that the theme automatically switches between light (latte) and dark (mocha) mode.
<!-- AUTOGEN:INI-AUTO START -->
<!-- the following section is auto-generated, do not edit -->
```ini
[ui]
THEMES = catppuccin-rosewater-auto,catppuccin-flamingo-auto,catppuccin-pink-auto,catppuccin-mauve-auto,catppuccin-red-auto,catppuccin-maroon-auto,catppuccin-peach-auto,catppuccin-yellow-auto,catppuccin-green-auto,catppuccin-teal-auto,catppuccin-sky-auto,catppuccin-sapphire-auto,catppuccin-blue-auto,catppuccin-lavender-auto
```
<!-- AUTOGEN:INI-AUTO END -->
## 💝 Thanks to
@@ -67,13 +83,13 @@ THEMES = catppuccin-latte-rosewater,catppuccin-latte-flamingo,catppuccin-latte-p
&nbsp;
<p align="center">
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" />
<img src="https://raw.githubusercontent.com/catppuccin/catppuccin/main/assets/footers/gray0_ctp_on_line.svg?sanitize=true" />
</p>
<p align="center">
Copyright &copy; 2021-present <a href="https://github.com/catppuccin" target="_blank">Catppuccin Org</a>
Copyright &copy; 2021-present <a href="https://github.com/catppuccin" target="_blank">Catppuccin Org</a>
</p>
<p align="center">
<a href="https://github.com/catppuccin/catppuccin/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a>
<a href="https://github.com/catppuccin/catppuccin/blob/main/LICENSE"><img src="https://img.shields.io/static/v1.svg?style=for-the-badge&label=License&message=MIT&logoColor=d9e0ee&colorA=363a4f&colorB=b7bdf8"/></a>
</p>

145
build.ts
View File

@@ -1,95 +1,76 @@
#!/usr/bin/env -S deno run -A
import * as path from "std/path";
import * as sass from "sass";
import ctp from "npm:@catppuccin/palette";
const builder = (flavor: string, accent: string) => `
import * as path from "@std/path";
import * as sass from "sass";
import { flavorEntries, flavors } from "@catppuccin/palette";
import { updateReadme } from "@catppuccin/deno-lib";
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
const accents = flavors.mocha.colorEntries
.filter(([_, { accent }]) => accent)
.map(([accentName]) => accentName);
Deno.mkdirSync(path.join(__dirname, "dist"), { recursive: true });
const sassBuilder = (flavor: string, accent: string) => `
@import "@catppuccin/palette/scss/${flavor}";
$accent: $${accent};
$isDark: ${flavor !== "latte"};
@import "theme";
`;
const __dirname = path.dirname(path.fromFileUrl(import.meta.url));
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"),
],
});
const accents = [
"rosewater",
"flamingo",
"pink",
"mauve",
"red",
"maroon",
"peach",
"yellow",
"green",
"teal",
"sky",
"sapphire",
"blue",
"lavender",
];
Deno.writeTextFileSync(
path.join(
__dirname,
"dist",
`theme-catppuccin-${flavorName}-${accentName}.css`,
),
result.css,
);
Deno.mkdirSync(path.join(__dirname, "dist"), { recursive: true });
const flavors = Object.keys(ctp.variants);
for (const flavor of flavors) {
for (const accent of accents) {
const input = builder(flavor, accent);
const result = sass.compileString(input, {
loadPaths: [
path.join(__dirname, "src"),
path.join(__dirname, "node_modules"),
],
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,
);
}
}
const updateReadme = ({
readme,
section,
newContent,
}: {
readme: string;
section: string;
newContent: string;
}): string => {
const preamble =
"<!-- the following section is auto-generated, do not edit -->";
const startMarker = `<!-- AUTOGEN:${section.toUpperCase()} START -->`;
const endMarker = `<!-- AUTOGEN:${section.toUpperCase()} END -->`;
const wrapped = `${startMarker}\n${preamble}\n${newContent}\n${endMarker}`;
if (!(readme.includes(startMarker) && readme.includes(endMarker))) {
throw new Error("Markers not found in README.md");
}
const pre = readme.split(startMarker)[0];
const end = readme.split(endMarker)[1];
return pre + wrapped + end;
};
const readme = Deno.readTextFileSync(path.join(__dirname, "README.md"));
const newcontent = updateReadme({
readme,
section: "ini",
newContent: `
\`\`\`
[ui]
THEMES = ${
flavors
.map((f) =>
accents
.map((a) => `catppuccin-${f}-${a}`)
.join(",")
).join(",")
}
\`\`\`
`,
});
Deno.writeTextFileSync(path.join(__dirname, "README.md"), newcontent);
const flavorAccentIni = `
\`\`\`ini
[ui]
THEMES = ${
flavorEntries
.map(([f]) => accents.map((a) => `catppuccin-${f}-${a}`).join(","))
.join(",")
}
\`\`\`
`;
const themeAutoIni = `
\`\`\`ini
[ui]
THEMES = ${accents.map((a) => `catppuccin-${a}-auto`).join(",")}
\`\`\`
`;
const oldReadme = Deno.readTextFileSync(path.join(__dirname, "README.md"));
let newReadme = updateReadme(oldReadme, flavorAccentIni, {
section: "ini",
});
newReadme = updateReadme(newReadme, themeAutoIni, {
section: "ini-auto",
});
Deno.writeTextFileSync(path.join(__dirname, "README.md"), newReadme);

View File

@@ -1,11 +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/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"
}

338
deno.lock generated
View File

@@ -1,5 +1,177 @@
{
"version": "2",
"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"
},
"@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": {
"https://deno.land/std@0.199.0/_util/os.ts": "d932f56d41e4f6a6093d56044e29ce637f8dcc43c5a90af43504a889cf1775e3",
"https://deno.land/std@0.199.0/assert/assert.ts": "9a97dad6d98c238938e7540736b826440ad8c1c1e54430ca4c4e623e585607ee",
@@ -38,120 +210,56 @@
"https://deno.land/std@0.199.0/path/separator.ts": "0fb679739d0d1d7bf45b68dacfb4ec7563597a902edbaf3c59b50d5bcadd93b1",
"https://deno.land/std@0.199.0/path/to_file_url.ts": "dd32f7a01bbf3b15b5df46796659984b372973d9b2d7d59bcf0eb990763a0cb5",
"https://deno.land/std@0.199.0/path/to_namespaced_path.ts": "4e643ab729bf49ccdc166ad48d2de262ff462938fcf2a44a4425588f4a0bd690",
"https://deno.land/std@0.199.0/path/win32.ts": "8b3f80ef7a462511d5e8020ff490edcaa0a0d118f1b1e9da50e2916bdd73f9dd"
"https://deno.land/std@0.199.0/path/win32.ts": "8b3f80ef7a462511d5e8020ff490edcaa0a0d118f1b1e9da50e2916bdd73f9dd",
"https://deno.land/std@0.207.0/yaml/_error.ts": "b59e2c76ce5a47b1b9fa0ff9f96c1dd92ea1e1b17ce4347ece5944a95c3c1a84",
"https://deno.land/std@0.207.0/yaml/_loader/loader.ts": "63ec7f0a265dbbabc54b25a4beefff7650e205160a2d75c7d8f8363b5f84851a",
"https://deno.land/std@0.207.0/yaml/_loader/loader_state.ts": "0841870b467169269d7c2dfa75cd288c319bc06f65edd9e42c29e5fced91c7a4",
"https://deno.land/std@0.207.0/yaml/_mark.ts": "dcd8585dee585e024475e9f3fe27d29740670fb64ebb970388094cad0fc11d5d",
"https://deno.land/std@0.207.0/yaml/_state.ts": "ef03d55ec235d48dcfbecc0ab3ade90bfae69a61094846e08003421c2cf5cfc6",
"https://deno.land/std@0.207.0/yaml/_type/binary.ts": "24d49614463a7339a8a16d894919c2ec18a10588ae360ec352093b60e2cc8b0d",
"https://deno.land/std@0.207.0/yaml/_type/bool.ts": "5bfa75da84343d45347b521ba4e5aeace9fe6f53447405290d53315a3fc20e66",
"https://deno.land/std@0.207.0/yaml/_type/float.ts": "056bd3cb9c5586238b20517511014fb24b0e36f98f9f6073e12da308b6b9808a",
"https://deno.land/std@0.207.0/yaml/_type/function.ts": "ff574fe84a750695302864e1c31b93f12d14ada4bde79a5f93197fc33ad17471",
"https://deno.land/std@0.207.0/yaml/_type/int.ts": "563ad074f0fa7aecf6b6c3d84135bcc95a8269dcc15de878de20ce868fd773fa",
"https://deno.land/std@0.207.0/yaml/_type/map.ts": "7b105e4ab03a361c61e7e335a0baf4d40f06460b13920e5af3fb2783a1464000",
"https://deno.land/std@0.207.0/yaml/_type/merge.ts": "8192bf3e4d637f32567917f48bb276043da9cf729cf594e5ec191f7cd229337e",
"https://deno.land/std@0.207.0/yaml/_type/mod.ts": "060e2b3d38725094b77ea3a3f05fc7e671fced8e67ca18e525be98c4aa8f4bbb",
"https://deno.land/std@0.207.0/yaml/_type/nil.ts": "606e8f0c44d73117c81abec822f89ef81e40f712258c74f186baa1af659b8887",
"https://deno.land/std@0.207.0/yaml/_type/omap.ts": "cfe59a294726f5cea705c39a61fd2b08199cf48f4ccd6b040cb550ec0f38d0a1",
"https://deno.land/std@0.207.0/yaml/_type/pairs.ts": "0032fdfe57558d21696a4f8cf5b5cfd1f698743177080affc18629685c905666",
"https://deno.land/std@0.207.0/yaml/_type/regexp.ts": "1ce118de15b2da43b4bd8e4395f42d448b731acf3bdaf7c888f40789f9a95f8b",
"https://deno.land/std@0.207.0/yaml/_type/seq.ts": "95333abeec8a7e4d967b8c8328b269e342a4bbdd2585395549b9c4f58c8533a2",
"https://deno.land/std@0.207.0/yaml/_type/set.ts": "f28ba44e632ef2a6eb580486fd47a460445eeddbdf1dbc739c3e62486f566092",
"https://deno.land/std@0.207.0/yaml/_type/str.ts": "a67a3c6e429d95041399e964015511779b1130ea5889fa257c48457bd3446e31",
"https://deno.land/std@0.207.0/yaml/_type/timestamp.ts": "706ea80a76a73e48efaeb400ace087da1f927647b53ad6f754f4e06d51af087f",
"https://deno.land/std@0.207.0/yaml/_type/undefined.ts": "94a316ca450597ccbc6750cbd79097ad0d5f3a019797eed3c841a040c29540ba",
"https://deno.land/std@0.207.0/yaml/_utils.ts": "26b311f0d42a7ce025060bd6320a68b50e52fd24a839581eb31734cd48e20393",
"https://deno.land/std@0.207.0/yaml/parse.ts": "1fbbda572bf3fff578b6482c0d8b85097a38de3176bf3ab2ca70c25fb0c960ef",
"https://deno.land/std@0.207.0/yaml/schema.ts": "96908b78dc50c340074b93fc1598d5e7e2fe59103f89ff81e5a49b2dedf77a67",
"https://deno.land/std@0.207.0/yaml/schema/core.ts": "fa406f18ceedc87a50e28bb90ec7a4c09eebb337f94ef17468349794fa828639",
"https://deno.land/std@0.207.0/yaml/schema/default.ts": "0047e80ae8a4a93293bc4c557ae8a546aabd46bb7165b9d9b940d57b4d88bde9",
"https://deno.land/std@0.207.0/yaml/schema/extended.ts": "0784416bf062d20a1626b53c03380e265b3e39b9409afb9f4cb7d659fd71e60d",
"https://deno.land/std@0.207.0/yaml/schema/failsafe.ts": "d219ab5febc43f770917d8ec37735a4b1ad671149846cbdcade767832b42b92b",
"https://deno.land/std@0.207.0/yaml/schema/json.ts": "5f41dd7c2f1ad545ef6238633ce9ee3d444dfc5a18101e1768bd5504bf90e5e5",
"https://deno.land/std@0.207.0/yaml/schema/mod.ts": "4472e827bab5025e92bc2eb2eeefa70ecbefc64b2799b765c69af84822efef32",
"https://deno.land/std@0.207.0/yaml/type.ts": "65553da3da3c029b6589c6e4903f0afbea6768be8fca61580711457151f2b30f",
"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",
"https://esm.sh/v135/json-schema-traverse@1.0.0/denonext/json-schema-traverse.mjs": "c5da8353bc014e49ebbb1a2c0162d29969a14c325da19644e511f96ba670cc45",
"https://esm.sh/v135/uri-js@4.4.1/denonext/uri-js.mjs": "901d462f9db207376b39ec603d841d87e6b9e9568ce97dfaab12aa77d0f99f74"
},
"npm": {
"specifiers": {
"@catppuccin/palette": "@catppuccin/palette@0.2.0",
"sass@1.66.1": "sass@1.66.1"
},
"packages": {
"@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"
}
}
}
"workspace": {
"dependencies": [
"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

View File

@@ -0,0 +1,21 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"last-release-sha": "cecfa246aa84e74e91e8bd8eb5add82734a35211",
"packages": {
".": {
"package-name": "",
"release-type": "simple"
}
},
"changelog-sections": [
{ "type": "feat", "section": "Features" },
{ "type": "feature", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "perf", "section": "Performance Improvements" },
{ "type": "docs", "section": "Documentation", "hidden": true },
{ "type": "style", "section": "Styles", "hidden": true },
{ "type": "chore", "section": "Miscellaneous Chores", "hidden": true },
{ "type": "test", "section": "Tests", "hidden": true },
{ "type": "ci", "section": "Continuous Integration", "hidden": true }
]
}

6
renovate.json Normal file
View File

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

138
src/_monaco.scss Normal file
View File

@@ -0,0 +1,138 @@
.monaco-editor {
// selected text
.selected-text {
background-color: $surface0 !important;
}
// line numbers
.margin-view-overlays .line-numbers {
color: $subtext0 !important;
}
.line-numbers.active-line-number {
color: $accent !important;
}
// current / cursor line
.view-overlays .current-line,
.margin-view-overlays .current-line-margin {
background-color: #{if(
$isDark,
color.mix($surface0, $base, 64%),
color.mix($mantle, $base, 70%)
)} !important;
}
// Note: all of the hotpink stuff is there so it's easily visible, since these editor scope mappings are a mess
// plaintext
.mtk1 {
color: $text !important;
}
.mtk2 {
color: #ff69b4 !important;
}
// decorators
.mtk3 {
color: $peach !important;
}
// shell arguments
.mtk4 {
color: $teal !important;
}
// css constants & pre-defineds
.mtk5 {
color: $text !important;
}
// keywords
.mtk6 {
color: $mauve !important;
}
// numbers
.mtk7 {
color: $peach !important;
}
// comments
.mtk8 {
color: $overlay2 !important;
}
// sometimes a keyword, apparently
.mtk9 {
color: $mauve !important;
}
// braces, brackets, parentheses
.mtk10 {
color: $subtext0 !important;
}
// arrow brackets & equal signs in HTML
.mtk11 {
color: $teal !important;
}
// @ sign in javascript ¯\_(ツ)_/¯
.mtk12 {
color: $teal !important;
}
.mtk13 {
color: #ff69b4 !important;
}
.mtk14 {
color: #ff69b4 !important;
}
// regex, css classnames, and HTML keywords (huh)
.mtk15 {
color: $mauve !important;
}
// shebangs
.mtk16 {
color: $overlay2 !important;
}
.mtk17 {
color: #ff69b4 !important;
}
.mtk18 {
color: #ff69b4 !important;
}
// glob operator i guess
.mtk19 {
color: $teal !important;
}
.mtk20 {
color: #ff69b4 !important;
}
// strings
.mtk21 {
color: $green !important;
}
.mtk22 {
color: #ff69b4 !important;
}
// functions
.mtk23 {
color: $blue !important;
}
// shell variables
.mtk24 {
color: $peach !important;
}
// weird variables
.mtk25 {
color: $pink !important;
}
.bracket-highlighting-0 {
color: color.mix($text, $red, 40%) !important;
}
.bracket-highlighting-1 {
color: color.mix($text, $peach, 40%) !important;
}
.bracket-highlighting-2 {
color: color.mix($text, $yellow, 40%) !important;
}
.bracket-highlighting-3 {
color: color.mix($text, $green, 40%) !important;
}
.bracket-highlighting-4 {
color: color.mix($text, $blue, 40%) !important;
}
.bracket-highlighting-5 {
color: color.mix($text, $mauve, 40%) !important;
}
}

View File

@@ -23,6 +23,7 @@ $lvl3: if($isDark, $base, $crust);
--color-primary: #{$accent};
--color-primary-contrast: #{$lvl1};
--color-primary-hover: #{ctx_lighten($accent, 5%)};
--color-primary-dark-1: #{ctx_lighten($accent, 3%)};
--color-primary-dark-2: #{ctx_lighten($accent, 6%)};
@@ -115,6 +116,33 @@ $lvl3: if($isDark, $base, $crust);
ctx_lighten($text, 10%)
)};
/* dark 1 variants - produced via Sass scale-color(color, $lightness: -10%) */
--color-red-dark-1: #{ctx_lighten($red, 10%)};
--color-orange-dark-1: #{ctx_lighten($peach, 10%)};
--color-yellow-dark-1: #{ctx_lighten($yellow, 10%)};
--color-olive-dark-1: #{ctx_lighten($green, 10%)};
--color-green-dark-1: #{ctx_lighten($green, 10%)};
--color-teal-dark-1: #{ctx_lighten($teal, 10%)};
--color-blue-dark-1: #{ctx_lighten($blue, 10%)};
--color-violet-dark-1: #{ctx_lighten($lavender, 10%)};
--color-purple-dark-1: #{ctx_lighten($mauve, 10%)};
--color-pink-dark-1: #{ctx_lighten($pink, 10%)};
--color-brown-dark-1: #{ctx_lighten($flamingo, 10%)};
--color-black-dark-1: #{ctx_lighten($mantle, 10%)};
/* dark 2 variants - produced via Sass scale-color(color, $lightness: -20%) */
--color-red-dark-2: #{ctx_lighten($red, 20%)};
--color-orange-dark-2: #{ctx_lighten($peach, 20%)};
--color-yellow-dark-2: #{ctx_lighten($yellow, 20%)};
--color-olive-dark-2: #{ctx_lighten($green, 20%)};
--color-green-dark-2: #{ctx_lighten($green, 20%)};
--color-teal-dark-2: #{ctx_lighten($teal, 20%)};
--color-blue-dark-2: #{ctx_lighten($blue, 20%)};
--color-violet-dark-2: #{ctx_lighten($lavender, 20%)};
--color-purple-dark-2: #{ctx_lighten($mauve, 20%)};
--color-pink-dark-2: #{ctx_lighten($pink, 20%)};
--color-brown-dark-2: #{ctx_lighten($flamingo, 20%)};
--color-black-dark-2: #{ctx_lighten($mantle, 20%)};
/* other colors */
--color-gold: #{$rosewater};
--color-white: #{$text};
@@ -145,7 +173,7 @@ $lvl3: if($isDark, $base, $crust);
--color-red-badge-bg: #{$lvl1};
--color-red-badge-hover-bg: #{ctx_lighten($red, 5%)};
--color-green-badge: #{$green};
--color-green-badge-bg: #{$lvl1};
--color-green-badge-bg: #{$green};
--color-green-badge-hover-bg: #{ctx_lighten($green, 5%)};
--color-yellow-badge: #{$yellow};
--color-yellow-badge-bg: #{$lvl1};
@@ -154,6 +182,7 @@ $lvl3: if($isDark, $base, $crust);
--color-orange-badge-bg: #{$lvl1};
--color-orange-badge-hover-bg: #{ctx_lighten($peach, 5%)};
--color-git: #{$peach};
--color-highlight-bg: #{color.change($yellow, $alpha: 0.15)};
/* target-based colors */
--color-body: #{$lvl1};
@@ -174,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)};
@@ -185,20 +214,23 @@ $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};
--color-placeholder-text: #{$surface2};
--color-placeholder-text: #{$subtext0};
--color-editor-line-highlight: var(--color-primary-light-5);
--color-project-board-bg: var(--color-secondary-light-2);
/* gitea source code: */
@@ -208,7 +240,10 @@ $lvl3: if($isDark, $base, $crust);
--color-reaction-active-bg: var(--color-primary-alpha-40);
--color-header-wrapper: #{$lvl2};
--color-header-wrapper-transparent: #{color.change($lvl2, $alpha: 0)};
--color-label-active-bg: #{$surface2};
--color-label-text: #{$crust};
--color-label-bg: #{$accent};
--color-label-hover-bg: #{ctx_lighten($accent, 6%)};
--color-label-active-bg: #{ctx_lighten($accent, 3%)};
--color-accent: var(--color-primary-light-1);
--color-small-accent: var(--color-primary-light-5);
--color-active-line: #{$surface1};
@@ -262,8 +297,13 @@ $lvl3: if($isDark, $base, $crust);
color: $lvl1;
}
// error message headers weirdly don't seem to be using --color-error-text
.ui.negative.message .header {
color: var(--color-error-text);
}
// most recent commit hover when signed
.ui.sha.isSigned.isVerified:hover {
.ui.sha.isSigned.isVerified {
.shortsha {
color: $lvl1;
}
@@ -279,9 +319,45 @@ $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;
}
// repository topics edit button
#manage_topic {
color: var(--color-text-light-2) !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};
}
::selection {
background: color.change($rosewater, $alpha: 0.3) !important;
background: color.change($accent, $alpha: 0.3) !important;
}
@import "chroma";
@import "codemirror";
@import "monaco";

1
version.txt Normal file
View File

@@ -0,0 +1 @@
1.0.3