Spectre is a lightweight, responsive, and modern CSS framework, which provides the extensible with faster development. It facilitates the responsive layout system based on the flex-box property, along with providing the basic elements & typography styling.
To use Spectre, better to have minimum knowledge about folder structure. We are not recommending that you remember every file's destination, but there are a few files that will play the main role in the Spectre. If we can manipulate those files then we can customize the Spectre as well. Like Scss, Less files are the lead files here. We can put our self-designed images as an icon into the icon file.
The compiled and minified Spectre CSS files are available for download from the official site.
Spectre CSS Folder Structure: This structure will give you a basic idea of where to look for any particular file.
spectre/
├── dist/ // Build folder
│ ├── spectre-exp.css
│ ├── spectre-exp.min.css
│ ├── spectre-icons.css
│ ├── spectre-icons.min.css
│ ├── spectre.css
│ └── spectre.min.css
│
├── docs/
│ ├── dist/ // Pre-built CSS folder
│ │ ├── spectre-exp.css
│ │ ├── spectre-exp.min.css
│ │ ├── spectre-icons.css
│ │ ├── spectre-icons.min.css
│ │ ├── spectre.css
│ │ └── spectre.min.css
| ├── css/ // Docs CSS files
│ │ └── docs.css
| ├── src/
│ │ ├── scss // Docs Sass files
│ │ │ └── docs.scss
│ │ ├── index.pug // Docs Pug files
│ │ └── ...
│ ├── examples/ // Example template
│ │ └── starter.html
│ ├── ../
│ ├── index.html
│ └── ...
│
├── src/ // Source Sass files
│ ├── spectre.scss
│ ├── spectre-icons.scss
│ ├── spectre-exp.scss
│ ├── _mixins.scss
│ ├── _variables.scss
│ └── ...
│
├── gulpfile.js
├── package.json
└── ...
Folder Structure:
Folder StructureExample: This example describes the Spectre folder structure by importing the compiled and minified Spectre CSS file from a local machine.
HTML
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet"
href="spectre.css/dist/spectre.min.css">
<link rel="stylesheet"
href="spectre.css/dist/spectre-exp.min.css">
<link rel="stylesheet"
href="spectre.css/dist/spectre-icons.min.css">
</head>
<body>
<center>
<h1 class="text-success">GeeksforGeeks</h1>
<strong>SPECTRE Folder Structure Sample</strong>
<br><br>
<pre class="code" data-lang="HTML">
<h3>Learning Web Development</h3>
<code>A Computer Science portal for Geeks</code>
</pre>
</center>
</body>
</html>
Output:
Spectre Folder Structure
Note: This code won't run on ide, as the source file of the spectre is imported from a local machine.
Reference: https://picturepan2.github.io/spectre/getting-started/custom.html#folders
Similar Reads
Folder Structure of Angular Project Creation and Organization of an Angular Project in a well-planned manner is very important for readability, scalability, and manageability. A clear structure helps in managing code, configurations, modules and services effectively. In this article, we are going to have a clear understanding of the f
4 min read
Folder structure for a Node JS project Organizing a Node JS project with well planned folder structure is crucial for readability, scalability, and maintainability. A clear structure helps in managing code, configurations, modules, and other assets effectively. In this article, we are going to learn the folder structure of the Node JS pr
5 min read
Laravel | Directory Structure When you will create your fresh Laravel application, it will contain a large number of folders as shown in image below: Each of these folders fulfills a specific task for the overall functioning of the framework. The purpose of each of these folders is explained below but before that let's look at e
4 min read
Laravel | Directory Structure When you will create your fresh Laravel application, it will contain a large number of folders as shown in image below: Each of these folders fulfills a specific task for the overall functioning of the framework. The purpose of each of these folders is explained below but before that let's look at e
4 min read
Explain CodeIgniter folder structure CodeIgniter is an Application Development Framework to build websites using PHP. It is used to minimize the code while developing an application and developed as much fast. The folder structure is an important part of CodeIgniter. It is important to understand the file structure in CodeIgniter to de
3 min read
Describe the MVC structure used by CodeIgniter Models, Views, and Controllers (MVC) patterns are used by CodeIgniter to organized the files. This helps us to maintain the data, the presentation, and flow through the application. To make things more clear we can understand with their basic definition - Models manage the data of the application an
4 min read