File tree Expand file tree Collapse file tree 6 files changed +7
-5
lines changed
editor/src/core/extensions/custom-image/components Expand file tree Collapse file tree 6 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ export function ImageAlignmentAction(props: Props) {
4242 </ button >
4343 </ Tooltip >
4444 { isDropdownOpen && (
45- < div className = "absolute top-full left-1/2 -translate-x-1/2 mt-0.5 h-7 bg-black/80 flex items-center gap-2 px-2 rounded-sm" >
45+ < div className = "absolute top-full left-1/2 -translate-x-1/2 mt-0.5 h-7 bg-alpha- black-1000 flex items-center gap-2 px-2 rounded-sm" >
4646 { IMAGE_ALIGNMENT_OPTIONS . map ( ( option ) => (
4747 < Tooltip disabled = { isTouchDevice } key = { option . value } tooltipContent = { option . label } >
4848 < button
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ function ImageFullScreenModalWithoutPortal(props: Props) {
234234 } }
235235 onMouseDown = { handleMouseDown }
236236 />
237- < div className = "fixed bottom-10 left-1/2 -translate-x-1/2 flex items-center justify-center gap-1 rounded-md border border-subtle-1 py-2 divide-x divide-subtle-1 bg-black" >
237+ < div className = "fixed bottom-10 left-1/2 -translate-x-1/2 flex items-center justify-center gap-1 rounded-md border border-subtle-1 py-2 divide-x divide-subtle-1 bg-alpha- black-1200 " >
238238 < div className = "flex items-center" >
239239 < button
240240 type = "button"
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ export function ImageUploadStatus(props: Props) {
5353 if ( uploadStatus === undefined ) return null ;
5454
5555 return (
56- < div className = "absolute top-1 right-1 z-20 bg-black/60 rounded-sm text-11 font-medium w-10 text-center" >
56+ < div className = "absolute top-1 right-1 z-20 bg-alpha- black-800 rounded-sm text-11 font-medium w-10 text-center" >
5757 { displayStatus } %
5858 </ div >
5959 ) ;
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ function CloseButton({ onClick }: { onClick?: () => void }) {
116116 return (
117117 < button
118118 onClick = { onClick }
119- className = "rounded-sm p-1 hover:bg-black/5 dark:hover:bg-white/5 transition-colors"
119+ className = "rounded-sm p-1 hover:bg-alpha- black-100 dark:hover:bg-alpha- white-100 transition-colors"
120120 aria-label = "Dismiss"
121121 >
122122 < svg
Original file line number Diff line number Diff line change @@ -95,7 +95,7 @@ export function ModalPortal({
9595 >
9696 { showOverlay && (
9797 < div
98- className = { cn ( "absolute inset-0 bg-black bg-opacity-50 transition-opacity duration-300" , overlayClassName ) }
98+ className = { cn ( "absolute inset-0 bg-alpha- black-700 transition-opacity duration-300" , overlayClassName ) }
9999 onClick = { handleOverlayClick }
100100 aria-hidden = "true"
101101 />
Original file line number Diff line number Diff line change 77
88 /* ---------- Alpha colors ---------- */
99 /* White alpha */
10+ --color-white : oklch (1 0 0 );
1011 --color-alpha-white-0 : oklch (1 0 0 / 0% );
1112 --color-alpha-white-100 : oklch (1 0 0 / 5% );
1213 --color-alpha-white-200 : oklch (1 0 0 / 10% );
2223 --color-alpha-white-1200 : oklch (1 0 0 / 95% );
2324
2425 /* Black alpha */
26+ --color-black : oklch (0.1482 0.0034 196.79 );
2527 --color-alpha-black-0 : oklch (0.1482 0.0034 196.79 / 0% );
2628 --color-alpha-black-100 : oklch (0.1482 0.0034 196.79 / 5% );
2729 --color-alpha-black-200 : oklch (0.1482 0.0034 196.79 / 10% );
You can’t perform that action at this time.
0 commit comments