Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variables.sass Not Found #419

Open
UnityGameDesign-max opened this issue Oct 30, 2022 · 5 comments
Open

variables.sass Not Found #419

UnityGameDesign-max opened this issue Oct 30, 2022 · 5 comments

Comments

@UnityGameDesign-max
Copy link

Describe the bug
The latest master branch code doesn't have variables.sass file in the styles folder simply because the path src/styles/variables.sass was added to .gitignore which results to an error when running the application for the first time currently.

Expected behavior
The style sheet-variable.sass must be remove in the .gitignore file since almost every component uses the path src/styles/variables.sass.

Screenshots
variables error

sass file error

@UnityGameDesign-max UnityGameDesign-max changed the title variables.sass NOT FOUND variables.sass Not Found Oct 30, 2022
@UnityGameDesign-max
Copy link
Author

@rehrumesh could you please help me out.

@melencholicmice
Copy link

melencholicmice commented Nov 11, 2022

@UnityGameDesign-max The error is coming because you either dont have variables.sass file or its empty. To resolve it you have to make a variables.sass in src/styles
that file will require you to define some variables to use them , for now you can give values by your own.
in that file you have to define following variables

  • $text-color
  • $primary
  • $light-secondary
  • $secondary
  • $dark-grey
  • $grey
  • $light-grey
  • $very-light-grey
  • $red
  • $very-dark-grey
  • $xs-and-less
  • $tiny-and-less
  • $md-and-less
  • $sm
  • $sm-and-less

@UnityGameDesign-max
Copy link
Author

Thank you @melencholicmice :)

@Aryangp
Copy link

Aryangp commented Nov 25, 2022

is this error fixed or still there like if any other person run app does he have to every time add variable.scss file in code manually
if this is happening i would like to contribute to this issue

@DevanshSK
Copy link

@UnityGameDesign-max If the issue is not fixed, I would like to work on this issue. So can you assign this issue to me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants