car_ui/themes/night.py
2026-01-08 23:27:18 +03:00

120 lines
3.1 KiB
Python

THEME_NIGHT = """
QWidget { background: #0B0E11; color: #E6EAF0; }
#TopBar, #BottomBar { background: #0F1318; }
#Divider { background: #1B2330; }
#MenuButton, #SettingsButton {
background: #141A22;
border-radius: 12px;
padding: 6px 12px;
font-size: 18px;
font-weight: 700;
}
#MenuButton:hover, #SettingsButton:hover { background: #1B2330; }
#TopBackBtn {
background: #141A22;
border-radius: 12px;
padding: 8px 14px;
font-size: 16px;
font-weight: 600;
}
#TopBackBtn:hover { background: #1B2330; }
QToolButton::menu-indicator { image: none; }
QMenu {
background: #0F1318;
color: #E6EAF0;
border: 1px solid #1B2330;
}
QMenu::item {
padding: 18px 26px;
font-size: 22px;
font-weight: 600;
}
QMenu::item:selected { background: #1B2330; }
#SettingsSection { color: rgba(138,147,166,0.95); letter-spacing: 0.5px; }
#SettingsRow {
background: #141A22;
border-radius: 14px;
}
#SettingsRow:hover { background: #1B2330; }
#SettingsRowTitle { color: #E6EAF0; }
#SettingsRowSub { color: rgba(138,147,166,0.95); }
#SettingsChevron { color: rgba(138,147,166,0.95); }
#SettingsBackBtn {
background: #141A22;
border-radius: 12px;
padding: 8px 14px;
}
#SettingsBackBtn:hover { background: #1B2330; }
#DevExitBtn {
background: #1B2330;
border-radius: 14px;
font-size: 16px;
font-weight: 600;
}
#DevExitBtn:hover { background: #263142; }
#BluetoothStatus { color: rgba(138,147,166,0.95); }
#BluetoothList {
background: #0F1318;
border: 1px solid #1B2330;
border-radius: 12px;
padding: 6px;
}
#BluetoothList::item {
padding: 12px 10px;
border-radius: 10px;
}
#BluetoothList::item:selected { background: #1B2330; }
#BluetoothActionBtn {
background: #141A22;
border-radius: 12px;
font-size: 14px;
font-weight: 600;
}
#BluetoothActionBtn:hover { background: #1B2330; }
#BluetoothActionBtnPrimary {
background: #2A3A52;
border-radius: 12px;
font-size: 14px;
font-weight: 600;
}
#BluetoothActionBtnPrimary:hover { background: #344968; }
#MediaSource { color: rgba(138,147,166,0.95); }
#MediaTitle { color: #E6EAF0; }
#MediaArtist { color: rgba(200,208,222,0.95); }
#MediaAlbum { color: rgba(138,147,166,0.95); }
#MediaCover {
background: #141A22;
border: 1px solid #1B2330;
border-radius: 16px;
color: rgba(138,147,166,0.9);
}
#MediaProgress::groove:horizontal { height: 8px; background: #1B2330; border-radius: 4px; }
#MediaProgress::handle:horizontal { width: 18px; margin: -6px 0; background: #E6EAF0; border-radius: 9px; }
#MediaVolume::groove:horizontal { height: 8px; background: #1B2330; border-radius: 4px; }
#MediaVolume::handle:horizontal { width: 18px; margin: -6px 0; background: #E6EAF0; border-radius: 9px; }
#MediaTimePos, #MediaTimeTotal { color: rgba(138,147,166,0.95); }
#MediaTransportBtn {
background: #141A22;
border-radius: 14px;
font-size: 22px;
font-weight: 700;
}
#MediaTransportBtnPrimary {
background: #2A3A52;
border-radius: 14px;
font-size: 22px;
font-weight: 700;
}
#MediaSoftBtn {
background: #141A22;
border-radius: 12px;
font-size: 14px;
font-weight: 600;
}
"""