10 Commits
v1.0.0 ... main

6 changed files with 117 additions and 32 deletions

View File

@@ -9,10 +9,12 @@ Modern CSS theme for Jellyfin media server with custom fonts, smooth animations
1. Go to Jellyfin Dashboard → General → Custom CSS 1. Go to Jellyfin Dashboard → General → Custom CSS
2. Paste this code: 2. Paste this code:
```css ```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 3. Click Save
**Note:** The `@latest` link always points to the **latest release** (currently v1.0.1), not the latest commit.
### Method 2: Manual ### Method 2: Manual
1. Download `theme/tolfin.css` from this repository 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 3. Paste the contents of the file
4. Click Save 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 ## Features
- 🎨 Modern design with improved aesthetics - 🎨 Modern design with improved aesthetics
@@ -34,11 +46,11 @@ This theme includes a `manifest.json` for automatic installation via theme repos
## Repository ## Repository
https://github.com/OlegTolchin/Tolfin https://git.tolchin.pro/Oleg/Tolfin
## Author ## Author
OlegTolchin Oleg
## License ## License

68
RELEASE.md Normal file
View 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
- Первая официальная версия
- Полная тема с баннером
- Все модули включены
- Удалена поддержка логотипов (только баннер)

View File

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

View File

@@ -2,11 +2,11 @@
"name": "tolfin", "name": "tolfin",
"version": "1.0.0", "version": "1.0.0",
"description": "Modern CSS theme for Jellyfin media server", "description": "Modern CSS theme for Jellyfin media server",
"author": "OlegTolchin", "author": "Oleg",
"license": "MIT", "license": "MIT",
"repository": { "repository": {
"type": "git", "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"
} }

View File

@@ -9,7 +9,7 @@
**Использование:** **Использование:**
```css ```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 ```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 ```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 ```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 ```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 ```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 ```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 ```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 ```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 ```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");
@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");
/* Добавляйте нужные модули */ /* Добавляйте нужные модули */
``` ```

View File

@@ -13,8 +13,8 @@
:root { :root {
/* Цветовая палитра */ /* Цветовая палитра */
--theme-background-colour: #101010; /* Основной цвет фона */ --theme-background-colour: #101010; /* Основной цвет фона */
--theme-sidebar-background-colour: #222222; /* Цвет фона боковой панели */ --theme-sidebar-background-colour: #222222; /* Цвет фона боковой панели */
--theme-menu-background-colour: #3a3a3a80; /* Полупрозрачный цвет фона меню */ --theme-menu-background-colour: #3a3a3a80; /* Полупрозрачный цвет фона меню */
--theme-menu-shadow-colour: #fff3; /* Цвет тени/подсветки элементов меню */ --theme-menu-shadow-colour: #fff3; /* Цвет тени/подсветки элементов меню */
--theme-base-colour: #696969; /* Базовый акцентный цвет */ --theme-base-colour: #696969; /* Базовый акцентный цвет */
--theme-text-colour: #dbdbdb; /* Цвет текста */ --theme-text-colour: #dbdbdb; /* Цвет текста */
@@ -27,18 +27,18 @@
--theme-chapter-marker-watched-colour: #4a4a4a; /* Цвет просмотренного маркера главы */ --theme-chapter-marker-watched-colour: #4a4a4a; /* Цвет просмотренного маркера главы */
/* Общие параметры внешнего вида */ /* Общие параметры внешнего вида */
--theme-roundness: .75rem; /* Скругление углов */ --theme-roundness: .75rem; /* Скругление углов */
--theme-blur: 16px; /* Сила размытия фона */ --theme-blur: 16px; /* Сила размытия фона */
/* URL изображений */ /* 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); /* Цвет индикаторов счётчиков */ --count-indicator-colour: rgba(200, 200, 200, 0.75); /* Цвет индикаторов счётчиков */
--played-indicator-colour: rgba(32, 139, 36, 0.75); /* Цвет индикатора просмотренного */ --played-indicator-colour: rgba(32, 139, 36, 0.75); /* Цвет индикатора просмотренного */
--floating-progress-roundness: .75rem; /* Скругление плавающего прогресса */ --floating-progress-roundness: .75rem; /* Скругление плавающего прогресса */
--floating-progress-height: 10px; /* Высота плавающего прогресса */ --floating-progress-height: 10px; /* Высота плавающего прогресса */
} }
/* ======================================== /* ========================================
@@ -616,10 +616,10 @@ progress {
.homeBackdropContainer, .homeBackdropContainer,
.backgroundContainer.withBackdrop, .backgroundContainer.withBackdrop,
.itemBackdrop, .itemBackdrop,
.backdropImage { .backdropImage,
background-image: var(--banner-url) !important; #indexPage .backgroundContainer,
background-size: cover !important; #indexPage .backdropImage {
background-position: center !important; background-image: var(--banner-url) !important; /* ← banner.png везде! */
} }
/* Убрать градиентный оверлей на главной странице */ /* Убрать градиентный оверлей на главной странице */
@@ -1158,3 +1158,8 @@ progress {
-webkit-border-radius: var(--floating-progress-roundness); -webkit-border-radius: var(--floating-progress-roundness);
-moz-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