Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions packages/core/src/sass/css/styles/_index.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
@forward 'variables';
@forward 'generic';
@forward 'animation';
67 changes: 67 additions & 0 deletions packages/core/src/sass/css/styles/animation.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
@keyframes spin {
from {
transform: rotate(0deg);
}

to {
transform: rotate(360deg);
}
}

@keyframes notify {
0%,
70% {
transform: scale(1);
opacity: 1;
}

100% {
transform: scale(1.8);
opacity: 0;
}
}

@keyframes beat {
0%,
100% {
opacity: 1;
}

25% {
opacity: 0.6;
}

50% {
opacity: 1;
}

75% {
opacity: 0.5;
}
}

@keyframes breath {
0%,
100% {
transform: scale(1);
opacity: 1;
}

50% {
transform: scale(0.95);
opacity: 0.5;
}
}

@keyframes bounce {
0%,
100% {
transform: translateY(-25%) scale(1);
animation-timing-function: cubic-bezier(0.7, 0, 0.85, 0.6);
}

50% {
transform: translateY(0) scale(1.05, 0.95);
animation-timing-function: cubic-bezier(0.15, 0, 0.3, 1);
}
}
20 changes: 20 additions & 0 deletions packages/core/src/sass/tools/settings/common/_utils.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1642,6 +1642,19 @@ $utils-db: (
'': none,
),
),
'Fds': (

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Правильное сокращение тут будет Fils. По алгоритму нельзя перескакивать через буквы

'properties': field-sizing,
'keywords': (
'': content,
'c': content,
'f': fixed,
'ih': inherit,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Дефолтные ключевые слова CSS и так работают для всех утилит (во всех стандартных типах конвертации)

'ini': initial,
'rvr': revert,
'rvrl': revert-layer,
'ust': unset
),
),
'Acnc': (
'properties': accent-color,
'conversion': 'color',
Expand Down Expand Up @@ -1953,6 +1966,13 @@ $utils-db: (
'infinite': (
'i': infinite,
),
'animation': (
'mSp': spin 1.5s ease infinite,
'mNf': notify 1.5s ease infinite,
'mBt': beat 4s cubic-bezier(0.37, 0, 0.63, 1) infinite,
'mBr': breath 2s ease-in-out infinite,
'mBn': bounce 1s infinite
),
'font-size': (
'sl': smaller,
// so as not to occupy `lg`
Expand Down
Loading