Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
1303272
Adds paint_icons.py script
R0drigoSchwartz Jul 20, 2026
2e481e7
Updates tasks.py file to generate two resource files
R0drigoSchwartz Jul 20, 2026
7db9201
Fix qrc_codegen function in the tasks.py file
R0drigoSchwartz Jul 20, 2026
b51d71e
Moves the 'common' and 'views' folders to the 'light_theme' and 'dark…
R0drigoSchwartz Jul 20, 2026
618caad
Improves paint_icons function in paint_icons.py script
R0drigoSchwartz Jul 21, 2026
dd29106
Removes unused icons
R0drigoSchwartz Jul 21, 2026
042bffc
Adds ResourceIconEngine and Icon classes in icons.py file
R0drigoSchwartz Jul 21, 2026
d08aad3
Adds theme_resources.py to allow switching between resource files
R0drigoSchwartz Jul 21, 2026
2f86206
Updates Application class to call the set_icon_theme function in its…
R0drigoSchwartz Jul 21, 2026
e7a81b0
Removes old resource file
R0drigoSchwartz Jul 21, 2026
989674f
Fix color constants on __init__.py file and updates set_theme method …
R0drigoSchwartz Jul 21, 2026
88d5c32
Enhances tasks.py file to replace the use of QIcon with the Icon clas…
R0drigoSchwartz Jul 21, 2026
fe42bf8
Recompiles *.ui files
R0drigoSchwartz Jul 21, 2026
ed12eb6
Updates ViewToolbar class to use Icon instead of the QIcon
R0drigoSchwartz Jul 21, 2026
232441f
Updates WelcomeWidget class to use Icon instead of the QIcon
R0drigoSchwartz Jul 21, 2026
da40eba
Updates AnalysisToolbar class to use Icon instead of the QIcon
R0drigoSchwartz Jul 22, 2026
c05bb88
Updates FluidWidget class to use Icon instead of the QIcon and remove…
R0drigoSchwartz Jul 22, 2026
7ee769e
Fixes the MainWindow icons in the project menu
R0drigoSchwartz Jul 22, 2026
71a211b
Updates CommonMenuItems class to use Icon instead of the QIcon
R0drigoSchwartz Jul 22, 2026
21b0011
Removes unnecessary QIcon in CommonMenuItems class
R0drigoSchwartz Jul 22, 2026
5fc0d02
Removes unnecessary QIcons in WelcomeWidget class
R0drigoSchwartz Jul 22, 2026
67361cd
Migrate hardcoded icon paths to the themed Icon resource engine and d…
R0drigoSchwartz Jul 22, 2026
3e53176
Removes unnecessary methods that paint icons
R0drigoSchwartz Jul 22, 2026
2c555d9
Updates resource files
R0drigoSchwartz Jul 23, 2026
afdd99c
Fixes plot widgets to show all their content correctly with the QScro…
R0drigoSchwartz Jul 23, 2026
729d5b2
Updates material_input_widget.ui file to show the copy icon correctly
R0drigoSchwartz Jul 23, 2026
d9ddd0f
Merge branch 'dev' into fix_icons
R0drigoSchwartz Jul 28, 2026
40aa89b
Merge branch 'dev' into fix_icons
R0drigoSchwartz Jul 29, 2026
218e3ec
Updates load_fluid_composition.ui file
R0drigoSchwartz Jul 29, 2026
4d73b7c
Merge branch 'dev' into fix_icons
R0drigoSchwartz Jul 31, 2026
27e47cd
Updates the icon colors
R0drigoSchwartz Jul 31, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
16 changes: 10 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pulse/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
USER_PATH = Path().home()
TEMP_PROJECT_DIR = USER_PATH / "temp_pulse"

LIGHT_ICON_COLOR = Color("#1a73e8")
DARK_ICON_COLOR = Color("#5F9AF4")
LIGHT_ICON_COLOR = Color("#0051A2")
DARK_ICON_COLOR = Color("#84AAFF")

def app() -> "Application":
'''
Expand Down
2 changes: 2 additions & 0 deletions pulse/interface/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from pulse import FONT_DIR
from pulse.interface.others.splash_screen import SplashScreen
from pulse.interface.data.icons.theme_resources import set_icon_theme


class Application(QApplication):
Expand All @@ -21,6 +22,7 @@ def __init__(self, *args, **kwargs):
from pulse.project.config import Config

self.config = Config()
set_icon_theme(self.config.user_preferences.interface_theme)

from pulse.project.project import Project

Expand Down
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/back.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/bottom.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/broom.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/calculate.png
Binary file not shown.
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/cube-scan.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/delete.png
Binary file not shown.
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/engineering.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/exit.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/faces.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/fluid.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/front.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/geometry_icon.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/go_next.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/grab_icon.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/help.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/image-plus.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/import.png
Binary file not shown.
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/invert_icon.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/isometric.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/left.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/lines.png
Binary file not shown.
Binary file removed pulse/interface/data/icons/common/lines_blue.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/logo_vibra.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/mesh.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/model_settings.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/moon_icon.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/new_file.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/next.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/next_button.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/nodes.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/pause.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/play.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/play_pause.png
Diff not rendered.
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/plot_lines.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/plot_mesh.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/plus-thick.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/png.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/recent.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/reset-image.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/reset_icon.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/right.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/rotation_icon.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/save.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/save_as.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/save_as_2.png
Diff not rendered.
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/selection_icon.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/settings.png
Diff not rendered.
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/show_lines.png
Diff not rendered.
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/show_symbols.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/show_tubes.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/sun_icon.png
Diff not rendered.
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/top.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/tube_cut.png
Diff not rendered.
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/visibility.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/visibility_off.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/zoom_icon copy.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/common/zoom_icon.png
Diff not rendered.
Binary file removed pulse/interface/data/icons/cube-scan.png
Diff not rendered.
Binary file added pulse/interface/data/icons/dark_theme/common/top.png
138 changes: 138 additions & 0 deletions pulse/interface/data/icons/dark_theme/resources.qrc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading