mirror of
https://github.com/m1ngsama/TUT.git
synced 2026-02-08 00:54:05 +00:00
Major architectural refactoring from ncurses to FTXUI framework with professional engineering structure. Project Structure: - src/core/: Browser engine, URL parser, HTTP client - src/ui/: FTXUI components (main window, address bar, content view, panels) - src/renderer/: HTML renderer, text formatter, style parser - src/utils/: Logger, config manager, theme manager - tests/unit/: Unit tests for core components - tests/integration/: Integration tests - assets/: Default configs, themes, keybindings New Features: - btop-style four-panel layout with rounded borders - TOML-based configuration system - Multiple color themes (default, nord, gruvbox, solarized) - Comprehensive logging system - Modular architecture with clear separation of concerns Build System: - Updated CMakeLists.txt for modular build - Prefer system packages (Homebrew) over FetchContent - Google Test integration for testing - Version info generation via cmake/version.hpp.in Configuration: - Default config.toml with browser settings - Four built-in themes - Default keybindings configuration - Config stored in ~/.config/tut/ Removed: - Legacy v1 source files (ncurses-based) - Old render/ directory - Duplicate and obsolete test files - Old documentation files Binary: ~827KB (well under 5MB goal) Dependencies: FTXUI, cpp-httplib, toml11, gumbo-parser, OpenSSL
23 lines
431 B
TOML
23 lines
431 B
TOML
# TUT Default Theme (Dark)
|
|
# Inspired by btop's dark theme
|
|
|
|
[meta]
|
|
name = "default"
|
|
description = "Default dark theme with btop-style colors"
|
|
|
|
[colors]
|
|
background = "#1e1e2e"
|
|
foreground = "#cdd6f4"
|
|
accent = "#89b4fa"
|
|
border = "#45475a"
|
|
selection = "#313244"
|
|
link = "#74c7ec"
|
|
visited_link = "#b4befe"
|
|
error = "#f38ba8"
|
|
success = "#a6e3a1"
|
|
warning = "#f9e2af"
|
|
|
|
[ui]
|
|
border_style = "rounded"
|
|
show_shadows = false
|
|
transparency = false
|