mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-24 09:28:31 +00:00
commit
d2dd2918dc
2 changed files with 13 additions and 2 deletions
|
|
@ -38,6 +38,11 @@ export const Steps = function Button({ properties, styles, fireEvent, setExposed
|
|||
'--currentStepLabel': currentStepLabel === '#1B1F24' ? 'var(--text-primary)' : currentStepLabel,
|
||||
};
|
||||
const theme = properties.variant;
|
||||
console.log(theme);
|
||||
console.log(properties);
|
||||
console.log(styles);
|
||||
console.log(completedLabel, 'completed');
|
||||
|
||||
const activeStepHandler = (id) => {
|
||||
const step = filteredSteps.find((item) => item.id == id);
|
||||
if (step) {
|
||||
|
|
@ -142,7 +147,8 @@ export const Steps = function Button({ properties, styles, fireEvent, setExposed
|
|||
<a
|
||||
className={`step-item ${item.id == activeStepId && 'active'} ${
|
||||
!(!isDisabled && !isStepDisabled) && 'step-item-disabled'
|
||||
} ${color && `step-${color}`} ${
|
||||
} ${color && `step-${color}`}
|
||||
${
|
||||
index < currentStepIndex
|
||||
? 'completed-label'
|
||||
: index == currentStepIndex
|
||||
|
|
|
|||
|
|
@ -17513,7 +17513,12 @@ a.step-item:hover {
|
|||
width: calc(100% - 32px) !important;
|
||||
}
|
||||
}
|
||||
|
||||
.steps-counter .step-item:before {
|
||||
color:var(--completedLabel) !important;
|
||||
}
|
||||
.steps .step-item.active:before{
|
||||
color : var(--currentStepLabel) !important;
|
||||
}
|
||||
.step-item {
|
||||
font-weight: 500;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue