@taiga-ui/styles 5.32.0 → 5.33.0-canary.26000e7
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.
- package/components/floating-container.less +15 -2
- package/components/icons.less +1 -1
- package/components/switch.less +2 -2
- package/mixins/miscellaneous.less +1 -0
- package/mixins/miscellaneous.scss +1 -0
- package/mixins/theme/palette.less +3 -3
- package/mixins/theme/variables.less +3 -1
- package/package.json +1 -1
- package/taiga-ui-fonts.css +1 -0
- package/taiga-ui-fonts.less +1 -0
- package/taiga-ui-theme.css +1197 -0
- package/theme/appearance/textfield.less +5 -3
|
@@ -34,6 +34,11 @@
|
|
|
34
34
|
font: var(--tui-typography-ui-s);
|
|
35
35
|
color: var(--tui-text-secondary);
|
|
36
36
|
|
|
37
|
+
// TODO: remove attribute in 6.0
|
|
38
|
+
tui-dropdown[tuiDropdownMobile] & {
|
|
39
|
+
display: none;
|
|
40
|
+
}
|
|
41
|
+
|
|
37
42
|
&.tui-enter,
|
|
38
43
|
&.tui-leave {
|
|
39
44
|
animation-name: tuiSlide;
|
|
@@ -63,8 +68,12 @@
|
|
|
63
68
|
z-index: -1;
|
|
64
69
|
inset-inline-start: -1rem;
|
|
65
70
|
inset-inline-end: -1rem;
|
|
66
|
-
|
|
67
|
-
|
|
71
|
+
border-image: linear-gradient(
|
|
72
|
+
to bottom,
|
|
73
|
+
transparent,
|
|
74
|
+
var(--t-background, var(--tui-background-elevation-1)) 2.5rem
|
|
75
|
+
)
|
|
76
|
+
fill 0 /0 / 0 0 100vh;
|
|
68
77
|
}
|
|
69
78
|
}
|
|
70
79
|
|
|
@@ -72,3 +81,7 @@ tui-sheet-dialog [tuiFloatingContainer]:where(*&) {
|
|
|
72
81
|
margin-block-end: ~'calc(-1* max(1.5rem, env(safe-area-inset-bottom)))';
|
|
73
82
|
animation-timing-function: cubic-bezier(0.1, 0.8, 0.5, 1);
|
|
74
83
|
}
|
|
84
|
+
|
|
85
|
+
tui-dialog[data-appearance~='fullscreen'] [tuiFloatingContainer]:where(*&) {
|
|
86
|
+
margin-block-end: ~'calc(-1* max(1rem, env(safe-area-inset-bottom)))';
|
|
87
|
+
}
|
package/components/icons.less
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--t-icon-start: none;
|
|
22
22
|
--t-icon-end: none;
|
|
23
23
|
// Equals to 1 if the font offset is over 10px (150% OS scaling)
|
|
24
|
-
--t-zoom: ~'
|
|
24
|
+
--t-zoom: ~'clamp(0, (var(--tui-font-scale-factor, 1) - 1.4999) * 10000, 1)';
|
|
25
25
|
|
|
26
26
|
&::before,
|
|
27
27
|
&::after {
|
package/components/switch.less
CHANGED
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
&::after {
|
|
46
46
|
block-size: 0.375rem;
|
|
47
47
|
inline-size: 0.375rem;
|
|
48
|
-
inset-inline-end:
|
|
49
|
-
inset-block-start:
|
|
48
|
+
inset-inline-end: 0.3125rem;
|
|
49
|
+
inset-block-start: 0.3125rem;
|
|
50
50
|
box-shadow: calc(var(--tui-inline) * -1rem) 0 0 0.1875rem var(--tui-background-base);
|
|
51
51
|
outline-width: 1px;
|
|
52
52
|
}
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
--tui-text-primary: rgba(255, 255, 255, 1);
|
|
38
38
|
--tui-text-secondary: rgba(255, 255, 255, 0.72);
|
|
39
39
|
--tui-text-tertiary: rgba(255, 255, 255, 0.6);
|
|
40
|
-
--tui-text-action: #
|
|
40
|
+
--tui-text-action: #7693ff;
|
|
41
41
|
--tui-text-action-hover: #526ed3;
|
|
42
42
|
--tui-text-positive: #44c596;
|
|
43
43
|
--tui-text-positive-hover: #3aa981;
|
|
@@ -94,11 +94,11 @@
|
|
|
94
94
|
--tui-text-tertiary: rgba(27, 31, 59, 0.4);
|
|
95
95
|
--tui-text-primary-on-accent-1: #fff;
|
|
96
96
|
--tui-text-primary-on-accent-2: #fff;
|
|
97
|
-
--tui-text-action: #
|
|
97
|
+
--tui-text-action: #4c65c2;
|
|
98
98
|
--tui-text-action-hover: #6c86e2;
|
|
99
99
|
--tui-text-positive: #008764;
|
|
100
100
|
--tui-text-positive-hover: #7ac5aa;
|
|
101
|
-
--tui-text-negative: #
|
|
101
|
+
--tui-text-negative: #e01600;
|
|
102
102
|
--tui-text-negative-hover: #ff4d4d;
|
|
103
103
|
// Charts
|
|
104
104
|
--tui-chart-categorical-00: var(--tui-background-accent-1);
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
--tui-typography-family-text: 'Manrope', system-ui, sans-serif;
|
|
4
4
|
--tui-typography-family-display: 'Manrope', system-ui, sans-serif;
|
|
5
5
|
--tui-font-offset: calc(var(--t-font-offset, 0) * 1px);
|
|
6
|
-
--tui-font-scale: calc((22 + var(--t-font-offset, 0)) / 22);
|
|
6
|
+
--tui-font-scale-factor: calc((22 + var(--t-font-offset, 0)) / 22);
|
|
7
|
+
// @deprecated TODO: remove in v6
|
|
8
|
+
--tui-font-scale: var(--tui-font-scale-factor);
|
|
7
9
|
// Heading
|
|
8
10
|
--tui-typography-heading-h1: bold calc(var(--tui-font-offset) + 3.125rem) / calc(56 / 50) var(--tui-typography-family-display);
|
|
9
11
|
--tui-typography-heading-h2: bold calc(var(--tui-font-offset) + 2.75rem) / calc(48 / 44) var(--tui-typography-family-display);
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import 'https://fonts.googleapis.com/css2?family=Manrope:wght@500;800&display=swap';
|
package/taiga-ui-fonts.less
CHANGED