Home Page Icon Color Changes with Dark Mode + Refresh #11

Closed
opened 2024-09-04 20:20:21 +00:00 by mik-tf · 1 comment
Owner

Situation

  • the docs Home Page Icons' Color Change with Dark Mode + Refresh

To Reproduce

  • go to docs.threefold.info
  • put dark mode
  • refresh the page
  • result: the icon are grey non white

Todo

  • Ensure the color stays the same (white)

Screenshots

  • Dark Mode before refresh

image

  • After refresh

image

References

@ehab could you have a look? Thanks!

Ideas

I think the fix would be around this: h

} else if ( id === 'svgcolor' && colorMode === 'dark') {

# Situation - the docs Home Page Icons' Color Change with Dark Mode + Refresh # To Reproduce - go to docs.threefold.info - put dark mode - refresh the page - result: the icon are grey non white # Todo - Ensure the color stays the same (white) # Screenshots - Dark Mode before refresh ![image](/attachments/44a658d1-29b9-4577-a49c-d0cd60f72175) - After refresh ![image](/attachments/118ebf81-21a4-40ec-973c-2a4372fba1ce) # References - Website: - https://docs.threefold.info/ @ehab could you have a look? Thanks! # Ideas I think the fix would be around this: hhttps://git.ourworld.tf/tfgrid/docs_tfgrid4/src/commit/067c7114a62152e2a4a180902e128890e97f3819/docs_website/src/components/HomepageFeatures/index.tsx#L53
ehab was assigned by mik-tf 2024-09-04 20:24:08 +00:00
Member

@mik-tf
I changed the way images switch between dark and light modes by adding at custome.css
created a new PR request and need to test it at the production because it's working fine locally

@mik-tf I changed the way images switch between dark and light modes by adding at custome.css created a new PR request and need to test it at the production because it's working fine locally
Sign in to join this conversation.
No description provided.