Files
OpCore-Simplify/Scripts/styles.py
Hoang Hong Quan 0e608a56ce Add GUI Support for OpCore Simplify (#512)
* Refactor OpCore-Simplify to GUI version

* New ConfigEditor

* Add requirement checks and installation in launchers

* Add GitHub Actions workflow to generate manifest.json

* Set compression level for asset

* Skip .git and __pycache__ folders

* Refactor update process to include integrity checker

* Add SMBIOS model selection

* Update README.md

* Update to main branch
2025-12-30 14:19:47 +07:00

68 lines
1.4 KiB
Python

from typing import Final
COLORS: Final[dict[str, str]] = {
"primary": "#0078D4",
"primary_dark": "#005A9E",
"primary_light": "#4CC2FF",
"primary_hover": "#106EBE",
"bg_main": "#FFFFFF",
"bg_secondary": "#F3F3F3",
"bg_sidebar": "#F7F7F7",
"bg_hover": "#E8E8E8",
"bg_selected": "#0078D4",
"bg_card": "#FAFAFA",
"text_primary": "#000000",
"text_secondary": "#605E5C",
"text_tertiary": "#8A8886",
"text_sidebar": "#201F1E",
"text_sidebar_selected": "#FFFFFF",
"success": "#107C10",
"warning": "#FF8C00",
"error": "#E81123",
"info": "#0078D4",
"note_bg": "#E3F2FD",
"note_border": "#2196F3",
"note_text": "#1565C0",
"warning_bg": "#FFF3E0",
"warning_border": "#FF9800",
"warning_text": "#F57C00",
"success_bg": "#F3FAF3",
"border": "#D1D1D1",
"border_light": "#EDEBE9",
"border_focus": "#0078D4",
}
SPACING: Final[dict[str, int]] = {
"tiny": 4,
"small": 8,
"medium": 12,
"large": 16,
"xlarge": 20,
"xxlarge": 24,
"xxxlarge": 32,
}
SIZES: Final[dict[str, int]] = {
"sidebar_width": 220,
"sidebar_item_height": 40,
"button_height": 32,
"button_padding_x": 16,
"button_padding_y": 6,
"input_height": 32,
"icon_size": 16,
}
RADIUS: Final[dict[str, int]] = {
"small": 4,
"medium": 6,
"large": 8,
"xlarge": 10,
"button": 4,
"card": 8,
}