Free Motion Capture for Everyone πβ¨
TypeScript
Trent/color restyling (#347)
trentwirthd870fc9a04e5
diff --git a/freemocap/gui/qt/actions_and_menus/actions.py b/freemocap/gui/qt/actions_and_menus/actions.pyindex 6ed6740e..9381318f 100644--- a/freemocap/gui/qt/actions_and_menus/actions.py+++ b/freemocap/gui/qt/actions_and_menus/actions.py@@ -1,10 +1,10 @@from PyQt6.QtGui import QAction-CREATE_NEW_RECORDING_ACTION_NAME = "Create New Recording "-LOAD_MOST_RECENT_RECORDING_ACTION_NAME = "Load Most Recent Recording..."+CREATE_NEW_RECORDING_ACTION_NAME = "New Recording"+LOAD_MOST_RECENT_RECORDING_ACTION_NAME = "Load Most Recent Recording"LOAD_EXISTING_RECORDING_ACTION_NAME = "Load Existing Recording"-IMPORT_VIDEOS_ACTION_NAME = "Import Videos..."+IMPORT_VIDEOS_ACTION_NAME = "Import Videos"KILL_THREADS_AND_PROCESSES_ACTION_NAME = "Kill Threads and Processes"REBOOT_GUI_ACTION_NAME = "Reboot GUI"EXIT_ACTION_NAME = "Exit"diff --git a/freemocap/gui/qt/main_window/freemocap_main_window.py b/freemocap/gui/qt/main_window/freemocap_main_window.pyindex 8d5e0f6b..6c285090 100644--- a/freemocap/gui/qt/main_window/freemocap_main_window.py+++ b/freemocap/gui/qt/main_window/freemocap_main_window.py@@ -27,6 +27,7 @@ from freemocap.core_processes.export_data.blender_stuff.get_best_guess_of_blendefrom freemocap.gui.qt.actions_and_menus.actions import Actionsfrom freemocap.gui.qt.actions_and_menus.menu_bar import MenuBarfrom freemocap.gui.qt.style_sheet.css_file_watcher import CSSFileWatcher+from freemocap.gui.qt.style_sheet.scss_file_watcher import SCSSFileWatcherfrom freemocap.gui.qt.style_sheet.set_css_style_sheet import apply_css_style_sheetfrom freemocap.gui.qt.utilities.get_qt_app import get_qt_appfrom freemocap.gui.qt.utilities.update_most_recent_recording_toml import (@@ -55,6 +56,7 @@ from freemocap.parameter_info_models.recording_processing_parameter_models imporRecordingProcessingParameterModel,)from freemocap.system.paths_and_files_names import (+ get_scss_stylesheet_path,get_css_stylesheet_path,get_most_recent_recording_path,PATH_TO_FREEMOCAP_LOGO_SVG,@@ -122,11 +124,11 @@ class FreemocapMainWindow(QMainWindow):self._tools_dock_widget.setWidget(self._tools_dock_tab_widget)self._control_panel_dock_widget = self._create_control_panel_widget()- self._tools_dock_tab_widget.addTab(self._control_panel_dock_widget, f"Control Panel{GEAR_EMOJI_STRING}")+ self._tools_dock_tab_widget.addTab(self._control_panel_dock_widget, f"Control Panel")- self._tools_dock_tab_widget.addTab(self._directory_view_widget, f"Directory View{DIRECTORY_EMOJI_STRING}")+ self._tools_dock_tab_widget.addTab(self._directory_view_widget, f"Directory View")self._tools_dock_tab_widget.addTab(- self._active_recording_info_widget, f"Active Recording Info{COOL_EMOJI_STRING}"+ self._active_recording_info_widget, f"Active Recording Info")# self.addDockWidget(Qt.DockWidgetArea.LeftDockWidgetArea, self._directory_view_dock_widget)@@ -192,6 +194,7 @@ class FreemocapMainWindow(QMainWindow):def _set_up_stylesheet(self):apply_css_style_sheet(self, get_css_stylesheet_path())+ scss_file_watcher = SCSSFileWatcher(path_to_scss_file=get_scss_stylesheet_path(), path_to_css_file=get_css_stylesheet_path(), parent=self)css_file_watcher = CSSFileWatcher(path_to_css_file=get_css_stylesheet_path(), parent=self)return css_file_watcherdiff --git a/freemocap/gui/qt/style_sheet/compile_scss_to_css.py b/freemocap/gui/qt/style_sheet/compile_scss_to_css.pynew file mode 100644index 00000000..6043f106--- /dev/null+++ b/freemocap/gui/qt/style_sheet/compile_scss_to_css.py@@ -0,0 +1,12 @@+import sass+from pathlib import Path+from typing import Union++def compile_scss_to_css(scss_path: Union[str, Path], css_path: Union[str, Path]):+ with open(scss_path) as scss_file:+ scss_contents = scss_file.read()++ compiled_css = sass.compile(string=scss_contents)++ with open(css_path, 'w') as css_file:+ css_file.write(compiled_css)diff --git a/freemocap/gui/qt/style_sheet/qt_style_sheet.css b/freemocap/gui/qt/style_sheet/qt_style_sheet.cssindex c989b56e..dee6cfe4 100644--- a/freemocap/gui/qt/style_sheet/qt_style_sheet.css+++ b/freemocap/gui/qt/style_sheet/qt_style_sheet.css@@ -1,222 +1,127 @@+ /* If you want to update the appearance of the GUI, please make changes to the `qt_stylesheet.scss` file. */* {- font-family: "Dosis", sans-serif;- /*font-size: 12px;*/- color: #333333;-}+ font-family: "Dosis", sans-serif;+ /*font-size: 12px;*/+ color: #333333; }QGroupBox {- border: 1px solid #1c6266;- border-radius: 4px;- margin-top: 10px;- font-weight: bold;-}-QGroupBox[calibration_videos_radio_button_checked=false] {- background-color: #06bbda;-}-QGroupBox[calibration_videos_radio_button_checked=true] {- background-color: #9f795e;-}--QStatusBar {- color: #334411;-}+ border: 1px solid #254342;+ border-radius: 4px;+ margin-top: 10px;+ font-weight: bold; }++QGroupBox {+ background-color: #a4d6d9; }++QStatusBar {+ color: #365d5f; }QMainWindow {- background-color: #2b9ba1;-}+ background-color: #365d5f; }QTabWidget::pane {- border: 1px solid lightgray;- top: 1px;- background: cadetblue ;-}+ border: 1px solid white;+ top: 1px;+ background: cadetblue; }QTabBar::tab {- background: lightseagreen;- border: 1px solid #2b9692;- padding: 5px;- color: #235957;- border-top-left-radius: 20px;- border-top-right-radius: 5px;- /*min-width: 200px;*/-}+ border: 1px solid;+ padding: 5px;+ color: #365d5f;+ border-top-left-radius: 20px;+ border-top-right-radius: 5px;+ /*min-width: 200px;*/ }QTabBar::tab {- background: seashell;- margin-bottom: -5px;- font-weight: bolder;- font-size: 14px;-}+ background: white;+ border-color: #365d5f;+ margin-bottom: -5px;+ font-weight: bolder;+ font-size: 16px; }QTabBar::tab:selected {- background: #235957;- color: white;-}--QDockWidget:disabled {- background-color: #2b9692;- color: #1ec2c2;-}---QTabBar::tab [control_panel_tabs=true] {-- background: #2a595f;- border: 2px solid #7906e5;- padding: 1px;- border-bottom-right-radius: 20px;- border-top-right-radius: 5px;- margin-right: 90px;- color: #1ec2c2;-}---QTabBar[control_panel_tabs=true]::tab:selected {- background: #4b1d7e;- border-bottom-right-radius: 20px;- border-top-right-radius: 5px;- margin-right: 70px;- color: mintcream;-}--+ background: #365d5f;+ color: white;+ border-color: white; }QPushButton {- /*font-size: 24px;*/-- font-weight: bold;- border-radius: 4px;- border: 2px solid #29394a;- background-color: #29394a;- color: #dddddd;-}--QPushButton:focus {- border: 3px solid #ff0893;-}+ font-weight: bold;+ border-radius: 4px;+ border: 2px solid #29394a;+ background-color: #29394a;+ color: white; }QPushButton:disabled {- border: 2px solid #a0a2af;- background-color: #a0a2af;- color: #2d736f;-}+ background-color: #7983b1;+ border: 1px solid #7983b1;+ color: #a4d6d9; }QPushButton:hover {- border: 3px solid #ff40aa;-}+ border: 3px solid white; }+QPushButton#start_recording_button {- font-size: 18px;- background-color: #8f0404;-}+ font-size: 18px;+ background-color: #d95158; }+QPushButton#start_recording_button:disabled {- background-color: #8c5454;-}+ background-color: #8c5454; }QPushButton#stop_recording_button {- font-size: 18px;+ font-size: 18px; }-}QPushButton#stop_recording_button:enabled {- /*font-size: 24px;*/- border: 3px solid #ff4046;-}-+ /*font-size: 24px;*/+ border: 3px solid #d95158; }WelcomeScreenButton {- border: 2px solid #29394a;- background-color: #213496;- color: #dddddd;- font-size: 24px;- border-radius: 20px;- padding: 10px;---}-----WelcomeScreenButton[secondary_button = true] {-- background-color: #12194b;- color: #cccccc;- font-size: 20px;--}---WelcomeScreenButton[recommended_next = true] {- background-color: #7b20b7;- color: #ffffff;-}--+ border: 2px solid #333333;+ background-color: #365d5f;+ color: white;+ font-size: 24px;+ border-radius: 20px;+ padding: 10px; }+WelcomeScreenButton[recommended_next=true] {+ background-color: #d95158;+ color: white; }QLabel {-- /*font-family: "Roboto", sans-serif;*/- /*font-weight: bold;*/- font-size: 14px;- color: #333333;-}--+ font-size: 14px;+ color: #333333; }QLabel:disabled {- color: #33594d;-}+ color: #a4d6d9; }QLineEdit {- border: 1px solid #496482;- border-radius: 4px;- padding: 0 8px;- color: #222222;--}+ border: 1px solid #29394a;+ border-radius: 4px;+ padding: 0 8px;+ color: #333333; }QLineEdit:disabled {- color: #3c3d48;- background-color: #687e90;-}--QRadioButton:checked {- color: #7906e5;--}+ color: #333333;+ background-color: #29394a; }QTreeView {- background-color: #7983b1;- alternate-background-color: #a3b1ed;- color: #222222;- font-weight: bold;- font-family: "Roboto", sans-serif;- font-size: 12px;-}-+ background-color: #7983b1;+ alternate-background-color: #a3b1ed;+ color: white;+ font-weight: bold;+ font-family: "Roboto", sans-serif;+ font-size: 12px; }QTreeView::item:has-children {- background-color: '#49587d';- color: #ffffff;-}--QTreeView::item:selected {- background-color: #0932c2;-}--QTreeView::item:selected:active {- background-color: #6c00e0;-}+ background-color: #29394a;+ color: white; }+QTreeView::item:selected,QTreeView::item:hover {- background-color: #378e90;-}+ background-color: white;+ color: #333333; }LogViewWidget {- background-color: #0b2424;- color: #1ed760;- /*font-weight: bold;*/- font-family: "Roboto", sans-serif;- font-size: 12px;- padding: 8px;-}+ background-color: #254342;+ color: white;+ font-family: "Roboto", sans-serif;+ font-size: 12px;+ padding: 8px; }diff --git a/freemocap/gui/qt/style_sheet/qt_style_sheet.scss b/freemocap/gui/qt/style_sheet/qt_style_sheet.scssnew file mode 100644index 00000000..69ed877b--- /dev/null+++ b/freemocap/gui/qt/style_sheet/qt_style_sheet.scss@@ -0,0 +1,171 @@+$dark-charcoal: #333333;+$skelly-bone-blue: #a4d6d9;+$cadet-skelly: cadetblue;+$laser-red: #d95158;+$disabled-laser-red: #8c5454;+$freemocap-green: #365d5f;+$freemocap-dark-green: #254342;+$button-blue: #29394a;+$disabled-button-blue: #687e90;+$tree-primary: #7983b1;+$tree-secondary: #a3b1ed;+$plain-white: white;+++* {+ font-family: "Dosis", sans-serif;+ /*font-size: 12px;*/+ color: $dark-charcoal;+}++QGroupBox {+ border: 1px solid $freemocap-dark-green;+ border-radius: 4px;+ margin-top: 10px;+ font-weight: bold;+}+QGroupBox{+ background-color: $skelly-bone-blue;+}+//QGroupBox[calibration_videos_radio_button_checked=true] {+// background-color: $laser-red;+//}++QStatusBar {+ color: $freemocap-green;+}++QMainWindow {+ background-color: $freemocap-green;+}++QTabWidget::pane {+ border: 1px solid $plain-white;+ top: 1px;+ background: $cadet-skelly;+}++QTabBar::tab {+ border: 1px solid;+ padding: 5px;+ color: $freemocap-green;+ border-top-left-radius: 20px;+ border-top-right-radius: 5px;+ /*min-width: 200px;*/+}++QTabBar::tab {+ background: $plain-white;+ border-color: $freemocap-green;+ margin-bottom: -5px;+ font-weight: bolder;+ font-size: 16px;+}++QTabBar::tab:selected {+ background: $freemocap-green;+ color: $plain-white;+ border-color: $plain-white;+}++QPushButton {+ font-weight: bold;+ border-radius: 4px;+ border: 2px solid $button-blue;+ background-color: $button-blue;+ color: $plain-white;+}+++QPushButton:disabled {+ background-color: $tree-primary;+ border: 1px solid $tree-primary;+ color: $skelly-bone-blue;+}++QPushButton:hover {+ border: 3px solid $plain-white;+}++QPushButton#start_recording_button {+ font-size: 18px;+ background-color: $laser-red;+}+QPushButton#start_recording_button:disabled {+ background-color: $disabled-laser-red;+}++QPushButton#stop_recording_button {+ font-size: 18px;++}+QPushButton#stop_recording_button:enabled {+ /*font-size: 24px;*/+ border: 3px solid $laser-red;+}+++WelcomeScreenButton {+ border: 2px solid $dark-charcoal;+ background-color: $freemocap-green;+ color: $plain-white;+ font-size: 24px;+ border-radius: 20px;+ padding: 10px;+}+++WelcomeScreenButton[recommended_next = true] {+ background-color: $laser-red;+ color: $plain-white;+}+++QLabel {+ font-size: 14px;+ color: $dark-charcoal;+}++QLabel:disabled {+ color: $skelly-bone-blue+}++QLineEdit {+ border: 1px solid $button-blue;+ border-radius: 4px;+ padding: 0 8px;+ color: $dark-charcoal;++}+QLineEdit:disabled {+ color: $dark-charcoal;+ background-color: $button-blue;+}++QTreeView {+ background-color: $tree-primary;+ alternate-background-color: $tree-secondary;+ color: $plain-white;+ font-weight: bold;+ font-family: "Roboto", sans-serif;+ font-size: 12px;+}++QTreeView::item:has-children {+ background-color: $button-blue;+ color: $plain-white;+}++QTreeView::item:selected,+ QTreeView::item:hover{+ background-color: $plain-white;+ color: $dark-charcoal;+}++LogViewWidget {+ background-color: $freemocap-dark-green;+ color: $plain-white;+ font-family: "Roboto", sans-serif;+ font-size: 12px;+ padding: 8px;+}diff --git a/freemocap/gui/qt/style_sheet/scss_file_watcher.py b/freemocap/gui/qt/style_sheet/scss_file_watcher.pynew file mode 100644index 00000000..ea459777--- /dev/null+++ b/freemocap/gui/qt/style_sheet/scss_file_watcher.py@@ -0,0 +1,36 @@+import logging+from pathlib import Path+from typing import Union++from PyQt6 import QtCore+from PyQt6.QtCore import pyqtSlot, QFileSystemWatcher+from freemocap.gui.qt.style_sheet.compile_scss_to_css import compile_scss_to_css++logger = logging.getLogger(__name__)++class SCSSFileWatcher(QFileSystemWatcher):+ def __init__(self, path_to_scss_file: Union[str, Path], path_to_css_file: Union[str, Path], parent=None):+ super().__init__(parent)+ self.addPath(str(path_to_scss_file))+ self.parent = parent+ self.path_to_scss_file = str(path_to_scss_file)+ self.path_to_css_file = str(path_to_css_file)+ self.fileChanged.connect(self.file_changed)++ @pyqtSlot(str)+ def file_changed(self, path: str):+ logger.info(f"SCSS file changed: {path} - running compile_scss_to_css")++ try:+ compile_scss_to_css(self.path_to_scss_file, self.path_to_css_file)+ logger.info(f"SCSS compilation finished")+ except Exception as e:+ logger.error(f"Error in SCSS compilation: {e}")++if __name__ == "__main__":+ app = QtCore.QCoreApplication([])+ qt_file_system_watcher = SCSSFileWatcher(path_to_scss_file=Path(__file__).parent / "qt_style_sheet.scss", path_to_css_file=Path(__file__).parent / "qt_style_sheet.css")+ print(f"watching directories - {qt_file_system_watcher.directories()})")+ print(f"watching files - {qt_file_system_watcher.files()})")+ app.exec()+ print("done!")diff --git a/freemocap/gui/qt/widgets/central_tab_widget.py b/freemocap/gui/qt/widgets/central_tab_widget.pyindex 2fa5e594..ed04d2d7 100644--- a/freemocap/gui/qt/widgets/central_tab_widget.py+++ b/freemocap/gui/qt/widgets/central_tab_widget.py@@ -47,7 +47,7 @@ class CentralTabWidget(QTabWidget):def _create_welcome_tab(self, tab_widget: QTabWidget):logger.info("Creating welcome tab")- tab_widget.addTab(self._welcome_to_freemocap_widget, "Welcome!")+ tab_widget.addTab(self._welcome_to_freemocap_widget, "Home")def _create_skellycam_view_tab(self, tab_widget: QTabWidget):logger.info("Creating skellycam view tab")@@ -55,7 +55,7 @@ class CentralTabWidget(QTabWidget):self._camera_view_layout = QVBoxLayout()self._camera_view_layout.setAlignment(Qt.AlignmentFlag.AlignTop)dummy_widget.setLayout(self._camera_view_layout)- tab_widget.addTab(dummy_widget, f"Skelly Cam {CAMERA_WITH_FLASH_EMOJI_STRING}")+ tab_widget.addTab(dummy_widget, f"Skelly Cam")# tab_widget.setToolTip(skellycam.__repo_url__)# self._qt_multi_camera_viewer_widget.resize(1280, 720)@@ -65,5 +65,5 @@ class CentralTabWidget(QTabWidget):def _create_skelly_viewer_tab(self, tab_widget: QTabWidget):logger.info("Creating export_data tab")- tab_widget.addTab(self._skelly_viewer_widget, f"Skelly Viewer {EYES_EMOJI_STRING}")+ tab_widget.addTab(self._skelly_viewer_widget, f"Skelly Viewer")# tab_widget.setToolTip(skelly_viewer.__repo_url__)diff --git a/freemocap/gui/qt/widgets/control_panel/control_panel_dock_widget.py b/freemocap/gui/qt/widgets/control_panel/control_panel_dock_widget.pyindex 1679e2b1..bfa43d85 100644--- a/freemocap/gui/qt/widgets/control_panel/control_panel_dock_widget.py+++ b/freemocap/gui/qt/widgets/control_panel/control_panel_dock_widget.py@@ -56,13 +56,13 @@ class ControlPanelWidget(QWidget):self._tab_widget.addTab(camera_configuration_parameter_tree_widget,- f"Camera Config {CAMERA_WITH_FLASH_EMOJI_STRING}{HAMMER_AND_WRENCH_EMOJI_STRING}",+ f"Camera Configuration",)# self._tool_box.addTab(calibration_control_panel, "Capture Volume Calibration")self._tab_widget.addTab(- process_motion_capture_data_panel, f"Process MoCap Data {ROBOT_EMOJI_STRING}{THREE_HEARTS_EMOJI_STRING}"+ process_motion_capture_data_panel, f"Process Data")- self._tab_widget.addTab(visualize_data_widget, f"Export Data {WIND_EMOJI_STRING}{SPARKLES_EMOJI_STRING}")+ self._tab_widget.addTab(visualize_data_widget, f"Export Data")self._tab_widget.setProperty("control_panel_tabs", True)self.style().polish(self._tab_widget)diff --git a/freemocap/gui/qt/widgets/control_panel/process_mocap_data_panel/process_motion_capture_data_panel.py b/freemocap/gui/qt/widgets/control_panel/process_mocap_data_panel/process_motion_capture_data_panel.pyindex 6b2756dd..3cf74d50 100644--- a/freemocap/gui/qt/widgets/control_panel/process_mocap_data_panel/process_motion_capture_data_panel.py+++ b/freemocap/gui/qt/widgets/control_panel/process_mocap_data_panel/process_motion_capture_data_panel.py@@ -4,6 +4,7 @@ from pathlib import Pathfrom typing import Callablefrom PyQt6.QtCore import pyqtSignal, pyqtSlot, Qt+from PyQt6.QtGui import QFontfrom PyQt6.QtWidgets import QPushButton, QVBoxLayout, QWidget, QGroupBoxfrom pyqtgraph.parametertree import Parameter, ParameterTree@@ -57,6 +58,8 @@ class ProcessMotionCaptureDataPanel(QWidget):self._process_motion_capture_data_button = QPushButton("Process Motion Capture Videos",)+ self._process_motion_capture_data_button.setFont(QFont("Dosis", 16, QFont.Weight.Bold))+self._process_motion_capture_data_button.clicked.connect(self._launch_process_motion_capture_data_thread_worker)self._layout.addWidget(self._process_motion_capture_data_button)@@ -90,7 +93,7 @@ class ProcessMotionCaptureDataPanel(QWidget):session_processing_parameter_model)parameter_tree_widget.setParameters(parameter_group, showTop=False)-+ parameter_tree_widget.setObjectName("parameter-tree-widget")return parameter_groupdef _convert_session_processing_parameter_model_to_parameter_group(diff --git a/freemocap/gui/qt/widgets/welcome_panel_widget.py b/freemocap/gui/qt/widgets/welcome_panel_widget.pyindex 5d1882b3..f5f8429f 100644--- a/freemocap/gui/qt/widgets/welcome_panel_widget.py+++ b/freemocap/gui/qt/widgets/welcome_panel_widget.py@@ -45,23 +45,23 @@ class WelcomeToFreemocapPanel(QWidget):self._layout.addWidget(self._welcome_to_freemocap_title_widget)self._create_new_session_button = WelcomeScreenButton(- f"{CREATE_NEW_RECORDING_ACTION_NAME} (Ctrl+N) {SPARKLES_EMOJI_STRING}"+ f"{CREATE_NEW_RECORDING_ACTION_NAME}")self._create_new_session_button.clicked.connect(actions.create_new_recording_action.trigger)self._layout.addWidget(self._create_new_session_button, alignment=Qt.AlignmentFlag.AlignCenter)self._create_new_session_button.setProperty("recommended_next", True)self._load_most_recent_session_button = WelcomeScreenButton(- f"{LOAD_MOST_RECENT_RECORDING_ACTION_NAME} (Ctrl+D)"+ f"{LOAD_MOST_RECENT_RECORDING_ACTION_NAME}")self._load_most_recent_session_button.clicked.connect(actions.load_most_recent_recording_action.trigger)self._layout.addWidget(self._load_most_recent_session_button, alignment=Qt.AlignmentFlag.AlignCenter)- self._load_existing_session_button = WelcomeScreenButton(f"{LOAD_EXISTING_RECORDING_ACTION_NAME} (Ctrl+O)")+ self._load_existing_session_button = WelcomeScreenButton(f"{LOAD_EXISTING_RECORDING_ACTION_NAME}")self._load_existing_session_button.clicked.connect(actions.load_most_recent_recording_action.trigger)self._layout.addWidget(self._load_existing_session_button, alignment=Qt.AlignmentFlag.AlignCenter)- self._import_videos_button = WelcomeScreenButton(f"{IMPORT_VIDEOS_ACTION_NAME} (Ctrl+I)")+ self._import_videos_button = WelcomeScreenButton(f"{IMPORT_VIDEOS_ACTION_NAME}")self._import_videos_button.clicked.connect(actions.import_videos_action.trigger)self._layout.addWidget(self._import_videos_button, alignment=Qt.AlignmentFlag.AlignCenter)diff --git a/freemocap/system/paths_and_files_names.py b/freemocap/system/paths_and_files_names.pyindex 7debe97c..c8b9a7ca 100644--- a/freemocap/system/paths_and_files_names.py+++ b/freemocap/system/paths_and_files_names.py@@ -172,6 +172,9 @@ def get_css_stylesheet_path():return str(Path(__file__).parent.parent / "gui" / "qt" / "style_sheet" / "qt_style_sheet.css")+def get_scss_stylesheet_path():+ return str(Path(__file__).parent.parent / "gui" / "qt" / "style_sheet" / "qt_style_sheet.scss")+def get_most_recent_recording_toml_path():return str(Path(get_logs_info_and_settings_folder_path()) / MOST_RECENT_RECORDING_TOML_FILENAME)diff --git a/pyproject.toml b/pyproject.tomlindex 3065aace..c0d62ddc 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -74,6 +74,7 @@ dependencies = ["opencv-contrib-python==4.6.0.66","toml","aniposelib",+ "libsass",]requires-python = ">=3.8, <3.11"diff --git a/requirements.txt b/requirements.txtindex e8af6182..a3a632da 100644--- a/requirements.txt+++ b/requirements.txt@@ -3,4 +3,5 @@ skelly_viewer==2023.3.1017mediapipe==0.9.1.0opencv-contrib-python==4.6.0.66toml==0.10.2-aniposelib==0.4.3\ No newline at end of file+aniposelib==0.4.3+libsass==0.22.0\ No newline at end of file