You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be a style choice and not a bug, but I wanted to flag it just in case it isn't working as intended. As title mentions, when a user tries to update their profile (e.g. preferred languages), and saves their profile, the background color of the success alert blends into the green portion of its rainbow border:
This makes the border look inconsistent.
Expected Behavior
I expect the border would be visibly distinct from the alert notification's content, and have a consistent look (all 4 CodeTriage colors would be visible.)
Current Behavior
Currently, one bar of the alert notification's border disappears, because the alert background color is set to the same color.
Possible Solution
The border would be more distinct, if its bars had different background colors than the one used in the alert's background. Currently, they are forced to be the same, because of the styling rules declared in _flashes.scss. The flash mixin sets the alert's background color to the argument passed in. However, _flashes.scss sets the arguments as either $alert-color, $error-color, $notice-color, or $success-color, and variables.scss sets those variables to $codetriage-yellow, $codetriage-red, and so on. This forces the background color to match at least one of the bars in the border.
If instead, the alert's background color was a lightened/darkened variation of the color argument passed to the flash mixin, both the alert and the border bars would be visible.
Steps to Reproduce (for bugs)
Log into your CodeTriage account
Click your profile
Scroll down, and click 'Save Favorite Languages'
Note that one of the bars in the alert border is invisible.
Context
It seems to be a slight styling issue (unless it is a styling choice). To me, it seems as though the alert is 'bleeding into' the border, and it clashes with the otherwise seamless UI. I am trying to make it look better.
Your Environment
Browser Name and version: Chrome, v 117.0.5938.132
Operating System and version (desktop or mobile): Linux Mint
The text was updated successfully, but these errors were encountered:
If instead, the alert's background color was a lightened/darkened variation of the color argument passed to the flash mixin, both the alert and the border bars would be visible.
Seems reasonable. I would accept a change like that with a screenshot showing the color difference.
This may be a style choice and not a bug, but I wanted to flag it just in case it isn't working as intended. As title mentions, when a user tries to update their profile (e.g. preferred languages), and saves their profile, the background color of the success alert blends into the green portion of its rainbow border:
This makes the border look inconsistent.
Expected Behavior
I expect the border would be visibly distinct from the alert notification's content, and have a consistent look (all 4 CodeTriage colors would be visible.)
Current Behavior
Currently, one bar of the alert notification's border disappears, because the alert background color is set to the same color.
Possible Solution
The border would be more distinct, if its bars had different background colors than the one used in the alert's background. Currently, they are forced to be the same, because of the styling rules declared in _flashes.scss. The flash mixin sets the alert's background color to the argument passed in. However, _flashes.scss sets the arguments as either
$alert-color
,$error-color
,$notice-color
, or$success-color
, and variables.scss sets those variables to$codetriage-yellow
,$codetriage-red
, and so on. This forces the background color to match at least one of the bars in the border.If instead, the alert's background color was a lightened/darkened variation of the color argument passed to the flash mixin, both the alert and the border bars would be visible.
Steps to Reproduce (for bugs)
Context
It seems to be a slight styling issue (unless it is a styling choice). To me, it seems as though the alert is 'bleeding into' the border, and it clashes with the otherwise seamless UI. I am trying to make it look better.
Your Environment
The text was updated successfully, but these errors were encountered: