Skip to content

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

style(workflow): add amber theme stylesheet to connection refresh button

Sujallukhi0462820f6ecaab
diff --git a/fincept-qt/src/screens/node_editor/properties/ParameterWidgets.cpp b/fincept-qt/src/screens/node_editor/properties/ParameterWidgets.cpp
index 73bb9a583..3332169d2 100644
--- a/fincept-qt/src/screens/node_editor/properties/ParameterWidgets.cpp
+++ b/fincept-qt/src/screens/node_editor/properties/ParameterWidgets.cpp
@@ -488,6 +488,10 @@ QWidget* ParameterWidgetFactory::create(const ParamDef& param, const QJsonValue&
refresh_btn->setObjectName("datasource_connection_refresh");
refresh_btn->setFixedSize(24, 24);
refresh_btn->setToolTip("Refresh connection list");
+ refresh_btn->setStyleSheet(QString("QPushButton { background:%1; color:%2;"
+ " border:1px solid %1; font-size:13px; }"
+ "QPushButton:hover { background:%3; }")
+ .arg(ui::colors::BORDER_MED(), ui::colors::AMBER(), ui::colors::TEXT_DIM()));
rl->addWidget(refresh_btn);
layout->addWidget(row);