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
Put all color values for lightmode under .lightTheme and for darkmode under .darkTheme classes respectively
Create a separate function for adding cookie
Feel free to add new colors if needed for the site and have a proper name for which it is, don't change the color values of existing colors given on the color palette
New requirements :
Use cookie as the behind the feature flag.
On cookieValueChange trigger the new theme.
Hide the toggle button as of now.
Use the dev console for changing the theme.
There might be slight changes in implementation according to the languages being used for the sites but the main task flow remains the same.
Color Palette
Naming
colorBackground - #1C1B22
colorNav - #191970
colorLink - #0080FF
colorHighlight - #FF0090
colorText - #E1E1EC
colorCardBg - #312F3B
Toggle Icons
Light Mode
https://cdn.discordapp.com/attachments/876156184187502622/893489343371546684/sun.png
Dark Mode
https://cdn.discordapp.com/attachments/876156184187502622/893550385409712128/moon.png
Cookie
cookie-name : theme
cookie-value: dark/light
cookie-expiry period: 1 month
domain: .realdevsquad.com
Note
New requirements :
There might be slight changes in implementation according to the languages being used for the sites but the main task flow remains the same.
The text was updated successfully, but these errors were encountered: