Update all links to Gitea instead of GitHub

This commit is contained in:
2026-02-16 21:32:45 +03:00
parent a9f5d3c879
commit 1bd364a669
6 changed files with 34 additions and 30 deletions

View File

@@ -9,7 +9,7 @@ Modern CSS theme for Jellyfin media server with custom fonts, smooth animations
1. Go to Jellyfin Dashboard → General → Custom CSS
2. Paste this code:
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/tolfin.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css");
```
3. Click Save
@@ -27,10 +27,10 @@ Modern CSS theme for Jellyfin media server with custom fonts, smooth animations
You can also use a specific version instead of `@latest`:
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@v1.0.1/theme/tolfin.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/tag/v1.0.1/theme/tolfin.css");
```
See [Releases](https://github.com/OlegTolchin/Tolfin/releases) for available versions.
See [Releases](https://gitea.tolchin.pro/Oleg/Tolfin/releases) for available versions.
## Features
@@ -46,11 +46,11 @@ This theme includes a `manifest.json` for automatic installation via theme repos
## Repository
https://github.com/OlegTolchin/Tolfin
https://gitea.tolchin.pro/Oleg/Tolfin
## Author
OlegTolchin
Oleg
## License

View File

@@ -7,17 +7,20 @@
## Как создать новый релиз
### 1. Внесите изменения
Сделайте все необходимые изменения в коде и отправьте их на GitHub:
Сделайте все необходимые изменения в коде и отправьте их:
```powershell
git add .
git commit -m "Описание изменений"
git push
```
Это отправит изменения на GitHub и на Gitea одновременно.
### 2. Создайте тег версии
```powershell
git tag -a v1.0.1 -m "Release v1.0.1 - Описание изменений"
git push origin v1.0.1
git push gitea v1.0.1
```
### 3. Обновите тег latest
@@ -29,25 +32,26 @@ git rev-list -n 1 v1.0.1
# Обновите тег latest (замените ХЕШ на полученный хеш)
git tag -f latest ХЕШ
git push origin latest --force
git push gitea latest --force
```
### 4. Создайте релиз на GitHub
1. Зайдите на https://github.com/OlegTolchin/Tolfin/releases
2. Нажмите "Draft a new release"
### 4. Создайте релиз на Gitea
1. Зайдите на https://gitea.tolchin.pro/Oleg/Tolfin/releases
2. Нажмите "New Release"
3. Выберите созданный тег (например, v1.0.1)
4. Заполните описание релиза
5. Нажмите "Publish release"
5. Нажмите "Publish Release"
## CDN URL
### Последняя версия (рекомендуется):
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/tolfin.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css");
```
### Конкретная версия:
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@v1.0.0/theme/tolfin.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/tag/v1.0.0/theme/tolfin.css");
```
## История релизов

View File

@@ -2,9 +2,9 @@
"name": "Tolfin",
"description": "Modern CSS theme for Jellyfin with custom fonts, smooth animations and responsive design",
"version": "1.0.0",
"author": "OlegTolchin",
"repository": "https://github.com/OlegTolchin/Tolfin",
"url": "https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/tolfin.css",
"author": "Oleg",
"repository": "https://gitea.tolchin.pro/Oleg/Tolfin",
"url": "https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css",
"target": "jellyfin",
"categories": ["theme", "css"]
}

View File

@@ -2,11 +2,11 @@
"name": "tolfin",
"version": "1.0.0",
"description": "Modern CSS theme for Jellyfin media server",
"author": "OlegTolchin",
"author": "Oleg",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/OlegTolchin/Tolfin.git"
"url": "https://gitea.tolchin.pro/Oleg/Tolfin.git"
},
"homepage": "https://github.com/OlegTolchin/Tolfin#readme"
"homepage": "https://gitea.tolchin.pro/Oleg/Tolfin#readme"
}

View File

@@ -9,7 +9,7 @@
**Использование:**
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/static-sidebar.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/static-sidebar.css");
```
---
@@ -19,7 +19,7 @@
**Использование:**
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/central-libraries-small.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/central-libraries-small.css");
```
---
@@ -29,7 +29,7 @@
**Использование:**
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/count-indicators.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/count-indicators.css");
```
---
@@ -39,7 +39,7 @@
**Использование:**
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/forgot-password.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/forgot-password.css");
```
---
@@ -49,7 +49,7 @@
**Использование:**
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/hide-my-media.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/hide-my-media.css");
```
---
@@ -59,7 +59,7 @@
**Использование:**
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/moving-cards.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/moving-cards.css");
```
---
@@ -69,7 +69,7 @@
**Использование:**
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/smaller-cast.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/smaller-cast.css");
```
---
@@ -79,7 +79,7 @@
**Использование:**
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/floating-progress.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/floating-progress.css");
```
---
@@ -88,12 +88,12 @@
### Полная тема (все модули):
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/tolfin.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css");
```
### Индивидуальные модули:
```css
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/static-sidebar.css");
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/central-libraries-small.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/static-sidebar.css");
@import url("https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/central-libraries-small.css");
/* Добавляйте нужные модули */
```

View File

@@ -31,7 +31,7 @@
--theme-blur: 16px; /* Сила размытия фона */
/* URL изображений */
--banner-url: url('https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/assets/banner.png');
--banner-url: url('https://gitea.tolchin.pro/Oleg/Tolfin/raw/branch/latest/assets/banner.png');
/* Переменные модулей */
--show-count-indicators: flex; /* none для скрытия индикаторов */