Separated the modern theme script into it's own file.
This commit is contained in:
@@ -46,9 +46,14 @@ python generate_report.py --db pga.db --output report.html --top 10 --background
|
||||
|
||||
**Style system (`styles.py`):**
|
||||
- CSS definitions for each modern style (brutalism, glassmorphism, neumorphism)
|
||||
- Theme configurations (colors, fonts, chart options) injected via `__THEME_CSS__` and `__THEME_CONFIG__`
|
||||
- Theme configurations (colors, fonts, chart options) injected via `__THEME_CSS__`
|
||||
- Use `--style` argument to select a modern style instead of `--template`
|
||||
|
||||
**Javascript (`templates/script.js`):**
|
||||
- A single common script is used for each modern style (brutalism, glassmorphism, neumorphism)
|
||||
- Theme configurations (colors, fonts, chart options) injected via `__THEME_CONFIG__`
|
||||
- Data inserted via `__ALL_GAMES__` and `__TOP_N__`
|
||||
|
||||
**Database schema (`schema.py`):**
|
||||
- Reference file documenting Lutris database structure
|
||||
- Key tables: `games` (with `playtime`, `service` fields), `categories`, `games_categories` (many-to-many join)
|
||||
|
||||
Reference in New Issue
Block a user