Commit dc5885f5 authored by Nikolay Gromov's avatar Nikolay Gromov

Формирование списка CSS-импортов

parent 9a13f36d
This diff is collapsed.
{
"name": "NTH-start-project",
"version": "1.1.0",
"version": "2.0.0",
"description": "Start a library of blocks and technical solutions for HTML/CSS/js page layout.",
"author": "Nikolay Gromov",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nicothin/NTH-start-project.git"
},
"configProject": {
"blocks": {
"page-header": [],
"page-footer": [
"__inner",
"--some-mod"
]
},
"dirs": {
"srcPath": "./src/",
"buildPath": "./build/",
"blocksDirName": "blocks"
}
},
"scripts": {
"test": "stylelint \"src/**/*.less\"",
"start": "gulp",
......@@ -9,49 +29,11 @@
"build": "cross-env NODE_ENV=production npm start build",
"precommit": "npm test"
},
"author": "Nikolay Gromov",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/nicothin/NTH-start-project.git"
},
"devDependencies": {
"autoprefixer": "^6.3.3",
"browser-sync": "^2.11.1",
"cross-env": "^3.1.4",
"css-mqpacker": "^5.0.1",
"del": "^2.2.0",
"gulp": "github:gulpjs/gulp#4.0",
"gulp-cheerio": "^0.6.2",
"gulp-cleancss": "^0.2.2",
"gulp-concat": "^2.6.0",
"gulp-debug": "^3.0.0",
"gulp-file-include": "^1.0.0",
"gulp-gh-pages": "^0.5.4",
"gulp-if": "^2.0.0",
"gulp-imagemin": "^3.1.1",
"gulp-less": "^3.1.0",
"gulp-newer": "^1.1.0",
"gulp-notify": "^3.0.0",
"gulp-postcss": "^6.1.0",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.4",
"gulp-size": "^2.1.0",
"gulp-sourcemaps": "^2.4.1",
"gulp-svgmin": "^1.2.1",
"gulp-svgstore": "^6.1.0",
"gulp-uglify": "^2.0.1",
"husky": "^0.13.1",
"imagemin-pngquant": "^5.0.0",
"mkdirp": "^0.5.1",
"stylelint": "^7.1.0",
"stylelint-declaration-use-variable": "^1.5.0"
},
"config": {
"ghPages": "http://nicothin.github.io/NTH-start-project/index.html",
"directories": {
"source": "./src",
"build": "./build"
}
"del": "^2.2.2",
"gulp": "^3.9.1",
"gulp-postcss": "^6.3.0",
"gulp-sequence": "^0.4.6",
"postcss-media-variables": "^2.0.0"
}
}
/**
* ВНИМАНИЕ!
* Список подключений из папки блоков при старте автоматизации сверяется со
* списком используемых блоков в ./package.json и если там указаны какие-либо
* блоки, отсутствующие здесь, их импорты будут добавлены в нижней части файла.
*/
@import url(variables.css);
@import url(some-block-TESE.css);
/* @import url(global.css); */
@import url(../blocks/page-header/page-header.css);
@import url(../blocks/btn/btn.css);
:root {
/* Базовые цвета https://colorscheme.ru/color-converter.html */
--black: hsl(0, 0%, 0%);
--gray-darkest: hsl(0, 0%, 10%);
--gray-darker: hsl(0, 0%, 20%);
--gray-darken: hsl(0, 0%, 30%);
--gray-dark: hsl(0, 0%, 40%);
--gray: hsl(0, 0%, 50%);
--gray-light: hsl(0, 0%, 60%);
--gray-lighten: hsl(0, 0%, 70%);
--gray-lighter: hsl(0, 0%, 80%);
--gray-lightest: hsl(0, 0%, 90%);
--white: hsl(0, 0%, 100%);
--color-main: hsl(208, 98%, 43%);
--color-success: hsl(120, 39%, 54%);
--color-danger: hsl(2, 64%, 58%);
/* Семантические цвета */
--text-color: var(--gray-darkest, hsl(0, 0%, 10%));
--text-color--muted: var(--gray, hsl(0, 0%, 50%));
--body-bg: var(--white, #fff);
--link-color: var(--color-main, hsl(208, 98%, 43%));
--link-color--hover: var(--color-main, hsl(208, 98%, 43%));
--border-color: var(--gray-light, hsl(0, 0%, 60%));
/* Базовая типографика */
--font-size: 14px;
--font-size--h1: 2.25em;
--font-size--h2: 1.875em;
--font-size--h3: 1.5em;
--font-size--h4: 1.25em;
--font-size--h5: 1em;
--font-size--h6: 1em;
--font-size--small: 0.75em;
--line-height: 1.375em;
--font-family: -apple-system, BlinkMacSystemFont, 'Roboto', 'Ubuntu', 'Droid Sans', 'Helvetica Neue', 'Arial', sans-serif;
--font-family--serif: 'Georgia', 'Times New Roman', 'Times', serif;
--font-family--monospace: 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
--font-family--headings: var(--font-family, inherit);
/* Breakepoints и @media */
--screen-sm: 600px;
@custom-media --screen-sm (min-width: var(--screen-sm));
@custom-media --screen-sm-2-md (min-width: var(--screen-sm)) and (max-width: calc(var(--screen-sm) - 1));
@custom-media --screen-before-sm (max-width: calc(var(--screen-sm) - 1));
/* --screen-md: 900px; */
/* @custom-media --screen-md (min-width: 900px); */
/* @custom-media --screen-md-max (max-width: 899px); */
/* --screen-lg: 1200px; */
/* @custom-media --screen-lg (min-width: 1200px); */
/* @custom-media --screen-lg-max (max-width: 1199px); */
/* --screen-xl: 1800px; */
/* @custom-media --screen-xl (min-width: 1800px); */
/* @custom-media --screen-xl-max (max-width: 1799px); */
}
/*
// Модульная сетка
@grid-columns: 12;
@grid-gutter-width: 30px;
// Ширины
@screen-xs: 0;
@screen-sm: 480px;
@screen-md: 768px;
@screen-lg: 992px;
@screen-xl: 1200px;
@screen-xxl: 1800px;
@container-sm: 100%;
@container-md: 100%;
@container-lg: @screen-lg - 30;
@container-xl: @screen-xl - 30;
@container-xxl: @screen-xxl - 30;
// Z-index
@z-index-dropdown: 10;
// Формы, кнопки
@field-padding-top: 0.313em;
@field-padding-bottom: 0.313em;
@field-padding-horizontal: 0.438em;
// Разное
@border-radius: 3px;
@opacity: 0.7;
@transition-time: 0.3s;
@shadow: 0 4px 2px -2px rgba(0, 0, 0, 0.3);
*/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment