usebedrock / bedrock

Bedrock is a static site generator to create large-scale HTML prototypes and document design systems
https://bedrockapp.org
Other
206 stars 28 forks source link

It should be safe to delete the CSS folder you don't need in /content #378

Open Wolfr opened 3 years ago

Wolfr commented 3 years ago

“In the content area you will find two folders: postcss and sccs. The one you will use depends on your preference in your configuration. It should be safe to delete the folder you don't need.”

Test this.

Wolfr commented 3 years ago

So when you would use postcss, it is actually not possible to delete the scss folder entirely. You need to keep _br-variables-override.scss because the core folder depends on it.

This file is used to customize the styles in Bedrock's styleguide.

This leads to a situation where someone might be confused by having two types of CSS folders in content:

.
├── data
├── docs
├── fonts
├── icon-font-source
├── icons
├── images
├── js
├── postcss
├── scss
└── templates

Ideally you only want the folder from the CSS technique you use.

I guess by now people might also be confused what a tailwind.config.js is doing in the root of the project when they don't use tailwind at all.

A project scaffolding wizard which generates certain files might be an answer, but that's complex to implement and maintain .