Skip to content

Commit eba49af

Browse files
Revert index.scss to styles.scss
Co-authored-by: Nikolai Shabalin <dev.nikolai.shabalin@gmail.com>
1 parent c3c2d59 commit eba49af

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
│ │ │ ├── fonts.scss # Подключение шрифтов к проекту
8181
│ │ │ ├── global.scss # Глобальные стили, которые касаются всего проекта
8282
│ │ │ └── variables.scss # Переменные для всего проекта
83-
│ │ └── index.scss # Основной стилевой файл с импортами всех остальных
83+
│ │ └── styles.scss # Основной стилевой файл с импортами всех остальных
8484
│ ├── vendor # Папка для сторонних бибилотек
8585
│ └── index.html # HTML-файл для главной страницы
8686
├── .editorconfig # Настройки форматирования текстовых файлов
@@ -143,10 +143,10 @@
143143
│ ├── fonts.scss
144144
│ ├── global.scss
145145
│ └── variables.scss
146-
└── index.scss
146+
└── styles.scss
147147
```
148148

149-
Все БЭМ-блоки и остальные препроцессорные файлы подключайте в `source/styles/index.scss`.
149+
Все БЭМ-блоки и остальные препроцессорные файлы подключайте в `source/styles/styles.scss`.
150150

151151
```scss
152152
/* GLOBAL */
@@ -160,12 +160,12 @@
160160

161161
БЭМ-блоки импортируйте в секцию `/* BLOCKS */`.
162162

163-
Все препроцессорные файлы сборка обработает и превратит в `index.css`. Файл `index.css` сборка перенесёт в
163+
Все препроцессорные файлы сборка обработает и превратит в `styles.css`. Файл `styles.css` сборка перенесёт в
164164

165165
```shell
166166
└── build/
167167
└── styles/
168-
└── index.css
168+
└── styles.css
169169
```
170170

171171
## Работа с графикой

source/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<meta charset="UTF-8">
55
<title>Название проекта</title>
66
<meta name="viewport" content="width=device-width,initial-scale=1">
7-
<link rel="stylesheet" href="styles/index.css">
7+
<link rel="stylesheet" href="styles/styles.css">
88
<script src="scripts/index.js" defer></script>
99
</head>
1010
<body class="page__body">

0 commit comments

Comments
 (0)