@taiga-ui/design-tokens 0.308.0 → 0.310.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,7 @@
1
1
  &:root,
2
2
  &:host,
3
3
  [tuiTheme='light'] {
4
+ color-scheme: light;
4
5
  --tui-background-base: var(--tui-const-white); // Основной фон приложений. Отличается на iOS, Android и Desktop
5
6
  --tui-background-base-alt: var(--tui-const-cool-gray-lighter-97); // Альтернативный основной фон, в тёмной теме в вебе равен base
6
7
  --tui-background-elevation-1: var(--tui-const-white); // Фон шторок, модальных экранов и карточек, лежащих на фоне base
@@ -651,6 +652,7 @@
651
652
  }
652
653
 
653
654
  [tuiTheme='dark'] {
655
+ color-scheme: dark;
654
656
  --tui-background-base: var(--tui-const-black-lighter-13); // Основной фон приложений. Отличается на iOS, Android и Desktop
655
657
  --tui-background-base-alt: var(--tui-const-black-lighter-13); // Альтернативный основной фон, в тёмной теме в вебе равен base
656
658
  --tui-background-elevation-1: var(--tui-const-black-lighter-16); // Фон шторок, модальных экранов и карточек, лежащих на фоне base
@@ -0,0 +1,13 @@
1
+ .tui-animation() {
2
+ --tui-duration: 300ms;
3
+ --tui-curve-expressive-standard: cubic-bezier(0.4, 0.1, 0.2, 1);
4
+ --tui-curve-expressive-entrance: cubic-bezier(0.35, 1.3, 0.25, 1);
5
+ --tui-curve-expressive-exit: cubic-bezier(0.4, 0, 1, 1);
6
+ --tui-curve-productive-standard: cubic-bezier(0.2, 0, 0.4, 0.9);
7
+ --tui-curve-productive-entrance: cubic-bezier(0, 0, 0.4, 0.9);
8
+ --tui-curve-productive-exit: cubic-bezier(0.2, 0, 1, 1);
9
+ --tui-duration-slowest: calc(var(--tui-duration) / 0.429);
10
+ --tui-duration-slow: calc(var(--tui-duration) / 0.6);
11
+ --tui-duration-fast: calc(var(--tui-duration) / 2);
12
+ --tui-duration-fastest: calc(var(--tui-duration) / 4);
13
+ }