mirror of
https://github.com/catppuccin/gitea.git
synced 2026-02-08 04:46:08 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0be3601c50 | ||
|
|
0362a838df |
@@ -36,7 +36,7 @@
|
||||
|
||||
## Usage
|
||||
|
||||
1. Download the latest release.
|
||||
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`](https://docs.gitea.io/en-us/customizing-gitea/#customizing-the-look-of-gitea).
|
||||
4. Restart your Gitea instance.
|
||||
|
||||
19
build.js
19
build.js
@@ -10,8 +10,25 @@ $isDark: ${flavor !== "latte"};
|
||||
@import "theme";
|
||||
`;
|
||||
|
||||
const accents = [
|
||||
"rosewater",
|
||||
"flamingo",
|
||||
"pink",
|
||||
"mauve",
|
||||
"red",
|
||||
"maroon",
|
||||
"peach",
|
||||
"yellow",
|
||||
"green",
|
||||
"teal",
|
||||
"sky",
|
||||
"sapphire",
|
||||
"blue",
|
||||
"lavender",
|
||||
];
|
||||
|
||||
for (const flavor of Object.keys(ctp.variants)) {
|
||||
for (const accent of Object.keys(ctp.labels)) {
|
||||
for (const accent of accents) {
|
||||
const input = builder(flavor, accent);
|
||||
const result = sass.compileString(input, {
|
||||
loadPaths: [
|
||||
|
||||
Reference in New Issue
Block a user