Skip to content

Commit

Permalink
fix: 🎨 v1.0.2 (#11)
Browse files Browse the repository at this point in the history
Dynamic theme for code snippets in HomePage
  • Loading branch information
LordLumineer authored Feb 2, 2025
1 parent 9787810 commit c81f6ae
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
10 changes: 8 additions & 2 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.2] - 2025-02-01

### Changes in 1.0.2

- Fixed the Code in the homePage to be color theme dynamic (light/dark mode)

## [1.0.1] - 2025-02-01

### Changes
### Changes in 1.0.1

- Fixed the issue where the homepage displayed two semicolons after the protocol (e.g. `https:://` is now `https://`)
- Added the version number to the homepage
Expand All @@ -17,7 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [1.0.0] - 2025-02-01

### Added
### Added in 1.0.0

- Initial release
- Webhook endpoint for KoFi notifications
Expand Down
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
active_connections: dict[str, WebSocket] = {}

app = FastAPI(
version="1.0.1",
version="1.0.2",
docs_url=None, # Disable Swagger UI
redoc_url=None # Disable ReDoc
)
Expand Down
4 changes: 3 additions & 1 deletion static/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>KoFi WebSocket Bridge</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css" rel="stylesheet" media="(prefers-color-scheme: light)" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism-tomorrow.min.css" rel="stylesheet" media="(prefers-color-scheme: dark)" />

<style>
:root {
--primary-color: #2563eb;
Expand Down

0 comments on commit c81f6ae

Please sign in to comment.