fix: Правки stylelint для файлов стилей

This commit is contained in:
Ilia Mashkov
2025-11-19 20:34:37 +03:00
parent 6b6e1386fa
commit 5e8a6128ed
4 changed files with 13 additions and 11 deletions

View File

@@ -1 +1 @@
@import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap'); @import 'https://fonts.googleapis.com/css2?family=PT+Sans:wght@400;700&display=swap';

View File

@@ -1,3 +1,3 @@
@import './fonts.scss'; @import './fonts';
@import './variables.scss'; @import './variables';
@import './reset.scss'; @import './reset';

View File

@@ -5,23 +5,27 @@
} }
body { body {
font-family: var(--font-family-main);
color: var(--color-text); color: var(--color-text);
font-family: var(--font-family-main);
background-color: var(--color-bg); background-color: var(--color-bg);
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }
button { button {
border: none;
background: none;
font-family: inherit; font-family: inherit;
border: none;
background: none;
cursor: pointer; cursor: pointer;
} }
a { a {
text-decoration: none;
color: inherit; color: inherit;
text-decoration: none;
} }
ul, ul,

View File

@@ -4,7 +4,7 @@
--color-accent: #EF5DA8; --color-accent: #EF5DA8;
--color-text: #42567A; --color-text: #42567A;
--color-bg: #F4F5F9; --color-bg: #F4F5F9;
--color-border: rgba(66, 86, 122, 0.1); --color-border: rgb(66 86 122 / 10%);
--color-blue: #3877EE; --color-blue: #3877EE;
// Градиенты // Градиенты
@@ -12,13 +12,11 @@
// Типографика // Типографика
--font-family-main: 'PT Sans', sans-serif; --font-family-main: 'PT Sans', sans-serif;
--font-size-h1: 56px; --font-size-h1: 56px;
--font-size-h2: 32px; --font-size-h2: 32px;
--font-size-h3: 20px; --font-size-h3: 20px;
--font-size-body: 16px; --font-size-body: 16px;
--font-size-small: 14px; --font-size-small: 14px;
--line-height-h1: 120%; --line-height-h1: 120%;
--line-height-body: 150%; --line-height-body: 150%;
} }