Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Root Folder

Info

File path: dashboard > src > assets

Convertr uses SASS as our CSS pre-processor language. All CSS files are located within the above file path within the 'styles' folder.

Theme Files

Info

File path: dashboard > src > assets > themes

...

This structure of theme and component files allows separate visuals between specific enterprises, whilst still sharing common .scss files for UI component. 

Why global styles over component level CSS?

The 'themes' section above explains that global .scss files are used within the platform, which means that we currently do not utilise component level styles. This is our current approach because components frequently share common UI features, where the structure is dictated by our current theming file structure hierarchy solution (explained above). To implement component level styling would require a much more complex structure involving a convoluted import system, however, in the future this may change.