@stream-io/video-styling 2.0.0-beta.0 → 2.0.0-beta.1

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.
Files changed (90) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/css/embedded.css +2592 -1498
  3. package/dist/css/embedded.css.map +1 -1
  4. package/dist/css/styles.css +2388 -1222
  5. package/dist/css/styles.css.map +1 -1
  6. package/index.scss +4 -2
  7. package/package.json +1 -1
  8. package/project.json +1 -1
  9. package/src/AudioBlockedNotification/AudioBlockedNotification-layout.scss +9 -9
  10. package/src/AudioBlockedNotification/AudioBlockedNotification-theme.scss +6 -11
  11. package/src/Avatar/Avatar-layout.scss +21 -5
  12. package/src/Avatar/Avatar-theme.scss +33 -9
  13. package/src/Badge/Badge-layout.scss +52 -0
  14. package/src/Badge/Badge-theme.scss +39 -0
  15. package/src/Badge/index.scss +2 -0
  16. package/src/Button/Button-layout.scss +62 -89
  17. package/src/Button/Button-theme.scss +79 -144
  18. package/src/Button/CompositeButton.scss +125 -0
  19. package/src/Button/index.scss +1 -0
  20. package/src/CallControls/CallControls-layout.scss +27 -63
  21. package/src/CallControls/CancelCallButton.scss +39 -85
  22. package/src/CallLayout/LivestreamLayout-layout.scss +80 -77
  23. package/src/CallLayout/LivestreamLayout-theme.scss +23 -0
  24. package/src/CallLayout/PaginatedGridLayout-layout.scss +8 -8
  25. package/src/CallLayout/PipLayout-layout.scss +26 -20
  26. package/src/CallLayout/PipLayout-theme.scss +2 -1
  27. package/src/CallLayout/SpeakerLayout-layout.scss +13 -13
  28. package/src/CallLayout/index.scss +1 -0
  29. package/src/CallParticipantList/CallParticiantListingItem-layout.scss +6 -8
  30. package/src/CallParticipantList/CallParticiantListingItem-theme.scss +19 -17
  31. package/src/CallParticipantList/CallParticipantList-layout.scss +25 -19
  32. package/src/CallRecodingList/CallRecordingList-layout.scss +46 -27
  33. package/src/CallRecodingList/CallRecordingList-theme.scss +25 -37
  34. package/src/DeviceSettings/DeviceSettings-layout.scss +154 -69
  35. package/src/DropdownSelect/DropdownSelect.scss +62 -52
  36. package/src/Embedded/_base.scss +2 -2
  37. package/src/Embedded/call/CallLayout-layout.scss +22 -12
  38. package/src/Embedded/call/CallLayout-theme.scss +2 -2
  39. package/src/Embedded/livestream/Livestream-layout.scss +28 -41
  40. package/src/Embedded/livestream/Livestream-theme.scss +12 -34
  41. package/src/Embedded/shared/BlurToggleButton/BlurToggleButton-layout.scss +8 -20
  42. package/src/Embedded/shared/BlurToggleButton/BlurToggleButton-theme.scss +1 -19
  43. package/src/Embedded/shared/CallControls/CallControls-layout.scss +10 -11
  44. package/src/Embedded/shared/CallControls/CallControls-theme.scss +5 -7
  45. package/src/Embedded/shared/ConnectionNotification/ConnectionNotification-layout.scss +1 -1
  46. package/src/Embedded/shared/EmbeddedParticipantViewUI/EmbeddedParticipantViewUI.scss +2 -2
  47. package/src/Embedded/shared/ErrorScreen/ErrorScreen-layout.scss +3 -3
  48. package/src/Embedded/shared/Feedback/CallFeedback-layout.scss +21 -36
  49. package/src/Embedded/shared/Feedback/CallFeedback-theme.scss +11 -33
  50. package/src/Embedded/shared/Icons.scss +6 -8
  51. package/src/Embedded/shared/JoinError/JoinError-layout.scss +7 -3
  52. package/src/Embedded/shared/JoinError/JoinError-theme.scss +3 -3
  53. package/src/Embedded/shared/LoadingScreen/LoadingScreen-layout.scss +4 -4
  54. package/src/Embedded/shared/Lobby/Lobby-layout.scss +66 -55
  55. package/src/Embedded/shared/Lobby/Lobby-theme.scss +20 -15
  56. package/src/Icon/Icon-layout.scss +3 -2
  57. package/src/Icon/Icon-theme.scss +59 -20
  58. package/src/LoadingIndicator/LoadingIndicator-layout.scss +5 -0
  59. package/src/LoadingIndicator/LoadingIndicator-theme.scss +4 -3
  60. package/src/Menu/GenericMenu-layout.scss +56 -29
  61. package/src/Menu/Menu-theme.scss +3 -3
  62. package/src/Menu/Portal-layout.scss +1 -1
  63. package/src/Notification/Notification-layout.scss +13 -8
  64. package/src/Notification/Notification-theme.scss +8 -14
  65. package/src/ParticipantView/ParticipantView-layout.scss +80 -77
  66. package/src/ParticipantView/ParticipantView-theme.scss +28 -0
  67. package/src/ParticipantView/index.scss +1 -0
  68. package/src/Permissions/Permissions-layout.scss +16 -23
  69. package/src/Reaction/Reaction-layout.scss +3 -3
  70. package/src/RingingCall/RingingCall-layout.scss +8 -7
  71. package/src/RingingCall/RingingCall-theme.scss +17 -16
  72. package/src/ScreenShareOverlay/ScreenShareOverlay-layout.scss +6 -14
  73. package/src/ScreenShareOverlay/ScreenShareOverlay-theme.scss +6 -11
  74. package/src/Search/SearchInput-layout.scss +16 -10
  75. package/src/Search/SearchInput-theme.scss +41 -21
  76. package/src/StreamCall.scss +4 -4
  77. package/src/Tooltip/Tooltip-layout.scss +11 -3
  78. package/src/Tooltip/Tooltip-theme.scss +8 -25
  79. package/src/Video/Video-theme.scss +1 -1
  80. package/src/Video/VideoPlaceholder-layout.scss +0 -14
  81. package/src/Video/VideoPlaceholder-theme.scss +2 -13
  82. package/src/VideoPreview/VideoPreview-layout.scss +2 -3
  83. package/src/VideoPreview/VideoPreview-theme.scss +22 -15
  84. package/src/_icons.scss +56 -0
  85. package/src/_shadows.scss +13 -0
  86. package/src/_variable-tokens.scss +10 -0
  87. package/src/tokens/generated/dark.scss +167 -0
  88. package/src/tokens/generated/light.scss +853 -0
  89. package/src/CallStats.scss +0 -118
  90. package/src/_global-theme-variables.scss +0 -167
