Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
new timeline design
ameer2468bf711d5a9d53
diff --git a/apps/desktop/src/routes/editor/ConfigSidebar.tsx b/apps/desktop/src/routes/editor/ConfigSidebar.tsxindex b7dc8fb10..69864cdc9 100644--- a/apps/desktop/src/routes/editor/ConfigSidebar.tsx+++ b/apps/desktop/src/routes/editor/ConfigSidebar.tsx@@ -42,7 +42,11 @@ import gradientBg from "../../assets/illustrations/gradient.webp";import imageBg from "../../assets/illustrations/image.webp";import transparentBg from "../../assets/illustrations/transparent.webp";import { BACKGROUND_THEMES, useEditorContext } from "./context";-import { DEFAULT_GRADIENT_FROM, DEFAULT_GRADIENT_TO } from "./projectConfig";+import {+ DEFAULT_GRADIENT_FROM,+ DEFAULT_GRADIENT_TO,+ RGBColor,+} from "./projectConfig";import ShadowSettings from "./ShadowSettings";import { TextInput } from "./TextInput";import {@@ -81,6 +85,46 @@ const CURSOR_ANIMATION_STYLES: Record<CursorAnimationStyle, string> = {fast: "Fast & Responsive",} as const;+const BACKGROUND_COLORS = [+ "#FF0000", // Red+ "#FF4500", // Orange-Red+ "#FF8C00", // Orange+ "#FFD700", // Gold+ "#FFFF00", // Yellow+ "#ADFF2F", // Green-Yellow+ "#32CD32", // Lime Green+ "#008000", // Green+ "#00CED1", // Dark Turquoise+ "#4785FF", // Dodger Blue+ "#0000FF", // Blue+ "#4B0082", // Indigo+ "#800080", // Purple+ "#A9A9A9", // Dark Gray+ "#FFFFFF", // White+ "#000000", // Black+];++const BACKGROUND_GRADIENTS = [+ { from: [15, 52, 67], to: [52, 232, 158] }, // Dark Blue to Teal+ { from: [34, 193, 195], to: [253, 187, 45] }, // Turquoise to Golden Yellow+ { from: [29, 253, 251], to: [195, 29, 253] }, // Cyan to Purple+ { from: [69, 104, 220], to: [176, 106, 179] }, // Blue to Violet+ { from: [106, 130, 251], to: [252, 92, 125] }, // Soft Blue to Pinkish Red+ { from: [131, 58, 180], to: [253, 29, 29] }, // Purple to Red+ { from: [249, 212, 35], to: [255, 78, 80] }, // Yellow to Coral Red+ { from: [255, 94, 0], to: [255, 42, 104] }, // Orange to Reddish Pink+ { from: [255, 0, 150], to: [0, 204, 255] }, // Pink to Sky Blue+ { from: [0, 242, 96], to: [5, 117, 230] }, // Green to Blue+ { from: [238, 205, 163], to: [239, 98, 159] }, // Peach to Soft Pink+ { from: [44, 62, 80], to: [52, 152, 219] }, // Dark Gray Blue to Light Blue+ { from: [168, 239, 255], to: [238, 205, 163] }, // Light Blue to Peach+ { from: [74, 0, 224], to: [143, 0, 255] }, // Deep Blue to Bright Purple+ { from: [252, 74, 26], to: [247, 183, 51] }, // Deep Orange to Soft Yellow+ { from: [0, 255, 255], to: [255, 20, 147] }, // Cyan to Deep Pink+ { from: [255, 127, 0], to: [255, 255, 0] }, // Orange to Yellow+ { from: [255, 0, 255], to: [0, 255, 0] }, // Magenta to Green+] satisfies Array<{ from: RGBColor; to: RGBColor }>;+const WALLPAPER_NAMES = [// macOS wallpapers"macOS/sequoia-dark",@@ -361,7 +405,7 @@ export function ConfigSidebar() {return (<KTabsvalue={selectedTab()}- class="flex flex-col shrink-0 overflow-x-hidden overflow-y-hidden flex-1 max-w-[26rem] rounded-t-xl z-10 bg-gray-100 relative"+ class="flex flex-col shrink-0 flex-1 max-w-[26rem] overflow-hidden rounded-t-xl z-10 bg-gray-100 relative"><KTabs.List class="flex overflow-hidden relative z-40 flex-row items-center h-16 text-lg border-b border-gray-200 shrink-0"><For@@ -484,24 +528,79 @@ export function ConfigSidebar() {{...props}><div class="flex gap-1.5 justify-center items-center">- <img- class="size-3.5 rounded"- src={+ {(() => {+ if (item === "gradient") {+ const angle =+ project.background.source.type === "gradient"+ ? project.background.source.angle+ : 90;+ const fromColor =+ project.background.source.type === "gradient"+ ? project.background.source.from+ : DEFAULT_GRADIENT_FROM;+ const toColor =+ project.background.source.type === "gradient"+ ? project.background.source.to+ : DEFAULT_GRADIENT_TO;++ return (+ <div+ class="size-3.5 rounded"+ style={{+ background: `linear-gradient(${angle}deg, rgb(${fromColor}), rgb(${toColor}))`,+ }}+ />+ );+ }++ if (item === "color") {+ const backgroundColor =+ project.background.source.type === "color"+ ? project.background.source.value+ : hexToRgb(BACKGROUND_COLORS[9]);++ return (+ <div+ class="size-3.5 rounded-[5px]"+ style={{+ "background-color": `rgb(${backgroundColor})`,+ }}+ />+ );+ }++ let imageSrc: string = BACKGROUND_ICONS[item];++ if (item === "image" &&project.background.source.type === "image" &&project.background.source.path- ? convertFileSrc(project.background.source.path)- : item === "wallpaper"- ? wallpapers()?.find((w) =>- (- project.background.source as {- path?: string;- }- ).path?.includes(w.id)- )?.url ?? BACKGROUND_ICONS[item]- : BACKGROUND_ICONS[item]+ ) {+ imageSrc = convertFileSrc(+ project.background.source.path+ );+ } else if (+ item === "wallpaper" &&+ project.background.source.type === "wallpaper"+ ) {+ const selectedWallpaper = wallpapers()?.find(+ (w) =>+ (+ project.background.source as {+ path?: string;+ }+ ).path?.includes(w.id)+ );+ imageSrc =+ selectedWallpaper?.url ??+ wallpapers()?.[7]?.url ??+ BACKGROUND_ICONS[item];}- />++ return (+ <img class="size-3.5 rounded" src={imageSrc} />+ );+ })()}{BACKGROUND_SOURCES[item]}</div></KTabs.Trigger>@@ -511,7 +610,7 @@ export function ConfigSidebar() {}}</For>- {/* <KTabs.Indicator class="flex overflow-hidden absolute inset-0 p-px rounded-xl transition-transform duration-300 peer-focus-visible:outline outline-2 outline-blue-300 outline-offset-2">+ {/* <KTabs.Indicator class="flex overflow-hidden absolute inset-0 p-px rounded-xl transition-transform duration-300 peer-focus-visible:outline outline-2 outline-blue-300 outline-offset-2 outline-blue-300/50"><div class="flex-1 bg-gray-200" /></KTabs.Indicator> */}</KTabs.List>@@ -574,6 +673,11 @@ export function ConfigSidebar() {);if (!wallpaper) return;+ // Get the raw path without any URL prefixes+ const rawPath = decodeURIComponent(+ photoUrl.replace("file://", "")+ );+debouncedSetProject(wallpaper.rawPath);} catch (err) {toast.error("Failed to set wallpaper");@@ -602,8 +706,8 @@ export function ConfigSidebar() {<KRadioGroup.ItemControl class="overflow-hidden w-full h-full rounded-lg transition-shadow cursor-pointer ui-checked:ring-2 ui-checked:ring-gray-500 ui-checked:ring-offset-2 ui-checked:ring-offset-gray-200"><imgsrc={photo.url!}- alt="Wallpaper option"class="object-cover w-full h-full"+ alt="Wallpaper option"/></KRadioGroup.ItemControl></KRadioGroup.Item>@@ -676,10 +780,12 @@ export function ConfigSidebar() {<buttontype="button"onClick={() => fileInput.click()}- class="p-6 bg-gray-100 text-xs w-full rounded-[0.5rem] border flex flex-col items-center justify-center gap-[0.5rem] text-gray-400 hover:bg-gray-200 transition-colors duration-100"+ class="p-6 bg-gray-100 text-[13px] w-full rounded-[0.5rem] border border-gray-300 border-dashed flex flex-col items-center justify-center gap-[0.5rem] hover:bg-gray-200 transition-colors duration-100">- <IconCapImage class="size-6" />- <span>Click to select or drag and drop image</span>+ <IconCapImage class="text-gray-400 size-6" />+ <span class="text-gray-500">+ Click to select or drag and drop image+ </span></button>}>@@ -762,23 +868,70 @@ export function ConfigSidebar() {project.background.source}>- {(source) => (+ <div class="flex flex-col flex-wrap gap-4"><RgbInput- value={source().value}+ value={+ project.background.source.type === "color"+ ? project.background.source.value+ : [0, 0, 0]+ }onChange={(value) => {- backgrounds.color = {+ setProject("background", "source", {type: "color",value,- };- setProject("background", "source", backgrounds.color);+ });}}/>- )}++ <div class="flex flex-wrap gap-2">+ <For each={BACKGROUND_COLORS}>+ {(color) => (+ <label class="relative">+ <input+ type="radio"+ class="sr-only peer"+ name="colorPicker"+ onChange={(e) => {+ if (e.target.checked) {+ backgrounds.color = {+ type: "color",+ value: hexToRgb(color) ?? [0, 0, 0],+ };+ setProject(+ "background",+ "source",+ backgrounds.color+ );+ }+ }}+ />+ <div+ class="rounded-lg transition-all duration-200 cursor-pointer size-6 peer-checked:hover:opacity-100 peer-hover:opacity-70 peer-checked:ring-2 peer-checked:ring-gray-500 peer-checked:ring-offset-2 peer-checked:ring-offset-gray-200"+ style={{ "background-color": color }}+ />+ </label>+ )}+ </For>+ </div>+ {/* <Tooltip content="Add custom color">+ <button+ class="flex justify-center items-center w-6 h-6 text-gray-500 rounded-lg border border-gray-400 border-dashed hover:border-gray-500"+ onClick={() => {+ // Function to add a new color (you can modify this)+ console.log(+ "Open color picker or modal to add a color"+ );+ }}+ >+ ++ </button>+ </Tooltip> */}+ </div></Show></KTabs.Content><KTabs.Contentvalue="gradient"- class="flex flex-row justify-between items-center"+ class="flex flex-row justify-between"><Showwhen={@@ -795,26 +948,65 @@ export function ConfigSidebar() {return (<>- <RgbInput- value={source().from}- onChange={(from) => {- backgrounds.gradient.from = from;- setProject("background", "source", {- type: "gradient",- from,- });- }}- />- <RgbInput- value={source().to}- onChange={(to) => {- backgrounds.gradient.to = to;- setProject("background", "source", {- type: "gradient",- to,- });- }}- />+ <div class="flex flex-col gap-6">+ <div class="flex gap-5">+ <RgbInput+ value={source().from}+ onChange={(from) => {+ backgrounds.gradient.from = from;+ setProject("background", "source", {+ type: "gradient",+ from,+ });+ }}+ />+ <RgbInput+ value={source().to}+ onChange={(to) => {+ backgrounds.gradient.to = to;+ setProject("background", "source", {+ type: "gradient",+ to,+ });+ }}+ />+ </div>+ <div class="flex flex-wrap gap-2">+ <For each={BACKGROUND_GRADIENTS}>+ {(gradient) => (+ <label class="relative">+ <input+ type="radio"+ class="sr-only peer"+ name="colorPicker"+ onChange={(e) => {+ if (e.target.checked) {+ backgrounds.gradient = {+ type: "gradient",+ from: gradient.from,+ to: gradient.to,+ };+ setProject(+ "background",+ "source",+ backgrounds.gradient+ );+ }+ }}+ />+ <div+ class="rounded-lg transition-all duration-200 cursor-pointer size-6 peer-checked:hover:opacity-100 peer-hover:opacity-70 peer-checked:ring-2 peer-checked:ring-gray-500 peer-checked:ring-offset-2 peer-checked:ring-offset-gray-200"+ style={{+ background: `linear-gradient(${angle()}deg, rgb(${gradient.from.join(+ ","+ )}), rgb(${gradient.to.join(",")}))`,+ }}+ />+ </label>+ )}+ </For>+ </div>+ </div><divclass="flex relative flex-col items-center p-1 bg-gray-50 rounded-full border border-gray-200 size-12 cursor-ns-resize shrink-0"style={{ transform: `rotate(${angle()}deg)` }}@@ -1612,7 +1804,7 @@ function RgbInput(props: {<div class="flex flex-row items-center gap-[0.75rem] relative"><buttontype="button"- class="size-[3rem] rounded-[0.5rem]"+ class="size-[2rem] rounded-[0.5rem]"style={{"background-color": rgbToHex(props.value),}}@@ -1628,7 +1820,7 @@ function RgbInput(props: {}}/><TextInput- class="w-[5rem] p-[0.375rem] border text-gray-400 rounded-[0.5rem] bg-gray-50"+ class="w-[4.60rem] p-[0.375rem] text-gray-500 text-[13px] border rounded-[0.5rem] bg-gray-50 outline-none focus:ring-2 transition-shadows duration-200 focus:ring-gray-500 focus:ring-offset-2 focus:ring-offset-gray-200"value={text()}onFocus={() => {prevHex = rgbToHex(props.value);diff --git a/apps/desktop/src/routes/editor/ExportButton.tsx b/apps/desktop/src/routes/editor/ExportButton.tsxindex 859b5de7a..0f469c5c7 100644--- a/apps/desktop/src/routes/editor/ExportButton.tsx+++ b/apps/desktop/src/routes/editor/ExportButton.tsx@@ -133,11 +133,7 @@ function ExportButton(props: {<div class="relative"><Buttonvariant="white"- class={cx(- "flex gap-2 justify-center",- showExportOptions() &&- "shadow-[inset_0_0_4px_2px_rgba(0,0,0,0.25)] dark:shadow-[inset_0_0_4px_2px_rgba(0,0,0,0.7)]"- )}+ class={cx("flex gap-2 justify-center")}onClick={() => {trackEvent("export_button_clicked");setShowExportOptions(!showExportOptions());diff --git a/apps/desktop/src/routes/editor/Header.tsx b/apps/desktop/src/routes/editor/Header.tsxindex 537dbaac2..d8a75fc20 100644--- a/apps/desktop/src/routes/editor/Header.tsx+++ b/apps/desktop/src/routes/editor/Header.tsx@@ -143,7 +143,8 @@ const Menu = {editorContext?: ReturnType<typeof useEditorContext>;}) => (<EditorButton- tooltipText="Delete recording"+ disabled+ comingSoonleftIcon={<IconCapTrash class="w-5" />}/>),diff --git a/apps/desktop/src/routes/editor/Player.tsx b/apps/desktop/src/routes/editor/Player.tsxindex afde5aebe..70eb23e5c 100644--- a/apps/desktop/src/routes/editor/Player.tsx+++ b/apps/desktop/src/routes/editor/Player.tsx@@ -3,6 +3,8 @@ import { createElementBounds } from "@solid-primitives/bounds";import { createEventListener } from "@solid-primitives/event-listener";import { Show, createEffect, createSignal } from "solid-js";+import { cx } from "cva";+import Tooltip from "~/components/Tooltip";import { commands } from "~/utils/tauri";import { FPS, OUTPUT_SIZE, useEditorContext } from "./context";import { ComingSoonTooltip, EditorButton, Slider } from "./ui";@@ -49,10 +51,8 @@ export function Player() {onChange={setSplit}as={KToggleButton}variant="danger"- leftIcon={<IconCapScissors />}- >- Split- </EditorButton>+ leftIcon={<IconCapScissors class="text-gray-500" />}+ />);const isAtEnd = () => {@@ -109,7 +109,7 @@ export function Player() {<div ref={setCanvasContainerRef} class="relative flex-1 bg-gray-50"><Show when={latestFrame()}>{(currentFrame) => {- const padding = 16;+ const padding = 20;const containerAspect = () => {if (containerBounds.width && containerBounds.height) {@@ -127,7 +127,7 @@ export function Player() {const size = () => {if (frameAspect() < containerAspect()) {- const height = (containerBounds.height ?? 0) - padding * 2;+ const height = (containerBounds.height ?? 0) - padding * 1;return {width: height * frameAspect(),@@ -144,35 +144,41 @@ export function Player() {};return (- <canvas- style={{- left: `${Math.max(- ((containerBounds.width ?? 0) - size().width) / 2,- padding- )}px`,- top: `${Math.max(- ((containerBounds.height ?? 0) - size().height) / 2,- padding- )}px`,- width: `${size().width}px`,- height: `${size().height}px`,- }}- class="absolute bg-blue-50 rounded"- ref={canvasRef}- id="canvas"- width={currentFrame().width}- height={currentFrame().data.height}- />+ <div class="relative w-[calc(100%-40px)] mx-auto h-full bg-gray-100 rounded-t-xl">+ <canvas+ style={{+ left: `${Math.max(+ ((containerBounds.width ?? 0) - size().width) / 2,+ padding+ )}px`,+ top: `${Math.max(+ ((containerBounds.height ?? 0) - size().height) / 2,+ padding+ )}px`,+ width: `${size().width - padding * 2}px`,+ height: `${size().height}px`,+ }}+ class="absolute bg-blue-50 rounded"+ ref={canvasRef}+ id="canvas"+ width={currentFrame().width}+ height={currentFrame().data.height}+ />+ </div>);}}</Show></div>- <div class="flex flex-row items-center p-[0.75rem] gap-[0.5rem] z-10 bg-gray-50 justify-between">- <div class="flex flex-1 items-center">- <div class="flex-1" />- <Time seconds={Math.max(previewTime() ?? playbackTime(), 0)} />+ <div class="flex z-10 flex-row gap-3 justify-between items-center p-5 w-[calc(100%-40px)] mx-auto bg-gray-100 rounded-b-xl">+ <div class="flex-1">+ <Time+ class="text-gray-500"+ seconds={Math.max(previewTime() ?? playbackTime(), 0)}+ />+ <span class="text-gray-400 text-[0.875rem] tabular-nums"> / </span>+ <Time seconds={totalDuration()} /></div>- <div class="flex flex-row items-center justify-center text-gray-400 text-[0.875rem]">+ <div class="flex flex-row items-center justify-center text-gray-400 gap-8 text-[0.875rem]"><buttontype="button"onClick={async () => {@@ -181,17 +187,17 @@ export function Player() {setPlaybackTime(0);}}>- <IconCapFrameFirst class="size-[1.2rem]" />+ <IconCapPrev class="text-gray-500 size-3" /></button><buttontype="button"onClick={handlePlayPauseClick}- class="transition-colors hover:text-black"+ class="flex justify-center items-center bg-gray-200 rounded-full border border-gray-300 transition-colors hover:text-black size-9">{!playing() || isAtEnd() ? (- <IconCapPlayCircle class="size-[1.5rem]" />+ <IconCapPlay class="text-gray-500 size-3" />) : (- <IconCapStopCircle class="size-[1.5rem]" />+ <IconCapPause class="text-gray-500 size-3" />)}</button><button@@ -202,19 +208,44 @@ export function Player() {setPlaybackTime(totalDuration());}}>- <IconCapFrameLast class="size-[1.2rem]" />+ <IconCapNext class="text-gray-500 size-3" /></button></div>- <div class="flex flex-row flex-1 gap-2 justify-end items-center">- <Time seconds={totalDuration()} />+ <div class="flex flex-row flex-1 gap-4 justify-end items-center"><div class="flex-1" />{window.FLAGS.split ? (splitButton()) : (<ComingSoonTooltip>{splitButton()}</ComingSoonTooltip>)}- <div class="w-[0.5px] h-7 bg-gray-300 mx-1" />- <IconIcRoundSearch class="mt-0.5" />+ <Tooltip content="Zoom out">+ <IconCapZoomOut+ onClick={() => {+ state.timelineTransform.updateZoom(+ state.timelineTransform.zoom * 1.1,+ playbackTime()+ );+ }}+ class="text-gray-500 size-5"+ />+ </Tooltip>+ <Tooltip content="Zoom in">+ <IconCapZoomIn+ onClick={() => {+ state.timelineTransform.updateZoom(+ state.timelineTransform.zoom / 1.1,+ playbackTime()+ );+ }}+ class="text-gray-500 size-5"+ />+ </Tooltip>+ <p class="text-sm tabular-nums text-gray-500">+ {Math.min(+ Math.max(1 - state.timelineTransform.zoom / zoomOutLimit(), 0),+ 1+ ).toFixed(2) + "x"}+ </p><Sliderclass="w-24"minValue={0}@@ -239,9 +270,9 @@ export function Player() {);}-function Time(props: { seconds: number; fps?: number }) {+function Time(props: { seconds: number; fps?: number; class?: string }) {return (- <span class="text-gray-400 text-[0.875rem] tabular-nums">+ <span class={cx("text-gray-400 text-sm tabular-nums", props.class)}>{formatTime(props.seconds, props.fps ?? FPS)}</span>);diff --git a/apps/desktop/src/routes/editor/ShadowSettings.tsx b/apps/desktop/src/routes/editor/ShadowSettings.tsxindex ac3265808..bbac0fb50 100644--- a/apps/desktop/src/routes/editor/ShadowSettings.tsx+++ b/apps/desktop/src/routes/editor/ShadowSettings.tsx@@ -1,74 +1,89 @@-import { Collapsible } from "@kobalte/core/collapsible";-+import { cx } from "cva";+import { createSignal } from "solid-js";import { Slider } from "./ui";interface Props {size: {- value: any[];+ value: number[];onChange: (v: number[]) => void;};opacity: {- value: any[];+ value: number[];onChange: (v: number[]) => void;};blur: {- value: any[];+ value: number[];onChange: (v: number[]) => void;};scrollRef?: HTMLDivElement;}-const ShadowSettings = ({ size, opacity, blur, scrollRef }: Props) => {+const ShadowSettings = (props: Props) => {+ const [isOpen, setIsOpen] = createSignal(false);++ const handleToggle = () => {+ setIsOpen(!isOpen());+ if (props.scrollRef) {+ setTimeout(() => {+ props.scrollRef!.scrollTo({+ top: props.scrollRef!.scrollHeight,+ behavior: "smooth",+ });+ }, 50);+ }+ };+return (- <Collapsible>- <Collapsible.Trigger- onClick={() => {- if (!scrollRef) return;- setTimeout(() => {- scrollRef.scrollTo({- top: scrollRef.scrollHeight,- behavior: "smooth",- });- }, 50);- }}+ <div class="w-full">+ <button+ type="button"+ onClick={handleToggle}class="flex gap-1 items-center w-full font-medium text-left text-gray-500 hover:text-gray-700">- Advanced shadow settings- <IconCapChevronDown class="w-4 h-4 transition-transform aria-expanded:rotate-180" />- </Collapsible.Trigger>- <Collapsible.Content class="mt-4 space-y-8 font-medium animate-in slide-in-from-top-2 fade-in">- <div class="flex flex-col gap-6">- <span class="text-sm text-gray-500">Size</span>- <Slider- value={size.value}- onChange={size.onChange}- minValue={0}- maxValue={100}- step={0.1}- />- </div>- <div class="flex flex-col gap-6">- <span class="text-sm text-gray-500">Opacity</span>- <Slider- value={opacity.value}- onChange={opacity.onChange}- minValue={0}- maxValue={100}- step={0.1}- />- </div>- <div class="flex flex-col gap-6">- <span class="text-sm text-gray-500">Blur</span>- <Slider- value={blur.value}- onChange={blur.onChange}- minValue={0}- maxValue={100}- step={0.1}- />+ <span>Advanced shadow settings</span>+ <IconCapChevronDown+ class={cx(+ "size-5",+ isOpen() ? "transition-transform rotate-180" : ""+ )}+ />+ </button>++ {isOpen() && (+ <div class="mt-4 space-y-8 font-medium">+ <div class="flex flex-col gap-6">+ <span class="text-sm text-gray-500">Size</span>+ <Slider+ value={props.size.value}+ onChange={props.size.onChange}+ minValue={0}+ maxValue={100}+ step={0.1}+ />+ </div>+ <div class="flex flex-col gap-6">+ <span class="text-sm text-gray-500">Opacity</span>+ <Slider+ value={props.opacity.value}+ onChange={props.opacity.onChange}+ minValue={0}+ maxValue={100}+ step={0.1}+ />+ </div>+ <div class="flex flex-col gap-6">+ <span class="text-sm text-gray-500">Blur</span>+ <Slider+ value={props.blur.value}+ onChange={props.blur.onChange}+ minValue={0}+ maxValue={100}+ step={0.1}+ />+ </div></div>- </Collapsible.Content>- </Collapsible>+ )}+ </div>);};diff --git a/apps/desktop/src/routes/editor/Timeline.tsx b/apps/desktop/src/routes/editor/Timeline.tsxindex 311b87d00..bf70af267 100644--- a/apps/desktop/src/routes/editor/Timeline.tsx+++ b/apps/desktop/src/routes/editor/Timeline.tsx@@ -80,7 +80,7 @@ export function Timeline() {}});- const xPadding = 12;+ const xPadding = 20;if (!project.timeline?.zoomSegments ||@@ -200,7 +200,7 @@ export function Timeline() {{(time) => (<divclass={cx(- "flex absolute bottom-0 top-4 left-5 z-10 justify-center items-center w-px pointer-events-none bg-[currentColor]",+ "flex absolute bottom-0 top-4 left-5 z-10 justify-center items-center w-px bg-gradient-to-b h-[70%] from-gray-400 to-transparent pointer-events-none",split() ? "text-red-300" : "text-black-transparent-20")}style={{@@ -210,7 +210,7 @@ export function Timeline() {}px)`,}}>- <div class="size-2 bg-[currentColor] rounded-full absolute -top-2" />+ <div class="absolute -top-2 bg-gray-400 rounded-full size-3" /><Show when={split()}><div class="absolute size-[2rem] bg-[currentColor] z-20 top-6 rounded-lg flex items-center justify-center"><IconCapScissors class="size-[1.25rem] text-gray-50 z-20" />@@ -221,7 +221,7 @@ export function Timeline() {</Show><Show when={!split()}><div- class="absolute bottom-0 top-4 z-10 w-px bg-red-300 pointer-events-none"+ class="absolute bottom-0 top-4 h-[70%] z-10 w-px bg-gradient-to-b from-[#66D0FF] pointer-events-none to-blue-transparent-0"style={{left: `${xPadding}px`,transform: `translateX(${Math.min(@@ -231,7 +231,7 @@ export function Timeline() {)}px)`,}}>- <div class="size-2 bg-red-300 rounded-full -mt-2 -ml-[calc(0.25rem-0.5px)]" />+ <div class="size-3 bg-[#66D0FF] rounded-full -mt-2 -ml-[calc(0.37rem-0.5px)]" /></div></Show><ClipTrack ref={setTimelineRef} />@@ -268,20 +268,23 @@ function TimelineMarkings() {<div class="relative mb-1 h-4 text-xs"><For each={timelineMarkings()}>{(second) => (- <div- class="absolute bottom-1 left-0 text-center rounded-full w-1 h-1 bg-[--text-tertiary] text-[--text-tertiary]"- style={{- left: `${- (second - state.timelineTransform.position) / secsPerPixel() - 1- }px`,- }}- >- <Show when={second % 1 === 0}>- <div class="absolute -top-4 -translate-x-1/2">- {formatTime(second)}- </div>- </Show>- </div>+ <>+ <div+ class="absolute bottom-1 left-0 text-center rounded-full w-1 h-1 bg-[--text-tertiary] text-[--text-tertiary]"+ style={{+ left: `${+ (second - state.timelineTransform.position) / secsPerPixel() -+ 1+ }px`,+ }}+ >+ <Show when={second % 1 === 0}>+ <div class="absolute -top-5 -translate-x-1/2">+ {formatTime(second)}+ </div>+ </Show>+ </div>+ </>)}</For></div>@@ -314,6 +317,20 @@ function ClipTrack(props: Pick<ComponentProps<"div">, "ref">) {}}+ const timelineMarkings = () => {+ const resolution =+ TIMELINE_MARKING_RESOLUTIONS.find(+ (r) => state.timelineTransform.zoom / r <= MAX_TIMELINE_MARKINGS+ ) ?? 30;++ const diff = state.timelineTransform.position % resolution;++ return Array.from(+ { length: (state.timelineTransform.zoom + 5) / resolution },+ (_, i) => state.timelineTransform.position - diff + (i + 1) * resolution+ );+ };+return (<TrackRoot ref={props.ref}><For each={segments()}>@@ -325,7 +342,10 @@ function ClipTrack(props: Pick<ComponentProps<"div">, "ref">) {return (<SegmentRoot- class="border-blue-300"+ class={cx(+ "overflow-hidden relative border transition-colors duration-300 group",+ "hover:border-gray-500"+ )}innerClass="ring-blue-300"segment={{...segment,@@ -357,8 +377,22 @@ function ClipTrack(props: Pick<ComponentProps<"div">, "ref">) {);}}>+ <For each={timelineMarkings()}>+ {(second) => (+ <div+ style={{+ left: `${second / secsPerPixel() + -0.5}px`,+ }}+ class="absolute z-10 w-px h-14 bg-gradient-to-b to-transparent from-white-transparent-80 dark:from-black-transparent-60"+ />+ )}+ </For>+<SegmentHandle- class="bg-blue-300"+ class={cx(+ "absolute opacity-0 top-[50%] bg-gradient-to-r -translate-y-1/2 left-2.5 z-10 w-[3px] h-8 bg-white rounded-full",+ "group-hover:opacity-100"+ )}onMouseDown={(downEvent) => {const start = segment.start;@@ -417,32 +451,14 @@ function ClipTrack(props: Pick<ComponentProps<"div">, "ref">) {});}}/>- <SegmentContent class="justify-between bg-gradient-to-r from-[#2675DB] via-[#5CA3FF] to-[#2675DB]">- <span class="text-black-transparent-60 text-[0.625rem] mt-auto">- {formatTime(segment.start)}- </span>- {/* <Show when={segments().length > 1}>- <button- onClick={() => {- setProject(- "timeline",- "segments",- produce((segments) => {- segments.splice(i(), 1);- })- );- }}- class="flex flex-col justify-center items-center bg-gray-50 rounded-full opacity-0 transition-opacity size-7 group/button group-hover:opacity-100"- >- <IconCapTrash class="text-gray-400 transition-colors size-4 group-hover/button:text-gray-500" />- </button>- </Show> */}- <span class="text-black-transparent-60 text-[0.625rem] mt-auto">- {formatTime(segment.end)}- </span>+ <SegmentContent class="justify-between relative bg-gradient-to-r timeline-gradient-border from-[#2675DB] via-[#5CA3FF] to-[#2675DB] shadow-[inset_0_5px_10px_5px_rgba(255,255,255,0.2)]">+ <div class="absolute inset-0 -top-[120px] bg-white w-[500px] h-[150px] rounded-full mx-auto blur-[50px] mix-blend-overlay opacity-30" /></SegmentContent><SegmentHandle- class="bg-blue-300"+ class={cx(+ "absolute top-[50%] opacity-0 -translate-y-1/2 right-2.5 z-10 w-[3px] h-8 bg-white rounded-full",+ "group-hover:opacity-100"+ )}onMouseDown={(downEvent) => {const end = segment.end;@@ -518,7 +534,7 @@ function ZoomTrack(props: {return (<>- <div class="w-full h-2" />+ <div class="mt-2 w-full h-2" /><TrackRootonMouseMove={(e) => {@@ -613,16 +629,18 @@ function ZoomTrack(props: {>{(time) => (<SegmentRoot- class="border-red-300 opacity-70 pointer-events-none group"+ class="pointer-events-none"innerClass="ring-red-300"segment={{start: time(),end: time() + 1,}}>- <SegmentHandle class="bg-red-300" />- <SegmentContent class="bg-red-50" />- <SegmentHandle class="bg-red-300" />+ <SegmentContent class="bg-gradient-to-r zoom-gradient-border bg-[#adadad] transition-colors group shadow-[inset_0_-5px_20px_3px_rgba(255,255,255,0.8)]">+ <p class="w-full text-sm text-center text-gray-500 text-primary dark:text-gray-50">+ + Zoom+ </p>+ </SegmentContent></SegmentRoot>)}</Show>@@ -706,7 +724,7 @@ function ZoomTrack(props: {return (<SegmentRoot- class="bg-red-50 border-red-300 transition-colors group hover:bg-opacity-80"+ class="bg-gradient-to-r relative zoom-gradient-border hover:border duration-300 hover:border-gray-500 from-[#292929] via-[#434343] to-[#292929] transition-colors group shadow-[inset_0_8px_12px_3px_rgba(255,255,255,0.2)]"innerClass="ring-red-300"segment={segment}onMouseEnter={() => {@@ -717,7 +735,9 @@ function ZoomTrack(props: {}}><SegmentHandle- class="bg-red-300 transition-colors hover:opacity-80"+ class={cx(+ "absolute top-[50%] group-hover:opacity-100 opacity-0 -translate-y-1/2 left-2.5 z-10 w-[3px] h-8 bg-white rounded-full"+ )}onMouseDown={createMouseDownDrag(() => {const start = segment.start;@@ -799,9 +819,9 @@ function ZoomTrack(props: {return (<Show when={ctx.width() > 100}><div class="flex flex-col gap-1 justify-center items-center text-xs text-gray-500 whitespace-nowrap">- <div class="flex gap-1 items-center text-red-300">- <IconLucideSearch class="size-3" />{" "}- {zoomPercentage()}+ <div class="flex gap-1 items-center text-white text-md">+ <IconLucideSearch class="size-3.5" />{" "}+ {zoomPercentage()}{" "}</div></div></Show>@@ -809,7 +829,9 @@ function ZoomTrack(props: {})()}</SegmentContent><SegmentHandle- class="bg-red-300 transition-colors hover:opacity-80"+ class={cx(+ "absolute top-[50%] group-hover:opacity-100 opacity-0 -translate-y-1/2 right-2.5 z-10 w-[3px] h-8 bg-white rounded-full"+ )}onMouseDown={createMouseDownDrag(() => {const end = segment.end;@@ -911,7 +933,7 @@ function SegmentRoot(<div{...props}class={cx(- "absolute border rounded-[calc(0.75rem+1px)] h-[3rem] w-full",+ "absolute border rounded-[calc(0.75rem+1px)] h-14 w-full",props.class,isSelected() && "wobble-wrapper")}diff --git a/apps/desktop/src/routes/editor/context.ts b/apps/desktop/src/routes/editor/context.tsindex 60a40a1b1..159ec8946 100644--- a/apps/desktop/src/routes/editor/context.ts+++ b/apps/desktop/src/routes/editor/context.ts@@ -11,7 +11,7 @@ import {createEffect,createResource,createSignal,- on,+ on} from "solid-js";import { createStore, reconcile, unwrap } from "solid-js/store";@@ -294,7 +294,7 @@ export const [TimelineContextProvider, useTimelineContext] =(props: {duration: number;secsPerPixel: number;- timelineBounds: Readonly<NullableBounds>;+ timelineBounds: Readonly<NullableBounds>;}) => {return {duration: () => props.duration,diff --git a/apps/desktop/src/routes/editor/ui.tsx b/apps/desktop/src/routes/editor/ui.tsxindex 619e84564..cf6509f20 100644--- a/apps/desktop/src/routes/editor/ui.tsx+++ b/apps/desktop/src/routes/editor/ui.tsx@@ -87,7 +87,7 @@ export function Slider(props: ComponentProps<typeof KSlider>) {<KSlider.Fill class="absolute -ml-2 h-full bg-gray-400 rounded-full ui-disabled:bg-gray-300" /><KSlider.Thumbclass={cx(- "bg-gray-500 rounded-full outline-none size-4 -top-[6.5px] outline-2 outline-offset-2 focus-visible:outline-blue-300 ui-disabled:bg-gray-400"+ "bg-gray-500 rounded-full outline-none size-4 -top-[6.5px] transition-shadow duration-200 focus:ring-2 focus:ring-gray-500 focus:ring-offset-2 focus:ring-offset-gray-200 ui-disabled:bg-gray-400")}/></KSlider.Track>@@ -314,7 +314,7 @@ export function EditorButton<T extends ValidComponent = "button">(return (<>{local.tooltipText || local.comingSoon ? (- <Tooltip content={local.comingSoon ? "Coming soon" : local.tooltipText}>+ <Tooltip content={local.comingSoon ? "Coming Soon" : local.tooltipText}><Polymorphicas="button"{...others}diff --git a/apps/desktop/src/styles/theme.css b/apps/desktop/src/styles/theme.cssindex cb08c2861..d39c040e8 100644--- a/apps/desktop/src/styles/theme.css+++ b/apps/desktop/src/styles/theme.css@@ -2,13 +2,14 @@:root {/* Light theme variables */- --gray-50: #ffffff;- --gray-100: #f7f8fa;- --gray-200: #e2e4ea;- --gray-300: #c9cedb;- --gray-400: #8991a3;- --gray-450: #F3F3F3;- --gray-500: #12161f;+ --gray-50: #ffffff; /* Pure white background */+ --gray-100: #f8f9fb; /* Soft background */+ --gray-200: #e4e6ed; /* Light borders/dividers */+ --gray-300: #c7ccda; /* Subtle highlights */+ --gray-400: #868e9f; /* Secondary text - slightly softened */+ --gray-450: #eaecef; /* Adjusted to maintain balance */+ --gray-500: #161b26; /* Primary text - deep, rich contrast */+--text-primary: rgba(18, 22, 31, 0.95); /* Section titles, headings */--text-secondary: rgba(18, 22, 31, 0.85); /* Important labels */@@ -25,6 +26,9 @@--white-transparent-10: rgba(255, 255, 255, 0.1);--white-transparent-20: rgba(255, 255, 255, 0.2);--white-transparent-40: rgba(255, 255, 255, 0.4);+ --white-transparent-60: rgba(255, 255, 255, 0.6);+ --white-transparent-80: rgba(255, 255, 255, 0.8);+--white: #fff;--blue-50: #ebf1ff;@@ -34,6 +38,7 @@--blue-400: #3f75e0;--blue-500: rgb(54, 102, 197);+ --blue-transparent-0: rgba(34, 64, 122, 0);--blue-transparent-10: rgba(34, 64, 122, 0.1);--blue-transparent-20: rgba(34, 64, 122, 0.2);@@ -52,13 +57,14 @@/* Dark theme variables */:root.dark {/* Main background colors */- --gray-50: #161616; /* Main background */- --gray-100: #191919; /* Secondary background */- --gray-200: #232323; /* Borders and dividers */- --gray-300: #3a3a3a; /* Subtle highlights */- --gray-400: #9d9d9d; /* Secondary text - descriptions */- --gray-450: #F3F3F3;- --gray-500: #ffffff; /* Primary text - titles/headings (back to white) */+ --gray-50: #141414; /* Main background - slightly darker */+ --gray-100: #181818; /* Secondary background */+ --gray-200: #222222; /* Borders and dividers */+ --gray-300: #323232; /* Subtle highlights */+ --gray-400: #868686; /* Secondary text - slightly softer */+ --gray-450: #EAEAEA; /* Adjusted to be more balanced */+ --gray-500: #FFFFFF; /* Primary text - titles/headings */+/* Add new variables for text hierarchy */--text-primary: rgba(255, 255, 255, 0.95); /* Section titles, headings */@@ -78,6 +84,9 @@--white-transparent-10: rgba(18, 22, 31, 0.1);--white-transparent-20: rgba(18, 22, 31, 0.2);--white-transparent-40: rgba(18, 22, 31, 0.4);+ --white-transparent-60: rgba(18, 22, 31, 0.6);+ --white-transparent-80: rgba(18, 22, 31, 0.8);+--white: #fff;/* Accent colors remain mostly the same but adjusted for dark theme */diff --git a/apps/desktop/src/styles/timeline.css b/apps/desktop/src/styles/timeline.cssindex bd8c5d36d..520176f49 100644--- a/apps/desktop/src/styles/timeline.css+++ b/apps/desktop/src/styles/timeline.css@@ -10,5 +10,34 @@.wobble-wrapper {animation: wobble 1s ease-in-out infinite;will-change: transform;- background: rgba(255, 0, 0, 0.1) !important;-}\ No newline at end of file+ background: rgb(38, 57, 116) !important;+ box-shadow: inset 0px 8px 16px 0px rgba(134, 165, 249, 0.503) !important;+}++.timeline-gradient-border::before {+ content: '';+ position: absolute;+ inset: 0;+ padding: 1px;+ border-radius: 12px;+ background: linear-gradient(to bottom, #ffffff4a 50%, #ffffff00 100%);+ -webkit-mask:+ linear-gradient(#fff 0 0) content-box,+ linear-gradient(#fff 0 0);+ -webkit-mask-composite: xor;+ mask-composite: exclude;+}++.zoom-gradient-border::before {+ content: '';+ position: absolute;+ inset: 0;+ padding: 1px;+ border-radius: 12px;+ background: linear-gradient(to bottom, #ffffff1f 50%, #ffffff00 100%);+ -webkit-mask:+ linear-gradient(#fff 0 0) content-box,+ linear-gradient(#fff 0 0);+ -webkit-mask-composite: xor;+ mask-composite: exclude;+}\ No newline at end of filediff --git a/packages/ui-solid/icons/next.svg b/packages/ui-solid/icons/next.svgnew file mode 100644index 000000000..a79924ad4--- /dev/null+++ b/packages/ui-solid/icons/next.svg@@ -0,0 +1,3 @@+<svg width="12" height="15" viewBox="0 0 12 15" fill="currentColor" xmlns="http://www.w3.org/2000/svg">+<path d="M12 0.900003V14.1C12 14.2591 11.9368 14.4117 11.8243 14.5243C11.7117 14.6368 11.5591 14.7 11.4 14.7C11.2409 14.7 11.0883 14.6368 10.9757 14.5243C10.8632 14.4117 10.8 14.2591 10.8 14.1V8.90775L1.83225 14.5163C1.65165 14.6296 1.44403 14.6927 1.23088 14.6988C1.01774 14.705 0.806815 14.6541 0.619954 14.5514C0.433093 14.4487 0.277086 14.2979 0.168086 14.1146C0.0590853 13.9313 0.00105403 13.7222 0 13.509V1.491C0.00105403 1.27777 0.0590853 1.06869 0.168086 0.885424C0.277086 0.702153 0.433093 0.551349 0.619954 0.448625C0.806815 0.345901 1.01774 0.294992 1.23088 0.301168C1.44403 0.307344 1.65165 0.370382 1.83225 0.483753L10.8 6.09225V0.900003C10.8 0.740873 10.8632 0.588261 10.9757 0.475739C11.0883 0.363217 11.2409 0.300003 11.4 0.300003C11.5591 0.300003 11.7117 0.363217 11.8243 0.475739C11.9368 0.588261 12 0.740873 12 0.900003Z" fill="currentColor"/>+</svg>diff --git a/packages/ui-solid/icons/pause.svg b/packages/ui-solid/icons/pause.svgindex 1675d9cc1..f325322d8 100644--- a/packages/ui-solid/icons/pause.svg+++ b/packages/ui-solid/icons/pause.svg@@ -1,4 +1,3 @@-<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M4.16667 4.99999C4.16667 4.07952 4.91286 3.33333 5.83334 3.33333C6.75381 3.33333 7.50001 4.07952 7.50001 4.99999V15C7.50001 15.9205 6.75381 16.6667 5.83334 16.6667C4.91286 16.6667 4.16667 15.9205 4.16667 15V4.99999Z" stroke="currentColor" stroke-width="1.66667"/>-<path d="M12.5 4.99999C12.5 4.07952 13.2462 3.33333 14.1667 3.33333C15.0871 3.33333 15.8333 4.07952 15.8333 4.99999V15C15.8333 15.9205 15.0871 16.6667 14.1667 16.6667C13.2462 16.6667 12.5 15.9205 12.5 15V4.99999Z" stroke="currentColor" stroke-width="1.66667"/>+<svg width="17" height="19" viewBox="0 0 17 19" fill="currentColor" xmlns="http://www.w3.org/2000/svg">+<path d="M16.6587 2.14536V17.1454C16.6587 17.5432 16.5007 17.9247 16.2194 18.206C15.938 18.4873 15.5565 18.6454 15.1587 18.6454H11.4087C11.0109 18.6454 10.6293 18.4873 10.348 18.206C10.0667 17.9247 9.90869 17.5432 9.90869 17.1454V2.14536C9.90869 1.74753 10.0667 1.366 10.348 1.08469C10.6293 0.80339 11.0109 0.645355 11.4087 0.645355H15.1587C15.5565 0.645355 15.938 0.80339 16.2194 1.08469C16.5007 1.366 16.6587 1.74753 16.6587 2.14536ZM5.40869 0.645355H1.65869C1.26087 0.645355 0.879336 0.80339 0.598031 1.08469C0.316727 1.366 0.158691 1.74753 0.158691 2.14536V17.1454C0.158691 17.5432 0.316727 17.9247 0.598031 18.206C0.879336 18.4873 1.26087 18.6454 1.65869 18.6454H5.40869C5.80652 18.6454 6.18805 18.4873 6.46935 18.206C6.75066 17.9247 6.90869 17.5432 6.90869 17.1454V2.14536C6.90869 1.74753 6.75066 1.366 6.46935 1.08469C6.18805 0.80339 5.80652 0.645355 5.40869 0.645355Z" fill="currentColor"/></svg>diff --git a/packages/ui-solid/icons/play.svg b/packages/ui-solid/icons/play.svgindex db8d36f2f..dc074f852 100644--- a/packages/ui-solid/icons/play.svg+++ b/packages/ui-solid/icons/play.svg@@ -1,3 +1,3 @@-<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">-<path d="M16.404 7.91074L8.87295 2.96175C7.21052 1.8693 5 3.06176 5 5.05101V14.949C5 16.9382 7.21052 18.1307 8.87295 17.0383L16.404 12.0893C17.9068 11.1018 17.9068 8.89826 16.404 7.91074Z" stroke="currentColor" stroke-width="1.66667" stroke-linejoin="round"/>+<svg width="10" height="11" viewBox="0 0 10 11" fill="currentColor" xmlns="http://www.w3.org/2000/svg">+<path d="M10 5.5C10.0004 5.63058 9.9608 5.75903 9.88513 5.87284C9.80946 5.98665 9.70027 6.08196 9.56818 6.14949L1.38182 10.3868C1.2438 10.4583 1.08572 10.4973 0.923908 10.4999C0.762096 10.5024 0.602417 10.4683 0.461364 10.4012C0.321653 10.3351 0.205271 10.2387 0.124184 10.122C0.0430974 10.0052 0.000233442 9.87225 0 9.73682V1.26318C0.000233442 1.12775 0.0430974 0.994814 0.124184 0.878045C0.205271 0.761275 0.321653 0.664887 0.461364 0.598793C0.602417 0.531656 0.762096 0.497596 0.923908 0.500132C1.08572 0.502667 1.2438 0.541706 1.38182 0.613215L9.56818 4.85051C9.70027 4.91804 9.80946 5.01335 9.88513 5.12716C9.9608 5.24097 10.0004 5.36942 10 5.5Z" fill="currentColor"/></svg>diff --git a/packages/ui-solid/icons/prev.svg b/packages/ui-solid/icons/prev.svgnew file mode 100644index 000000000..0415b4a3d--- /dev/null+++ b/packages/ui-solid/icons/prev.svg@@ -0,0 +1,3 @@+<svg width="12" height="15" viewBox="0 0 12 15" fill="currentColor" xmlns="http://www.w3.org/2000/svg">+<path d="M12 1.491V13.509C11.9978 13.7218 11.939 13.9301 11.8297 14.1127C11.7205 14.2952 11.5646 14.4454 11.3782 14.5479C11.1917 14.6504 10.9814 14.7015 10.7687 14.696C10.556 14.6904 10.3486 14.6284 10.1678 14.5163L1.2 8.90775V14.1C1.2 14.2591 1.13679 14.4117 1.02426 14.5243C0.911742 14.6368 0.75913 14.7 0.6 14.7C0.44087 14.7 0.288258 14.6368 0.175736 14.5243C0.0632142 14.4117 0 14.2591 0 14.1V0.900003C0 0.740873 0.0632142 0.588261 0.175736 0.475739C0.288258 0.363217 0.44087 0.300003 0.6 0.300003C0.75913 0.300003 0.911742 0.363217 1.02426 0.475739C1.13679 0.588261 1.2 0.740873 1.2 0.900003V6.09225L10.1678 0.483753C10.3484 0.370382 10.556 0.307344 10.7691 0.301168C10.9823 0.294992 11.1932 0.345901 11.38 0.448625C11.5669 0.551349 11.7229 0.702153 11.8319 0.885424C11.9409 1.06869 11.9989 1.27777 12 1.491Z" fill="currentColor"/>+</svg>diff --git a/packages/ui-solid/icons/zoom-in.svg b/packages/ui-solid/icons/zoom-in.svgnew file mode 100644index 000000000..deaf81253--- /dev/null+++ b/packages/ui-solid/icons/zoom-in.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-zoom-in"><circle cx="11" cy="11" r="8"/><line x1="21" x2="16.65" y1="21" y2="16.65"/><line x1="11" x2="11" y1="8" y2="14"/><line x1="8" x2="14" y1="11" y2="11"/></svg>\ No newline at end of filediff --git a/packages/ui-solid/icons/zoom-out.svg b/packages/ui-solid/icons/zoom-out.svgnew file mode 100644index 000000000..0dab38198--- /dev/null+++ b/packages/ui-solid/icons/zoom-out.svg@@ -0,0 +1 @@+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-zoom-out"><circle cx="11" cy="11" r="8"/><line x1="21" x2="16.65" y1="21" y2="16.65"/><line x1="8" x2="14" y1="11" y2="11"/></svg>\ No newline at end of filediff --git a/packages/ui-solid/src/auto-imports.d.ts b/packages/ui-solid/src/auto-imports.d.tsindex 2ef74ffcb..4fe420c8a 100644--- a/packages/ui-solid/src/auto-imports.d.ts+++ b/packages/ui-solid/src/auto-imports.d.ts@@ -42,20 +42,27 @@ declare global {const IconCapMessageBubble: typeof import('~icons/cap/message-bubble.jsx')['default']const IconCapMicrophone: typeof import('~icons/cap/microphone.jsx')['default']const IconCapMoreVertical: typeof import('~icons/cap/more-vertical.jsx')['default']+ const IconCapNext: typeof import('~icons/cap/next.jsx')['default']const IconCapPadding: typeof import('~icons/cap/padding.jsx')['default']+ const IconCapPause: typeof import('~icons/cap/pause.jsx')['default']const IconCapPauseCircle: typeof import('~icons/cap/pause-circle.jsx')['default']+ const IconCapPlay: typeof import('~icons/cap/play.jsx')['default']const IconCapPlayCircle: typeof import('~icons/cap/play-circle.jsx')['default']const IconCapPresets: typeof import('~icons/cap/presets.jsx')['default']+ const IconCapPrev: typeof import('~icons/cap/prev.jsx')['default']const IconCapRedo: typeof import('~icons/cap/redo.jsx')['default']const IconCapRestart: typeof import('~icons/cap/restart.jsx')['default']const IconCapScissors: typeof import('~icons/cap/scissors.jsx')['default']const IconCapSettings: typeof import('~icons/cap/settings.jsx')['default']const IconCapShadow: typeof import('~icons/cap/shadow.jsx')['default']const IconCapSquare: typeof import('~icons/cap/square.jsx')['default']+ const IconCapStop: typeof import('~icons/cap/stop.jsx')['default']const IconCapStopCircle: typeof import('~icons/cap/stop-circle.jsx')['default']const IconCapTrash: typeof import('~icons/cap/trash.jsx')['default']const IconCapUndo: typeof import('~icons/cap/undo.jsx')['default']const IconCapUpload: typeof import('~icons/cap/upload.jsx')['default']+ const IconCapZoomIn: typeof import('~icons/cap/zoom-in.jsx')['default']+ const IconCapZoomOut: typeof import('~icons/cap/zoom-out.jsx')['default']const IconHugeiconsEaseCurveControlPoints: typeof import('~icons/hugeicons/ease-curve-control-points.jsx')['default']const IconIcBaselineMonitor: typeof import('~icons/ic/baseline-monitor.jsx')['default']const IconIcRoundSearch: typeof import('~icons/ic/round-search.jsx')['default']diff --git a/packages/ui-solid/tailwind.config.js b/packages/ui-solid/tailwind.config.jsindex 2412c62f1..21f741b3b 100644--- a/packages/ui-solid/tailwind.config.js+++ b/packages/ui-solid/tailwind.config.js@@ -31,6 +31,8 @@ module.exports = {10: "var(--white-transparent-10)",20: "var(--white-transparent-20)",40: "var(--white-transparent-40)",+ 60: "var(--white-transparent-60)",+ 80: "var(--white-transparent-80)",},blue: {50: "var(--blue-50)",@@ -40,6 +42,7 @@ module.exports = {400: "var(--blue-400)",},"blue-transparent": {+ 0: "var(--blue-transparent-0)",10: "var(--blue-transparent-10)",20: "var(--blue-transparent-20)",},