Compare commits
10 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e981daa6d2 | |||
| 589890770f | |||
| 1bd364a669 | |||
| a9f5d3c879 | |||
| a9c840af15 | |||
| 3d923af943 | |||
| 8683e5da2d | |||
| f113d2820f | |||
| b04a0c1ec0 | |||
|
|
c48665e3aa |
18
README.md
18
README.md
@@ -9,10 +9,12 @@ 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://git.tolchin.pro/Oleg/Tolfin/raw/branch/main/theme/tolfin.css");
|
||||
```
|
||||
3. Click Save
|
||||
|
||||
**Note:** The `@latest` link always points to the **latest release** (currently v1.0.1), not the latest commit.
|
||||
|
||||
### Method 2: Manual
|
||||
|
||||
1. Download `theme/tolfin.css` from this repository
|
||||
@@ -20,6 +22,16 @@ Modern CSS theme for Jellyfin media server with custom fonts, smooth animations
|
||||
3. Paste the contents of the file
|
||||
4. Click Save
|
||||
|
||||
### Method 3: Specific Version
|
||||
|
||||
You can also use a specific version instead of `@latest`:
|
||||
|
||||
```css
|
||||
@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/tag/v1.0.1/theme/tolfin.css");
|
||||
```
|
||||
|
||||
See [Releases](https://git.tolchin.pro/Oleg/Tolfin/releases) for available versions.
|
||||
|
||||
## Features
|
||||
|
||||
- 🎨 Modern design with improved aesthetics
|
||||
@@ -34,11 +46,11 @@ This theme includes a `manifest.json` for automatic installation via theme repos
|
||||
|
||||
## Repository
|
||||
|
||||
https://github.com/OlegTolchin/Tolfin
|
||||
https://git.tolchin.pro/Oleg/Tolfin
|
||||
|
||||
## Author
|
||||
|
||||
OlegTolchin
|
||||
Oleg
|
||||
|
||||
## License
|
||||
|
||||
|
||||
68
RELEASE.md
Normal file
68
RELEASE.md
Normal file
@@ -0,0 +1,68 @@
|
||||
# Релизы Tolfin
|
||||
|
||||
## Текущая версия: v1.0.1
|
||||
|
||||
**Важно:** Ссылка `@latest` всегда указывает на **последний релиз**, а не на последний коммит. Все изменения оформляются как релизы.
|
||||
|
||||
## Как создать новый релиз
|
||||
|
||||
### 1. Внесите изменения
|
||||
Сделайте все необходимые изменения в коде и отправьте их:
|
||||
```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
|
||||
После создания релиза обновите тег `latest` чтобы он указывал на новый релиз:
|
||||
```powershell
|
||||
# Получите хеш нового релиза
|
||||
git rev-list -n 1 v1.0.1
|
||||
|
||||
# Обновите тег latest (замените ХЕШ на полученный хеш)
|
||||
git tag -f latest ХЕШ
|
||||
git push origin latest --force
|
||||
git push gitea latest --force
|
||||
```
|
||||
|
||||
### 4. Создайте релиз на Gitea
|
||||
1. Зайдите на https://git.tolchin.pro/Oleg/Tolfin/releases
|
||||
2. Нажмите "New Release"
|
||||
3. Выберите созданный тег (например, v1.0.1)
|
||||
4. Заполните описание релиза
|
||||
5. Нажмите "Publish Release"
|
||||
|
||||
## CDN URL
|
||||
|
||||
### Последняя версия (рекомендуется):
|
||||
```css
|
||||
@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css");
|
||||
```
|
||||
|
||||
### Конкретная версия:
|
||||
```css
|
||||
@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/tag/v1.0.0/theme/tolfin.css");
|
||||
```
|
||||
|
||||
## История релизов
|
||||
|
||||
### v1.0.1 (Текущая)
|
||||
- Обновлена тема tolfin.css
|
||||
- Исправлена система релизов
|
||||
- Ссылка @latest теперь указывает на последний релиз
|
||||
|
||||
### v1.0.0
|
||||
- Первая официальная версия
|
||||
- Полная тема с баннером
|
||||
- Все модули включены
|
||||
- Удалена поддержка логотипов (только баннер)
|
||||
@@ -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://git.tolchin.pro/Oleg/Tolfin",
|
||||
"url": "https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/tolfin.css",
|
||||
"target": "jellyfin",
|
||||
"categories": ["theme", "css"]
|
||||
}
|
||||
|
||||
@@ -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://git.tolchin.pro/Oleg/Tolfin.git"
|
||||
},
|
||||
"homepage": "https://github.com/OlegTolchin/Tolfin#readme"
|
||||
"homepage": "https://git.tolchin.pro/Oleg/Tolfin#readme"
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
**Использование:**
|
||||
```css
|
||||
@import url("https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/theme/modules/static-sidebar.css");
|
||||
@import url("https://git.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://git.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://git.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://git.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://git.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://git.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://git.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://git.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://git.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://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/static-sidebar.css");
|
||||
@import url("https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/theme/modules/central-libraries-small.css");
|
||||
/* Добавляйте нужные модули */
|
||||
```
|
||||
|
||||
@@ -13,8 +13,8 @@
|
||||
:root {
|
||||
/* Цветовая палитра */
|
||||
--theme-background-colour: #101010; /* Основной цвет фона */
|
||||
--theme-sidebar-background-colour: #222222; /* Цвет фона боковой панели */
|
||||
--theme-menu-background-colour: #3a3a3a80; /* Полупрозрачный цвет фона меню */
|
||||
--theme-sidebar-background-colour: #222222; /* Цвет фона боковой панели */
|
||||
--theme-menu-background-colour: #3a3a3a80; /* Полупрозрачный цвет фона меню */
|
||||
--theme-menu-shadow-colour: #fff3; /* Цвет тени/подсветки элементов меню */
|
||||
--theme-base-colour: #696969; /* Базовый акцентный цвет */
|
||||
--theme-text-colour: #dbdbdb; /* Цвет текста */
|
||||
@@ -27,18 +27,18 @@
|
||||
--theme-chapter-marker-watched-colour: #4a4a4a; /* Цвет просмотренного маркера главы */
|
||||
|
||||
/* Общие параметры внешнего вида */
|
||||
--theme-roundness: .75rem; /* Скругление углов */
|
||||
--theme-blur: 16px; /* Сила размытия фона */
|
||||
--theme-roundness: .75rem; /* Скругление углов */
|
||||
--theme-blur: 16px; /* Сила размытия фона */
|
||||
|
||||
/* URL изображений */
|
||||
--banner-url: url('https://cdn.jsdelivr.net/gh/OlegTolchin/Tolfin@latest/assets/banner.png');
|
||||
--banner-url: url('https://git.tolchin.pro/Oleg/Tolfin/raw/branch/latest/assets/banner.png');
|
||||
|
||||
/* Переменные модулей */
|
||||
--show-count-indicators: flex; /* none для скрытия индикаторов */
|
||||
--show-count-indicators: flex; /* none для скрытия индикаторов */
|
||||
--count-indicator-colour: rgba(200, 200, 200, 0.75); /* Цвет индикаторов счётчиков */
|
||||
--played-indicator-colour: rgba(32, 139, 36, 0.75); /* Цвет индикатора просмотренного */
|
||||
--floating-progress-roundness: .75rem; /* Скругление плавающего прогресса */
|
||||
--floating-progress-height: 10px; /* Высота плавающего прогресса */
|
||||
--floating-progress-roundness: .75rem; /* Скругление плавающего прогресса */
|
||||
--floating-progress-height: 10px; /* Высота плавающего прогресса */
|
||||
}
|
||||
|
||||
/* ========================================
|
||||
@@ -616,10 +616,10 @@ progress {
|
||||
.homeBackdropContainer,
|
||||
.backgroundContainer.withBackdrop,
|
||||
.itemBackdrop,
|
||||
.backdropImage {
|
||||
background-image: var(--banner-url) !important;
|
||||
background-size: cover !important;
|
||||
background-position: center !important;
|
||||
.backdropImage,
|
||||
#indexPage .backgroundContainer,
|
||||
#indexPage .backdropImage {
|
||||
background-image: var(--banner-url) !important; /* ← banner.png везде! */
|
||||
}
|
||||
|
||||
/* Убрать градиентный оверлей на главной странице */
|
||||
@@ -1158,3 +1158,8 @@ progress {
|
||||
-webkit-border-radius: var(--floating-progress-roundness);
|
||||
-moz-border-radius: var(--floating-progress-roundness);
|
||||
}
|
||||
|
||||
git tag -a v1.0.1 -m "Release v1.0.1"
|
||||
git push origin v1.0.1
|
||||
git tag -f latest (хеш v1.0.1)
|
||||
git push origin latest --force
|
||||
|
||||
Reference in New Issue
Block a user