@@ -1,53 +1,80 @@
1
1
  .str-video__generic-menu {
2
2
  list-style: none;
3
3
  margin: unset;
4
- padding: var(--str-video__spacing-md);
4
+ padding: var(--str-video__spacing-xxs) var(--str-video__spacing-none);
5
5
 
6
6
  display: flex;
7
7
  flex-direction: column;
8
- gap: var(--str-video__spacing-xs);
8
+ gap: var(--str-video__spacing-xxxs);
9
+ min-inline-size: 224px;
9
10
 
10
11
  .str-video__generic-menu--item {
12
+ display: flex;
11
13
  align-items: center;
14
+ padding-inline: var(--str-video__spacing-xxs);
12
15
 
13
- gap: 8px;
14
-
15
- font-weight: 600;
16
- font-size: var(--str-video__font-size-md);
17
-
18
- display: flex;
19
16
  button {
20
17
  all: unset;
18
+ box-sizing: border-box;
19
+
21
20
  width: 100%;
22
- font-size: 13px;
23
- border-radius: var(--str-video__border-radius-lg);
24
- background-color: var(--str-video__button-primary-base);
25
- padding: var(--str-video__spacing-xs) var(--str-video__spacing-lg);
26
- gap: 10px;
21
+ min-height: 32px;
27
22
  display: flex;
28
23
  align-items: center;
29
- position: relative;
24
+ gap: var(--str-video__spacing-xs);
25
+ padding-inline: var(--str-video__spacing-xs);
26
+ border-radius: var(--str-video__radius-md);
30
27
 
31
- &:hover {
32
- background-color: var(--str-video__button-default-hover);
28
+ color: var(--str-video__text-primary);
29
+ font-size: var(--str-video__typography-font-size-sm);
30
+ font-weight: var(--str-video__typography-font-weight-semi-bold);
31
+ line-height: var(--str-video__typography-line-height-normal);
32
+
33
+ .str-video__icon {
34
+ background-color: var(--str-video__text-secondary);
35
+ }
36
+
37
+ &:hover:not(:disabled) {
38
+ background-color: var(--str-video__background-utility-hover);
33
39
  cursor: pointer;
34
40
  }
35
41
 
36
- &--selected,
37
- &--active {
38
- background-color: var(--str-video__button-primary-hover);
42
+ &:active:not(:disabled) {
43
+ background-color: var(--str-video__background-utility-pressed);
39
44
  }
40
- }
41
45
 
42
- // TODO: remove once "device selector" component becomes reusable
43
- button[aria-selected] {
44
- padding: 5px 10px 5px 26px;
45
- }
46
- button[aria-selected='true']::after {
47
- content: '●';
48
- font-size: 10px;
49
- left: 10px;
50
- position: absolute;
46
+ &:not(:disabled):focus-visible {
47
+ outline: var(--str-video__w200) solid
48
+ var(--str-video__border-utility-focused);
49
+ outline-offset: calc(var(--str-video__w200) * -1);
50
+ }
51
+
52
+ &:disabled {
53
+ color: var(--str-video__text-disabled);
54
+
55
+ .str-video__icon {
56
+ background-color: var(--str-video__text-disabled);
57
+ }
58
+ }
59
+
60
+ &[aria-current='true'],
61
+ &[aria-selected='true'] {
62
+ background-color: var(--str-video__background-utility-selected);
63
+ }
51
64
  }
52
65
  }
53
66
  }
67
+
68
+ .str-video__generic-menu--separator {
69
+ margin: var(--str-video__spacing-xxs) 0 3px;
70
+ border-block-start: var(--str-video__w100) solid
71
+ var(--str-video__border-core-default);
72
+ }
73
+
74
+ .str-video__generic-menu--separator:first-child,
75
+ .str-video__generic-menu--separator + .str-video__generic-menu--separator,
76
+ .str-video__generic-menu--separator:not(
77
+ :has(~ .str-video__generic-menu--item)
78
+ ) {
79
+ display: none;
80
+ }
@@ -1,5 +1,5 @@
1
1
  .str-video__menu-container {
2
- background-color: var(--str-video__base-color6);
3
- border-radius: var(--str-video__border-radius-lg);
4
- box-shadow: 0 0 24px -4px rgba(0, 0, 0, 0.64);
2
+ background-color: var(--str-video__background-core-elevation-2);
3
+ border-radius: var(--str-video__radius-lg);
4
+ box-shadow: var(--str-video__box-shadow-3);
5
5
  }
@@ -3,7 +3,7 @@
3
3
  z-index: 1;
4
4
  width: 100vw;
5
5
  height: 100vh;
6
- background-color: var(--str-video__backdrop1);
6
+ background-color: var(--str-video__background-core-overlay-dark);
7
7
 
8
8
  left: 0;
9
9
  top: 0;
@@ -1,13 +1,17 @@
1
1
  .str-video__notification {
2
- padding: 0.625rem;
2
+ min-height: var(--str-video__size-48);
3
+ max-width: var(--str-video__size-480);
3
4
  display: flex;
4
5
  align-items: center;
5
- gap: 0.625rem;
6
+ gap: var(--str-video__spacing-xs);
6
7
 
7
- .str-video__notification__icon {
8
- display: inline-block;
9
- width: 1.5rem;
10
- height: 1.5rem;
8
+ padding-block: var(--str-video__spacing-sm);
9
+ padding-inline: var(--str-video__spacing-md);
10
+
11
+ &--success,
12
+ &--error,
13
+ &--loading {
14
+ padding-inline-start: var(--str-video__spacing-sm);
11
15
  }
12
16
 
13
17
  .str-video__notification__message {
@@ -15,9 +19,10 @@
15
19
  }
16
20
 
17
21
  .str-video__notification__close {
22
+ margin-inline-start: var(--str-video__spacing-xxs);
18
23
  display: inline-block;
19
- width: 1rem;
20
- height: 1rem;
24
+ width: var(--str-video__icon-size-sm);
25
+ height: var(--str-video__icon-size-sm);
21
26
 
22
27
  &:hover {
23
28
  cursor: pointer;
@@ -1,19 +1,13 @@
1
- @use '../utils';
2
-
3
1
  .str-video__notification {
4
- background-color: var(--str-video__background-color1);
5
- border-radius: var(--str-video__border-radius-xs);
2
+ background-color: var(--str-video__background-core-inverse);
3
+ color: var(--str-video__text-on-inverse);
4
+ border-radius: var(--str-video__radius-3xl);
5
+ box-shadow: var(--str-video__box-shadow-3);
6
+ font-size: var(--str-video__typography-font-size-sm);
7
+ line-height: var(--str-video__typography-line-height-normal);
6
8
  z-index: 100;
7
9
 
8
- .str-video__notification__icon {
9
- @include utils.apply-mask-image(
10
- var(--str-video__icon--info-icon),
11
- var(--str-video__text-color1),
12
- 1.5rem
13
- );
14
- }
15
-
16
- .str-video__notification__message {
17
- font-size: 0.75rem;
10
+ > .str-video__icon {
11
+ background-color: var(--str-video__text-on-inverse);
18
12
  }
19
13
  }
@@ -11,59 +11,60 @@ $scope-name: 'str-video__participant-view';
11
11
  display: flex;
12
12
  align-items: center;
13
13
  justify-content: center;
14
- border-radius: var(--str-video__border-radius-sm);
14
+ border-radius: var(--str-video__radius-2xl);
15
15
 
16
16
  &--speaking {
17
- outline: 2px solid var(--str-video__primary-color);
17
+ outline: var(--str-video__w200) solid var(--str-video__accent-primary);
18
18
  }
19
19
 
20
- .str-video__call-controls__button {
21
- transition: opacity 200ms ease-out;
22
- opacity: 0.3;
23
- color: var(--str-video__text-color1);
24
- }
25
-
26
- &:hover {
27
- .str-video__call-controls__button {
28
- opacity: 1;
29
- }
30
- }
31
-
32
- & > .str-video__call-controls__button {
20
+ .str-video__participant-view__menu-button {
33
21
  position: absolute;
34
- top: 0.875rem;
35
- left: 0.875rem;
36
- padding: 0.3rem;
22
+ top: var(--str-video__space-8);
23
+ left: var(--str-video__space-8);
37
24
  }
38
25
 
39
26
  .str-video__participant-details {
40
27
  position: absolute;
41
- left: 0;
42
- bottom: 0;
28
+ inset: auto auto var(--str-video__space-8) var(--str-video__space-8);
29
+ min-block-size: var(--str-video__size-32);
30
+ max-inline-size: 256px;
43
31
  display: flex;
44
32
  align-items: center;
45
- gap: var(--str-video__spacing-sm);
46
- border-radius: 0 var(--str-video__border-radius-xs) 0
47
- var(--str-video__border-radius-sm);
48
- background-color: var(--str-video__background-color4);
33
+ gap: var(--str-video__spacing-xs);
34
+ border-radius: var(--str-video__radius-lg);
35
+ background-color: var(--str-video__background-core-overlay-dark-strong);
36
+ -webkit-backdrop-filter: blur(12.5px);
37
+ backdrop-filter: blur(12.5px);
49
38
 
50
39
  .str-video__participant-details__name {
51
40
  display: flex;
52
41
  align-items: center;
53
- gap: var(--str-video__spacing-sm);
54
- padding: 4px 6px;
55
- white-space: nowrap;
56
- overflow: hidden;
57
- text-overflow: ellipsis;
58
- font-size: var(--str-video__font-size-sm);
42
+ gap: var(--str-video__spacing-xxs);
43
+ padding: var(--str-video__space-4) var(--str-video__space-4)
44
+ var(--str-video__space-4) var(--str-video__space-12);
45
+ font-size: var(--str-video__typography-font-size-xs);
46
+ line-height: var(--str-video__typography-line-height-tight);
47
+ font-weight: var(--str-video__typography-font-weight-regular);
48
+ color: var(--str-video__participant-label--color);
49
+
50
+ .str-video__participant-details__name-text {
51
+ max-inline-size: 160px;
52
+ white-space: nowrap;
53
+ overflow: hidden;
54
+ text-overflow: ellipsis;
55
+
56
+ &:not(:last-child) {
57
+ margin-inline-end: var(--str-video__spacing-xxs);
58
+ }
59
+ }
59
60
 
60
61
  @mixin icon {
61
- $icon-size: 1rem;
62
- width: $icon-size;
63
- height: $icon-size;
64
- -webkit-mask-size: $icon-size;
65
- mask-size: $icon-size;
66
- background-color: var(--str-video__text-color1);
62
+ flex-shrink: 0;
63
+ width: var(--str-video__icon-size-sm);
64
+ height: var(--str-video__icon-size-sm);
65
+ -webkit-mask-size: var(--str-video__icon-size-sm);
66
+ mask-size: var(--str-video__icon-size-sm);
67
+ background-color: var(--str-video__participant-label--color);
67
68
  }
68
69
 
69
70
  .str-video__participant-details__name--audio-muted {
@@ -74,9 +75,9 @@ $scope-name: 'str-video__participant-view';
74
75
 
75
76
  .str-video__participant-details__name--audio-connecting {
76
77
  .str-video__loading-indicator__icon {
77
- width: 1rem;
78
- height: 1rem;
79
- border-width: 2px;
78
+ width: var(--str-video__icon-size-sm);
79
+ height: var(--str-video__icon-size-sm);
80
+ border-width: var(--str-video__size-2);
80
81
  }
81
82
  }
82
83
 
@@ -88,17 +89,13 @@ $scope-name: 'str-video__participant-view';
88
89
 
89
90
  .str-video__participant-details__name--track-paused {
90
91
  @include icon();
91
- mask-image: var(--str-video__icon--low-bandwidth);
92
- -webkit-mask-image: var(--str-video__icon--low-bandwidth);
92
+ mask-image: var(--str-video__icon--low-bandwidth-fill);
93
+ -webkit-mask-image: var(--str-video__icon--low-bandwidth-fill);
93
94
  }
94
95
 
95
96
  .str-video__participant-details__name--pinned {
96
97
  cursor: pointer;
97
98
  @include icon();
98
- width: 0.8rem;
99
- height: 1rem;
100
- -webkit-mask-size: 0.8rem;
101
- mask-size: 0.8rem;
102
99
  -webkit-mask-repeat: no-repeat;
103
100
  mask-repeat: no-repeat;
104
101
  -webkit-mask-position: center;
@@ -106,54 +103,60 @@ $scope-name: 'str-video__participant-view';
106
103
  -webkit-mask-image: var(--str-video__icon--pin);
107
104
  mask-image: var(--str-video__icon--pin);
108
105
  }
109
-
110
- .str-video__participant-details__name--network-stats {
111
- @include icon();
112
- background-image: var(--str-video__icon--network-quality);
113
- cursor: pointer;
114
- margin-right: 0.625rem;
115
- }
116
106
  }
117
107
  }
118
108
 
119
- .str-video__participant-details__connection-quality {
109
+ .str-video__connection-quality-indicator {
120
110
  position: absolute;
121
- bottom: 0;
122
- right: 0;
111
+ inset: auto var(--str-video__space-8) var(--str-video__space-8) auto;
123
112
 
124
- border-radius: var(--str-video__border-radius-sm) 0
125
- var(--str-video__border-radius-sm) 0;
113
+ inline-size: var(--str-video__size-32);
114
+ block-size: var(--str-video__size-32);
115
+ border-radius: var(--str-video__radius-max);
126
116
 
127
- width: 24px;
128
- height: 24px;
129
- display: block;
130
- background-size: cover;
131
- background-color: var(--str-video__background-color4);
117
+ display: grid;
118
+ grid-auto-flow: column;
119
+ place-content: center;
120
+ align-items: end;
121
+ gap: 3px;
132
122
 
133
- &--poor {
134
- background-image: var(--str-video__icon--connection-quality-poor);
135
- }
136
- &--good {
137
- background-image: var(--str-video__icon--connection-quality-good);
138
- }
139
- &--excellent {
140
- background-image: var(--str-video__icon--connection-quality-excellent);
123
+ .str-video__connection-quality-indicator__bar {
124
+ inline-size: var(--str-video__icon-stroke-emphasis);
125
+ border-radius: var(--str-video__radius-max);
126
+
127
+ &:nth-child(1) {
128
+ block-size: 4px;
129
+ }
130
+
131
+ &:nth-child(2) {
132
+ block-size: 7px;
133
+ }
134
+
135
+ &:nth-child(3) {
136
+ block-size: 10px;
137
+ }
141
138
  }
142
139
  }
143
140
  }
144
141
 
145
142
  .str-video__speech-indicator {
146
143
  display: flex;
147
- justify-content: space-between;
144
+ justify-content: center;
148
145
  align-items: center;
149
- gap: 1px;
150
- height: 16px;
146
+ gap: 3px;
147
+ flex-shrink: 0;
148
+ inline-size: var(--str-video__size-24);
149
+ block-size: var(--str-video__size-24);
150
+ padding: 7px;
151
+ border-radius: var(--str-video__radius-md);
152
+ background-color: var(--str-video__background-core-overlay-dark-strong);
151
153
 
152
154
  .str-video__speech-indicator__bar {
153
- width: 3px;
155
+ flex-shrink: 0;
156
+ width: 2px;
154
157
  height: 20%;
155
- background-color: var(--str-video__primary-color);
156
- border-radius: 2px;
158
+ background-color: var(--str-video__indicator-sound-indicator-speaking);
159
+ border-radius: var(--str-video__radius-max);
157
160
  animation-duration: 0.4s;
158
161
  animation-iteration-count: 1;
159
162
  animation-name: speech-indicator-silence;
@@ -162,7 +165,7 @@ $scope-name: 'str-video__participant-view';
162
165
 
163
166
  &.str-video__speech-indicator--dominant {
164
167
  .str-video__speech-indicator__bar {
165
- background-color: var(--str-video__primary-color);
168
+ background-color: var(--str-video__indicator-sound-indicator-speaking);
166
169
  }
167
170
  }
168
171
 
@@ -0,0 +1,28 @@
1
+ /* The text and icon color inside the participant label */
2
+ .str-video {
3
+ --str-video__participant-label--color: var(--str-video__text-on-accent);
4
+ }
5
+
6
+ .str-video__connection-quality-indicator {
7
+ background-color: var(--str-video__background-core-overlay-dark-strong);
8
+
9
+ .str-video__connection-quality-indicator__bar {
10
+ background-color: var(--str-video__base-transparent-white-30);
11
+
12
+ &--active {
13
+ background-color: var(--str-video__text-on-accent);
14
+ }
15
+ }
16
+
17
+ &--poor .str-video__connection-quality-indicator__bar--active {
18
+ background-color: var(--str-video__indicator-connection-quality-poor);
19
+ }
20
+
21
+ &--good .str-video__connection-quality-indicator__bar--active {
22
+ background-color: var(--str-video__indicator-connection-quality-fair);
23
+ }
24
+
25
+ &--excellent .str-video__connection-quality-indicator__bar--active {
26
+ background-color: var(--str-video__indicator-connection-quality-great);
27
+ }
28
+ }
@@ -1 +1,2 @@
1
1
  @use 'ParticipantView-layout';
2
+ @use 'ParticipantView-theme';
@@ -1,50 +1,43 @@
1
1
  .str-video__permission-requests {
2
- background-color: var(--str-video__background-color1);
3
- border-radius: 8px;
4
- padding: 10px;
2
+ background-color: var(--str-video__background-core-surface-card);
3
+ border-radius: var(--str-video__radius-md);
4
+ padding: var(--str-video__spacing-sm);
5
5
  position: relative;
6
6
 
7
7
  .str-video__permission-requests__notification,
8
8
  .str-video__permission-request {
9
9
  display: flex;
10
- gap: 10px;
11
- padding: 10px 0;
10
+ gap: var(--str-video__spacing-xs);
11
+ padding-block: var(--str-video__spacing-xs);
12
12
  align-items: center;
13
13
  }
14
14
 
15
15
  .str-video__permission-requests__notification__message,
16
16
  .str-video__permission-request__message {
17
17
  flex: 1;
18
+ min-width: 0;
18
19
  overflow: hidden;
19
20
  text-overflow: ellipsis;
20
21
  white-space: nowrap;
22
+
23
+ font-size: var(--str-video__typography-font-size-sm);
24
+ line-height: var(--str-video__typography-line-height-normal);
25
+ font-weight: var(--str-video__typography-font-weight-regular);
26
+ color: var(--str-video__text-primary);
21
27
  }
22
28
 
23
29
  .str-video__permission-request__button {
24
- background-color: transparent;
25
- border: 1px solid var(--str-video__text-color1);
26
- border-radius: 4px;
27
- color: var(--str-video__color1);
28
- cursor: pointer;
29
- font-size: 14px;
30
- font-weight: 500;
31
- padding: 8px;
32
30
  min-width: 120px;
33
31
  }
34
32
 
35
- .str-video__permission-request__button--allow {
36
- background-color: var(--str-video__primary-color);
37
- border: 1px solid var(--str-video__primary-color);
38
- }
39
-
40
33
  .str-video__permission-requests-list {
41
- background-color: var(--str-video__background-color1);
42
- border-bottom-left-radius: 8px;
43
- border-bottom-right-radius: 8px;
44
- padding: 10px;
34
+ background-color: var(--str-video__background-core-surface-card);
35
+ border-bottom-left-radius: var(--str-video__radius-md);
36
+ border-bottom-right-radius: var(--str-video__radius-md);
37
+ box-shadow: var(--str-video__box-shadow-3);
38
+ padding: var(--str-video__spacing-sm);
45
39
  width: 100%;
46
40
  z-index: 1;
47
- opacity: 0.9;
48
41
  overflow-x: scroll;
49
42
  overflow-y: hidden;
50
43
 
@@ -1,11 +1,11 @@
1
1
  .str-video__reaction {
2
2
  position: absolute;
3
- right: 0.875rem;
4
- top: 0.875rem;
3
+ right: var(--str-video__space-8);
4
+ top: var(--str-video__space-8);
5
5
 
6
6
  .str-video__reaction__emoji {
7
7
  display: flex;
8
8
  line-height: 1;
9
- font-size: 2.5rem;
9
+ font-size: var(--str-video__font-size-size-40);
10
10
  }
11
11
  }
@@ -5,8 +5,9 @@
5
5
  justify-content: space-around;
6
6
  width: 400px;
7
7
  height: 300px;
8
- padding: 1rem 1rem 0.5rem;
9
- gap: 1rem;
8
+ padding: var(--str-video__spacing-md) var(--str-video__spacing-md)
9
+ var(--str-video__spacing-xs);
10
+ gap: var(--str-video__spacing-md);
10
11
  }
11
12
 
12
13
  .str-video__call-panel--ringing {
@@ -21,23 +22,23 @@
21
22
  flex-direction: column;
22
23
  align-items: center;
23
24
  justify-content: center;
24
- padding: 2rem;
25
+ padding: var(--str-video__spacing-2xl);
25
26
 
26
27
  .str-video__avatar {
27
- width: 80px;
28
- height: 80px;
28
+ width: var(--str-video__size-80);
29
+ height: var(--str-video__size-80);
29
30
  }
30
31
 
31
32
  .str-video__member_details {
32
33
  position: absolute;
33
34
  bottom: 10%;
34
- padding: 0.125rem 0.375rem;
35
+ padding: var(--str-video__space-2) var(--str-video__space-6);
35
36
  }
36
37
  }
37
38
  }
38
39
 
39
40
  .str-video__pending-call-controls {
40
41
  display: flex;
41
- gap: 0.675rem;
42
+ gap: var(--str-video__spacing-sm);
42
43
  }
43
44
  }
@@ -1,24 +1,25 @@
1
1
  .str-video__call-panel {
2
- background: var(--str-video__background-color3);
3
- border: 2px solid rgba(200,200,200,0.6);
4
- border-radius: 10px;
2
+ background: var(--str-video__background-core-surface-card);
3
+ border: 2px solid var(--str-video__border-core-default);
4
+ border-radius: var(--str-video__radius-md);
5
5
  }
6
6
 
7
7
  .str-video__call-panel--ringing {
8
8
  .str-video__call-panel__members-list {
9
-
10
9
  .str-video__call-panel__member-box {
11
- border-radius: var(--str-video__border-radius-circle);
12
- background: var(--str-video__background-color6);
10
+ border-radius: var(--str-video__radius-max);
11
+ background: var(--str-video__background-core-surface-strong);
13
12
 
14
13
  &:before {
15
- content: "";
14
+ content: '';
16
15
  position: absolute;
17
16
  inset: 0;
18
- border-radius: var(--str-video__border-radius-circle);
19
- padding: 4px;
20
- background:linear-gradient(
21
- 180deg,var(--str-video__primary-color),var(--str-video__info-color)
17
+ border-radius: var(--str-video__radius-max);
18
+ padding: var(--str-video__space-4);
19
+ background: linear-gradient(
20
+ 180deg,
21
+ var(--str-video__accent-primary),
22
+ var(--str-video__accent-success)
22
23
  );
23
24
  -webkit-mask:
24
25
  linear-gradient(#fff 0 0) content-box,
@@ -28,11 +29,11 @@
28
29
  }
29
30
 
30
31
  .str-video__member_details {
31
- background-color: var(--str-video__background-color4);
32
- color: var(--str-video__text-color1);
33
- border-radius: 4px;
34
- font-size: 12px;
35
- line-height: 16px;
32
+ background-color: var(--str-video__background-core-overlay-dark-strong);
33
+ color: var(--str-video__text-on-accent);
34
+ border-radius: var(--str-video__radius-xs);
35
+ font-size: var(--str-video__typography-font-size-xs);
36
+ line-height: var(--str-video__typography-line-height-tight);
36
37
  }
37
38
  }
38
39
  }
@@ -6,23 +6,15 @@
6
6
  position: absolute;
7
7
  width: 100%;
8
8
  height: 100%;
9
- gap: 1.8rem;
9
+ gap: var(--str-video__spacing-2xl);
10
10
 
11
11
  & > .str-video__icon {
12
- width: 4rem;
13
- height: 4rem;
12
+ width: var(--str-video__size-64);
13
+ height: var(--str-video__size-64);
14
14
  }
15
15
 
16
- .str-video__screen-share-overlay__button {
17
- display: flex;
18
- gap: 0.4rem;
19
- align-items: center;
20
- padding-inline: 1.6rem;
21
- padding-block: 0.8rem;
22
-
23
- .str-video__icon {
24
- width: 0.7rem;
25
- height: 0.7rem;
26
- }
16
+ .str-video__screen-share-overlay__button .str-video__icon {
17
+ width: var(--str-video__icon-size-xs);
18
+ height: var(--str-video__icon-size-xs);
27
19
  }
28
20
  }