Closed stefan-niedermann closed 9 months ago
0 | 10 | 0 | 0 | 2 |
⚠️ You've recorded test results over your free plan limit. Upgrade your plan to view test results. |
Details:
chore: Adjust add and delete icon colors to match server variables | |||
Project: Activity | Commit: 5ab511abcf |
||
Status: Passed | Duration: 04:16 💡 | ||
Started: Jan 24, 2024 7:31 PM | Ended: Jan 24, 2024 7:35 PM |
Uh, I didn't know one can use CSS custom properties directly in fill
attributes. I would have expected at least a style
attribute. :)
Uh, I didn't know one can use CSS custom properties directly in
fill
attributes. I would have expected at least astyle
attribute. :)
Me too to be honest, but we have done it in many places recently 😀
:information_source: These colors are still hard coded. I could imagine adding a
<style>
tag to thesvg
icons to actually apply the colors based on the available variables. However this is some kind of paradigm change in handlingsvg
icons, therefore I wanted to keep the change small.Source of color codes: https://github.com/nextcloud/server/blob/1891ae121d80758ffaf537dd4d4fffbaed3eef00/apps/theming/css/default.css#L24-L32
CC @nextcloud/designers