Skip to content

Commit

Permalink
Merge pull request #7 from lr222gw/feature_AddLibraries
Browse files Browse the repository at this point in the history
Feature add libraries
  • Loading branch information
lr222gw authored Feb 19, 2024
2 parents 049f377 + d4db6f3 commit 90be0ed
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 6 deletions.
28 changes: 22 additions & 6 deletions cpppc.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,32 @@
prepareStorage()

app = QApplication([])
app.setStyleSheet("QPushButton { color: magenta; }")

palette = app.palette()

# Set dark color palette
palette.setColor(app.palette().Window, QColor(30, 30, 30))
palette.setColor(app.palette().WindowText, QColor(200, 200, 200))
palette.setColor(app.palette().Button, QColor(50, 50, 50))
palette.setColor(app.palette().ButtonText, QColor(200, 200, 200))

dark_color = QColor(37, 42, 52)
text_color = QColor(234, 234, 234)
highlighttext_color = QColor(234, 234, 0)
placeHoldertext_color = QColor(105, 105, 105)
button_color = QColor(8, 217, 214)


palette.setColor(app.palette().Window, dark_color)
palette.setColor(app.palette().WindowText, text_color)
palette.setColor(app.palette().Button, button_color)
palette.setColor(app.palette().ButtonText, text_color)
palette.setColor(app.palette().ToolTipText, text_color)
palette.setColor(app.palette().Text, text_color)
palette.setColor(app.palette().HighlightedText, highlighttext_color)
palette.setColor(app.palette().PlaceholderText, placeHoldertext_color)
palette.setColor(QPalette.Disabled, QPalette.Text, placeHoldertext_color) # Set disabled text color
app.setStyleSheet(
""" QPushButton,QComboBox { color: rgb(218, 12, 129); }
QCheckBox { color:rgb(8, 217, 214); }
"""
)

app.setPalette(palette)

Expand Down
1 change: 1 addition & 0 deletions src/fetchers/Fetcher_github.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import glob
import io
import os
import pathlib
import shutil
from zipfile import ZipFile
import zipfile
Expand Down

0 comments on commit 90be0ed

Please sign in to comment.