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
Is your feature request related to a problem? Please describe.
The hardcoded values in the tsx files for the styles such as those present in the 'sx' prop can be replaced with global css root variables.
Describe the solution you'd like
Simply import the styles from the global CSS and therefore use the global root variables.
For example :
For this style
We have the output:
But by simply replacing the hardcoded backgroundcolor value with global variable root variable we can ensure much higher consistency for the CSS:
We get the same result:
Approach to be followed (optional)
Visit all the .tsx files in the src directory.
Ensure they have styles imported from global css something like this: import styles from '../../style/app.module.css';
Replace all the possible hard coded values with global css root variables.
Run the server before making the changes and after the changes making sure CSS do not gets disrupted for any component.
Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
Congratulations on making your first Issue! 🎊 If you haven't already, check out our Contributing Guidelines and Issue Reporting Guidelines to ensure that you are following our guidelines for contributing and making issues.
Is your feature request related to a problem? Please describe.
The hardcoded values in the tsx files for the styles such as those present in the 'sx' prop can be replaced with global css root variables.
Describe the solution you'd like
Simply import the styles from the global CSS and therefore use the global root variables.
For example :
For this style
We have the output:
But by simply replacing the hardcoded backgroundcolor value with global variable root variable we can ensure much higher consistency for the CSS:
We get the same result:
Approach to be followed (optional)
src
directory.import styles from '../../style/app.module.css';
Potential internship candidates
Please read this if you are planning to apply for a Palisadoes Foundation internship
The text was updated successfully, but these errors were encountered: