Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in / Register
Toggle navigation
K
kpp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alexandr Veselov
kpp
Commits
7401d697
Commit
7401d697
authored
Oct 28, 2017
by
Nikolay Gromov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Рефакторинг
parent
9131b1f5
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
functions.scss
src/scss/functions.scss
+2
-0
readme.md
src/scss/readme.md
+1
-1
variables.scss
src/scss/variables.scss
+1
-1
No files found.
src/scss/functions.scss
View file @
7401d697
...
@@ -7,6 +7,8 @@
...
@@ -7,6 +7,8 @@
* @return {string} Результат преобразования $px в em на основе $font-size
* @return {string} Результат преобразования $px в em на основе $font-size
*/
*/
$font-size
:
14px
!
default
;
@function
px-to-em
(
$px
,
$font-size
:
$font-size
)
{
@function
px-to-em
(
$px
,
$font-size
:
$font-size
)
{
@return
((
$px
*
100
/
(
$font-size
/
1px
))
/
100
)
*
1em
;
@return
((
$px
*
100
/
(
$font-size
/
1px
))
/
100
)
*
1em
;
}
}
src/scss/readme.md
View file @
7401d697
`style.scss`
генерируется автоматически, не пишите туда ничего.
`style.scss`
генерируется автоматически, не пишите туда ничего.
Прочие файлы игнорируются, если не упомянуты в
`./p
ackage
.json`
(см.
`./README.md`
).
Прочие файлы игнорируются, если не упомянуты в
`./p
rojectConfig
.json`
(см.
`./README.md`
).
src/scss/variables.scss
View file @
7401d697
//
/
Базовые цвета https://colorscheme.ru/color-converter.html
// Базовые цвета https://colorscheme.ru/color-converter.html
$black
:
hsl
(
0
,
0%
,
0%
);
$black
:
hsl
(
0
,
0%
,
0%
);
$gray-darkest
:
hsl
(
0
,
0%
,
10%
);
$gray-darkest
:
hsl
(
0
,
0%
,
10%
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment