Initial commit
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,96 @@
|
||||
# ui/styles.py
|
||||
DARK_THEME_QSS = """
|
||||
QMainWindow {
|
||||
background-color: #121212;
|
||||
}
|
||||
QWidget {
|
||||
background-color: #121212;
|
||||
color: #e0e0e0;
|
||||
font-family: 'Segoe UI', Arial, sans-serif;
|
||||
font-size: 13px;
|
||||
}
|
||||
QSplitter::handle {
|
||||
background-color: #252525;
|
||||
}
|
||||
QSplitter::handle:horizontal {
|
||||
width: 6px;
|
||||
}
|
||||
QTreeView {
|
||||
background-color: #1e1e1e;
|
||||
border: 1px solid #2d2d2d;
|
||||
border-radius: 4px;
|
||||
}
|
||||
QTreeView::item:hover {
|
||||
background-color: #2a2a2a;
|
||||
}
|
||||
QTreeView::item:selected {
|
||||
background-color: #0d47a1;
|
||||
color: #ffffff;
|
||||
}
|
||||
QLineEdit {
|
||||
background-color: #242424;
|
||||
border: 1px solid #3d3d3d;
|
||||
border-radius: 4px;
|
||||
padding: 6px;
|
||||
color: #ffffff;
|
||||
}
|
||||
QLineEdit:focus {
|
||||
border: 1px solid #1976d2;
|
||||
}
|
||||
QTabWidget::pane {
|
||||
border: 1px solid #2d2d2d;
|
||||
background-color: #1a1a1a;
|
||||
border-radius: 4px;
|
||||
}
|
||||
QTabBar::tab {
|
||||
background-color: #151515;
|
||||
color: #888888;
|
||||
padding: 8px 16px;
|
||||
border: 1px solid #2d2d2d;
|
||||
border-bottom: none;
|
||||
margin-right: 2px;
|
||||
}
|
||||
QTabBar::tab:selected {
|
||||
background-color: #1a1a1a;
|
||||
color: #ffffff;
|
||||
border-bottom: 2px solid #1976d2;
|
||||
}
|
||||
QTextEdit {
|
||||
background-color: #181818;
|
||||
border: 1px solid #2d2d2d;
|
||||
border-radius: 4px;
|
||||
color: #e0e0e0;
|
||||
font-family: 'Consolas', monospace;
|
||||
}
|
||||
QPushButton {
|
||||
background-color: #242424;
|
||||
border: 1px solid #3d3d3d;
|
||||
border-radius: 4px;
|
||||
padding: 8px 14px;
|
||||
color: #ffffff;
|
||||
font-weight: 500;
|
||||
}
|
||||
QPushButton:hover {
|
||||
background-color: #2d2d2d;
|
||||
border-color: #555555;
|
||||
}
|
||||
QPushButton:pressed {
|
||||
background-color: #1976d2;
|
||||
}
|
||||
QComboBox {
|
||||
background-color: #242424;
|
||||
border: 1px solid #3d3d3d;
|
||||
border-radius: 4px;
|
||||
padding: 4px;
|
||||
color: #ffffff;
|
||||
}
|
||||
QScrollBar:vertical {
|
||||
border: none;
|
||||
background-color: #121212;
|
||||
width: 8px;
|
||||
}
|
||||
QScrollBar::handle:vertical {
|
||||
background-color: #3a3a3a;
|
||||
border-radius: 4px;
|
||||
}
|
||||
"""
|
||||
Reference in New Issue
Block a user