Skip to content

Commit

Permalink
Change theme CSS class names from asciinema-theme-* to `asciinema-p…
Browse files Browse the repository at this point in the history
…layer-theme-*`
  • Loading branch information
ku1ik committed Feb 14, 2024
1 parent 3701c6c commit c491798
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/components/Player.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export default props => {
}

const playerClass = () =>
`ap-player asciinema-theme-${props.theme ?? 'asciinema'}`;
`ap-player asciinema-player-theme-${props.theme ?? 'asciinema'}`;

const terminalScale = () =>
terminalElementSize()?.scale;
Expand Down
2 changes: 1 addition & 1 deletion src/less/themes/_asciinema.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.asciinema-theme-asciinema {
.asciinema-player-theme-asciinema {
@basehue: -17;
@saturation: 70%;
@lightness: 55%;
Expand Down
2 changes: 1 addition & 1 deletion src/less/themes/_dracula.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Based on Dracula: https://draculatheme.com
*/

.asciinema-theme-dracula {
.asciinema-player-theme-dracula {
--term-color-foreground: #f8f8f2;
--term-color-background: #282a36;

Expand Down
2 changes: 1 addition & 1 deletion src/less/themes/_monokai.less
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* Based on Monokai from base16 collection - https://github.com/chriskempson/base16 */

.asciinema-theme-monokai {
.asciinema-player-theme-monokai {
--term-color-foreground: #f8f8f2;
--term-color-background: #272822;

Expand Down
2 changes: 1 addition & 1 deletion src/less/themes/_nord.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Via: https://github.com/neilotoole/asciinema-theme-nord
*/

.asciinema-theme-nord {
.asciinema-player-theme-nord {
--term-color-foreground: #eceff4;
--term-color-background: #2e3440;

Expand Down
2 changes: 1 addition & 1 deletion src/less/themes/_seti.less
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.asciinema-theme-seti {
.asciinema-player-theme-seti {
--term-color-foreground: #cacecd;
--term-color-background: #111213;

Expand Down
2 changes: 1 addition & 1 deletion src/less/themes/_solarized-dark.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Based on Solarized Dark: https://ethanschoonover.com/solarized/
*/

.asciinema-theme-solarized-dark {
.asciinema-player-theme-solarized-dark {
--term-color-foreground: #839496;
--term-color-background: #002b36;

Expand Down
2 changes: 1 addition & 1 deletion src/less/themes/_solarized-light.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Based on Solarized Light: https://ethanschoonover.com/solarized/
*/

.asciinema-theme-solarized-light {
.asciinema-player-theme-solarized-light {
--term-color-foreground: #657b83;
--term-color-background: #fdf6e3;

Expand Down
2 changes: 1 addition & 1 deletion src/less/themes/_tango.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Based on Tango: https://en.wikipedia.org/wiki/Tango_Desktop_Project
*/

.asciinema-theme-tango {
.asciinema-player-theme-tango {
--term-color-foreground: #cccccc;
--term-color-background: #121314;

Expand Down

0 comments on commit c491798

Please sign in to comment.