Closed paulinabjacykowska closed 1 year ago
lgtm!
Q: What about the remaining
styled-components
inLayoutBase
andsrc/globalStyles
? It still uses the theme, I thought we wanted to get rid of:
styled-components
styled-media-query
styled-normalize
polished
There are problems with moving GlobalStyle
from theme.ts
to the custom.css
(appearance of the website is not the same as before, there are some places, especially in docs and its not that ease to change those styles for the website to look the same as before).
Because of that I think it would be best to release this PR to the live hoping, that it will be enough to remove FOUC, and take care of what you wrote above in the future.
There are problems with moving
GlobalStyle
fromtheme.ts
to thecustom.css
(appearance of the website is not the same as before, there are some places, especially in docs and its not that ease to change those styles for the website to look the same as before). Because of that I think it would be best to release this PR to the live hoping, that it will be enough to remove FOUC, and take care of what you wrote above in the future.
Makes sense! Thanks for the update! :rocket:
This task is the last part of https://vazco1.atlassian.net/browse/FB-324 - it consists of removing the rest of the styled components and moving all of our styles into
custom.css
file.