Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
thmsobrmlr committed Dec 19, 2023
1 parent 3b364c9 commit d68ed18
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .stylelintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,6 @@ module.exports = {
'scss/at-extend-no-missing-placeholder': null,
'scss/comment-no-empty': null,
'order/order': ['dollar-variables', 'custom-properties', 'declarations', 'rules', 'at-rules'],
'color-function-notation': ['modern', { ignore: ['with-var-inside'] }],
},
}
6 changes: 3 additions & 3 deletions frontend/src/scenes/surveys/SurveyAppearance.scss
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@
.description {
margin-top: 5px;
font-size: 13px;
color: rgba(var(--textColor), 0.6);
color: rgba(var(--survey-text-color), 0.6);

a {
color: rgb(var(--textColor));
color: rgb(var(--survey-text-color));

&:hover {
color: rgba(var(--textColor), 0.6);
color: rgba(var(--survey-text-color), 0.6);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/scenes/surveys/SurveyAppearance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ export function BaseAppearance({
backgroundColor: appearance.backgroundColor,
border: `1.5px solid ${appearance.borderColor || defaultSurveyAppearance.borderColor}`,
color: textColor,
'--textColor': getTextColorComponents(textColor),
'--survey-text-color': getTextColorComponents(textColor),
} as React.CSSProperties
}
>
Expand Down

0 comments on commit d68ed18

Please sign in to comment.