Compare commits

...

2 Commits

Author SHA1 Message Date
Nix
afac01f3dc
Update version.json 2024-12-20 09:52:18 -03:00
Nix
fd4c23ed3b
added stylesheet support 2024-12-20 09:43:15 -03:00
2 changed files with 9 additions and 1 deletions

View File

@ -94,6 +94,14 @@ class PicomcVersionSelector(QWidget):
# Apply the palette to the application
app.setPalette(palette)
# Apply style sheet if present
if "stylesheet" in self.theme:
stylesheet = self.theme["stylesheet"]
app.setStyleSheet(stylesheet)
else:
print("No 'stylesheet' section found in the theme file.")
def themes_integrity(self):
# Define folder and file paths
themes_folder = "themes"

View File

@ -1,5 +1,5 @@
{
"version": "0.11",
"version": "0.11.1",
"links": [
"https://raw.githubusercontent.com/nixietab/picodulce/main/version.json",
"https://raw.githubusercontent.com/nixietab/picodulce/main/picodulce.py",