Closed artturik closed 3 years ago
yarn run pretty
Default port widget contains incorrect CSS and port background was not painted as expected
rgba(white, 0.1) is not valid css
changed invalid syntax to valid
rgba syntax - <rgba()> = rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? )
<rgba()> = rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? )
from https://developer.mozilla.org/en-US/docs/Web/CSS/background-color
Before:
After:
Checklist
yarn run pretty
What?
Default port widget contains incorrect CSS and port background was not painted as expected
Why?
rgba(white, 0.1) is not valid css
How?
changed invalid syntax to valid
rgba syntax -
<rgba()> = rgba( <percentage>{3} [ / <alpha-value> ]? ) | rgba( <number>{3} [ / <alpha-value> ]? )
from https://developer.mozilla.org/en-US/docs/Web/CSS/background-color
Images
Before:
After: