Skip to content

Commit

Permalink
ov-components: Updated css variable names
Browse files Browse the repository at this point in the history
  • Loading branch information
CSantosM committed Nov 6, 2024
1 parent 02e3fb0 commit b59c56c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
--ov-text-primary-color: #1d1d1d;
--ov-surface-color: #ffffff;

--ov-buttons-radius: 50%;
--ov-toolbar-buttons-radius: 50%;
--ov-leave-button-radius: 10px;
--ov-video-radius: 5px;
--ov-surface-radius: 5px;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ You can also customize the styles in your `styles.scss` file:
--ov-warn-color: #ffba53; // Warning color
/* Radius */
--ov-buttons-radius: 50%;
--ov-leave-button-radius: 10px;
--ov-video-radius: 5px;
--ov-surface-radius: 5px;
--ov-toolbar-buttons-radius: 50%; // Radius for toolbar buttons
--ov-leave-button-radius: 10px; // Radius for leave button
--ov-video-radius: 5px; // Radius for video elements
--ov-surface-radius: 5px; // Radius for surface elements
}
```
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

.panel-close-button {
margin-left: auto;
border-radius: var(--ov-buttons-radius);
border-radius: 50%;
}

::-webkit-scrollbar {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
}

#mute-btn {
border-radius: var(--ov-buttons-radius);
border-radius: 50%;
color: var(--ov-text-surface-color);
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ $ov-recording-blinking-color: #eb5144;

#media-buttons-container button,
#menu-buttons-container button {
border-radius: var(--ov-buttons-radius);
border-radius: var(--ov-toolbar-buttons-radius);
color: var(--ov-secondary-action-color);
}

Expand Down
2 changes: 1 addition & 1 deletion openvidu-components-angular/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ body {
--ov-text-primary-color: #ffffff;
--ov-text-surface-color: #1d1d1d;

--ov-buttons-radius: 50%;
--ov-toolbar-buttons-radius: 50%;
--ov-leave-button-radius: 10px;
--ov-video-radius: 5px;
--ov-surface-radius: 5px;
Expand Down

0 comments on commit b59c56c

Please sign in to comment.