Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
.page {
--paper: #fbfaf7;
--ink: #20242c;
--ink-soft: #6b7079;
--accent: #4785ff;
--track: #dcdcd4;
--error: #ce2c31;
position: relative;
display: flex;
flex-direction: column;
min-height: 100dvh;
background: var(--paper);
color: var(--ink);
color-scheme: light;
-webkit-font-smoothing: antialiased;
}
.brand {
display: flex;
justify-content: center;
padding: 32px 24px 0;
animation: fade-up 0.5s ease both;
}
.brandLink {
display: inline-flex;
border-radius: 8px;
line-height: 0;
color: var(--ink);
}
.brandLink:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 4px;
}
.stage {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 40px 24px 56px;
text-align: center;
}
.doodle {
width: 148px;
height: auto;
overflow: visible;
animation: fade-up 0.5s ease 0.05s both;
}
.title {
margin: 28px 0 0;
max-width: 520px;
font-size: 28px;
font-weight: 500;
line-height: 1.15;
letter-spacing: -0.015em;
text-wrap: balance;
animation: fade-up 0.5s ease 0.1s both;
}
.lede {
margin: 10px 0 0;
max-width: 420px;
font-size: 15.5px;
line-height: 1.55;
color: var(--ink-soft);
text-wrap: pretty;
animation: fade-up 0.5s ease 0.15s both;
}
.lede strong {
font-weight: 500;
color: var(--ink);
}
.actions {
display: flex;
flex-wrap: wrap;
align-items: center;
justify-content: center;
gap: 10px;
margin-top: 28px;
animation: fade-up 0.5s ease 0.22s both;
}
.cta {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
min-height: 44px;
padding: 0 24px;
border: 1.5px solid var(--ink);
border-radius: 999px;
background: var(--ink);
color: var(--paper);
font: inherit;
font-size: 14.5px;
font-weight: 500;
text-decoration: none;
cursor: pointer;
transition:
background 0.18s ease,
border-color 0.18s ease,
color 0.18s ease,
opacity 0.18s ease,
transform 0.18s ease;
}
.cta:hover:not(:disabled) {
background: #353a45;
border-color: #353a45;
}
.cta:active:not(:disabled) {
transform: translateY(1px);
}
.cta:disabled {
cursor: not-allowed;
opacity: 0.45;
}
.cta:focus-visible,
.ghost:focus-visible {
outline: 2px solid var(--accent);
outline-offset: 3px;
}
.ghost {
background: transparent;
border-color: var(--track);
color: var(--ink);
}
.ghost:hover:not(:disabled) {
background: rgba(32, 36, 44, 0.04);
border-color: var(--ink-soft);
}
.form {
display: grid;
gap: 10px;
width: min(360px, 100%);
margin-top: 28px;
animation: fade-up 0.5s ease 0.22s both;
}
.input {
width: 100%;
min-height: 46px;
padding: 0 18px;
border: 1.5px solid var(--track);
border-radius: 999px;
background: #ffffff;
color: var(--ink);
font: inherit;
font-size: 15px;
text-align: center;
transition: border-color 0.15s ease;
}
.input::placeholder {
color: var(--ink-soft);
}
.input:focus {
outline: none;
border-color: var(--ink);
}
.input[aria-invalid="true"] {
border-color: var(--error);
}
.error {
margin: 2px 0 0;
font-size: 13.5px;
color: var(--error);
animation: fade-up 0.3s ease both;
}
.footnote {
margin: 0;
padding: 0 24px 32px;
text-align: center;
font-size: 13px;
line-height: 1.5;
color: var(--ink-soft);
animation: fade-up 0.5s ease 0.3s both;
}
.footnote a,
.lede a {
color: var(--ink);
text-decoration: underline;
text-decoration-color: var(--track);
text-decoration-thickness: 1.5px;
text-underline-offset: 3px;
transition: text-decoration-color 0.15s ease;
}
.footnote a:hover,
.lede a:hover {
text-decoration-color: var(--ink);
}
/* Doodle strokes */
.stroke {
fill: none;
stroke: var(--ink);
stroke-width: 4.5;
stroke-linecap: round;
stroke-linejoin: round;
}
.accentStroke {
fill: none;
stroke: var(--accent);
stroke-width: 4.5;
stroke-linecap: round;
stroke-linejoin: round;
}
.softStroke {
fill: none;
stroke: var(--ink-soft);
stroke-width: 2.5;
stroke-linecap: round;
}
.accentFill {
fill: var(--accent);
}
.inkFill {
fill: var(--ink);
}
.paperFill {
fill: var(--paper);
}
.draw {
stroke-dasharray: 1;
stroke-dashoffset: 1;
animation-name: draw;
animation-duration: var(--t, 0.8s);
animation-timing-function: ease;
animation-delay: var(--d, 0s);
animation-fill-mode: forwards;
}
.appear {
opacity: 0;
animation-name: fade-in;
animation-duration: 0.3s;
animation-timing-function: ease;
animation-delay: var(--d, 0s);
animation-fill-mode: forwards;
}
.pop {
opacity: 0;
transform-box: fill-box;
transform-origin: center;
animation-name: pop;
animation-duration: 0.5s;
animation-timing-function: ease;
animation-delay: var(--d, 0s);
animation-fill-mode: forwards;
}
.spark {
fill: none;
stroke: var(--accent);
stroke-width: 3.5;
stroke-linecap: round;
opacity: 0;
transform-box: fill-box;
transform-origin: center;
animation-name: pop;
animation-duration: 0.5s;
animation-timing-function: ease;
animation-delay: var(--d, 0s);
animation-fill-mode: forwards;
}
.march {
stroke-dasharray: 2 4.2;
animation: march 1.2s linear infinite;
}
.bob {
animation: bob 3s ease-in-out 1.4s infinite;
}
.rattle {
transform-box: view-box;
transform-origin: 60px 50px;
animation: rattle 4.2s ease-in-out 1.5s infinite;
}
.sway {
transform-box: view-box;
transform-origin: 50px 46px;
animation: sway 3.6s ease-in-out 1.4s infinite;
}
.wiggle {
transform-box: view-box;
transform-origin: 36px 52px;
animation: wiggle 3.4s ease-in-out 1.4s infinite;
}
.typeDot {
opacity: 0;
transform-box: fill-box;
transform-origin: center;
animation-name: type-dot;
animation-duration: 3.2s;
animation-timing-function: ease;
animation-delay: var(--d, 0s);
animation-iteration-count: infinite;
}
.caret {
opacity: 0;
animation: blink 1s steps(1) 1s infinite;
}
.pulse {
transform-box: fill-box;
transform-origin: center;
animation: pulse 1.6s ease-in-out 1.2s infinite;
}
@keyframes draw {
to {
stroke-dashoffset: 0;
}
}
@keyframes fade-in {
to {
opacity: 1;
}
}
@keyframes fade-up {
from {
opacity: 0;
transform: translateY(10px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pop {
from {
opacity: 0;
transform: scale(0.2);
}
60% {
opacity: 1;
transform: scale(1.15);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes march {
to {
stroke-dashoffset: -6.2;
}
}
@keyframes bob {
0%,
100% {
transform: translateY(0);
}
50% {
transform: translateY(-4px);
}
}
@keyframes rattle {
0%,
24%,
100% {
transform: translateY(0) rotate(0);
}
6% {
transform: translateY(-6px) rotate(-3deg);
}
12% {
transform: translateY(0) rotate(0);
}
17% {
transform: translateY(-3px) rotate(2deg);
}
}
@keyframes sway {
0%,
100% {
transform: translate(0, 0) rotate(0);
}
30% {
transform: translate(-4px, 2px) rotate(-6deg);
}
70% {
transform: translate(4px, -1px) rotate(5deg);
}
}
@keyframes wiggle {
0%,
40%,
100% {
transform: rotate(0);
}
10% {
transform: rotate(-8deg);
}
22% {
transform: rotate(6deg);
}
32% {
transform: rotate(-2deg);
}
}
@keyframes type-dot {
0%,
8% {
opacity: 0;
transform: scale(0.3);
}
14%,
80% {
opacity: 1;
transform: scale(1);
}
90%,
100% {
opacity: 0;
transform: scale(1);
}
}
@keyframes blink {
0% {
opacity: 1;
}
50% {
opacity: 0;
}
}
@keyframes pulse {
0%,
100% {
transform: scale(1);
}
50% {
transform: scale(1.08);
}
}
@media (prefers-reduced-motion: reduce) {
.boil {
filter: none;
}
.brand,
.doodle,
.title,
.lede,
.actions,
.form,
.footnote,
.draw,
.appear,
.pop,
.spark {
animation-duration: 0.01ms;
animation-delay: 0s;
}
.march,
.bob,
.rattle,
.sway,
.wiggle,
.caret,
.pulse {
animation: none;
}
.typeDot {
animation: none;
opacity: 1;
}
}