Search
Write a publication
Pull to refresh

Frontend

Show first
Rating limit
Level of difficulty

How to add any CSS framework to your project — Part 2

Level of difficultyEasy
Reading time4 min
Views1.1K

Typically, I use the following structure for global styles in any project. This setup allows for a highly flexible, easy-to-read, and maintainable style system, which is crucial for large projects that may last several months or even years.

Let’s review each of these folders:

Common: contains typography styles, imported fonts, icons, and core styles used across the project, such as container.scss or helpers.scss.

Read more

How to add any CSS framework to your project — Part 1

Level of difficultyEasy
Reading time3 min
Views3.6K

There are several ways to integrate a CSS library into your project. By “CSS library,” I mean any modern CSS framework or UI library, such as Bootstrap, NG-Zorro, PrimeNG, etc. While all these methods work, many do not offer great flexibility or support deep customization of the chosen framework.

To build a robust foundation for your design system and ensure easy future customization, it’s best to use the source code styles (SASS or LESS files) instead of the minified version. This approach provides a more convenient workflow, reduces unnecessary code, and increases flexibility.

Read more