update asciinema-player 3.9.0 -> 3.10.0

This commit is contained in:
Balakrishnan Balasubramanian 2025-05-28 14:30:50 -04:00
parent 15b733ab5f
commit 3b8ce84b1e
3 changed files with 29 additions and 5 deletions

View File

@ -1,4 +1,4 @@
ASCIINEMA_VERSION=3.9.0
ASCIINEMA_VERSION=3.10.0
.PHONY: update-asciinema
update-asciinema:

View File

@ -451,7 +451,7 @@ div.ap-player div.ap-control-bar {
opacity: 0;
transition: opacity 0.15s linear;
user-select: none;
border-top: 2px solid color-mix(in oklab, black 33%, var(--term-color-background));
border-top: 2px solid color-mix(in oklab, var(--term-color-background) 80%, var(--term-color-foreground));
z-index: 30;
}
div.ap-player div.ap-control-bar * {
@ -711,8 +711,6 @@ span.ap-marker-container:hover span.ap-marker {
max-height: 85%;
font-size: 18px;
color: var(--term-color-foreground);
background-color: var(--term-color-background);
border-radius: 6px;
box-sizing: border-box;
margin-bottom: 32px;
}
@ -728,6 +726,9 @@ span.ap-marker-container:hover span.ap-marker {
.ap-player .ap-overlay-help > div div {
padding: calc(min(4cqw, 40px));
font-size: calc(min(1.9cqw, 18px));
background-color: var(--term-color-background);
border: 1px solid color-mix(in oklab, var(--term-color-background) 90%, var(--term-color-foreground));
border-radius: 6px;
}
.ap-player .ap-overlay-help > div div p {
font-weight: bold;
@ -2363,3 +2364,26 @@ span.ap-marker-container:hover span.ap-marker {
--term-color-14: #34e2e2;
--term-color-15: #eeeeec;
}
/*
Based on gruvbox: https://github.com/morhetz/gruvbox
*/
.asciinema-player-theme-gruvbox-dark {
--term-color-foreground: #fbf1c7;
--term-color-background: #282828;
--term-color-0: #282828;
--term-color-1: #cc241d;
--term-color-2: #98971a;
--term-color-3: #d79921;
--term-color-4: #458588;
--term-color-5: #b16286;
--term-color-6: #689d6a;
--term-color-7: #a89984;
--term-color-8: #7c6f65;
--term-color-9: #fb4934;
--term-color-10: #b8bb26;
--term-color-11: #fabd2f;
--term-color-12: #83a598;
--term-color-13: #d3869b;
--term-color-14: #8ec07c;
--term-color-15: #fbf1c7;
}

File diff suppressed because one or more lines are too long