Skip to content

Commit fa1412d

Browse files
authored
Merge pull request #2448 from appwrite/update-gradient-colors
2 parents cb49559 + 2ad94cb commit fa1412d

2 files changed

Lines changed: 17 additions & 14 deletions

File tree

src/routes/(console)/project-[region]-[project]/databases/database-[database]/(suggestions)/empty.svelte

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,6 +1000,7 @@
10001000
position: fixed;
10011001
overflow: visible;
10021002
scrollbar-width: none;
1003+
--columns-range-pink-border-color: rgba(253, 54, 110, 0.24);
10031004
10041005
&.custom-columns {
10051006
width: unset;
@@ -1009,19 +1010,19 @@
10091010
display: none;
10101011
}
10111012
1012-
&:not(:has(.columns-range-overlay.thinking)) {
1013+
&:has(.columns-range-overlay) {
10131014
&
10141015
:global(
10151016
[role='cell']:has(.column-resizer-disabled):not([data-column-id^='$']):not(
10161017
[data-column-id='actions']
10171018
)
10181019
) {
1019-
box-shadow: 0 -1px 0 0 rgba(253, 54, 110, 0.24) inset !important;
1020+
box-shadow: 0 -1px 0 0 var(--columns-range-pink-border-color) inset !important;
10201021
transition: box-shadow 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
10211022
}
10221023
10231024
& :global([role='cell']:not([data-column-id='actions']) .column-resizer-disabled) {
1024-
border-left: var(--border-width-s, 1px) solid rgba(253, 54, 110, 0.24) !important;
1025+
border-left: var(--border-width-s, 1px) solid var(--columns-range-pink-border-color) !important;
10251026
transition: border-color 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
10261027
}
10271028
}
@@ -1071,7 +1072,7 @@
10711072
background: linear-gradient(
10721073
90deg,
10731074
transparent,
1074-
rgba(255, 255, 255, 0.08),
1075+
rgba(255, 255, 255, 0.8),
10751076
transparent
10761077
);
10771078
animation: inner-shimmer 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
@@ -1156,7 +1157,7 @@
11561157
background: linear-gradient(
11571158
180deg,
11581159
rgba(255, 255, 255, 0) 0%,
1159-
rgba(255, 255, 255, 0.855) 21%,
1160+
rgba(255, 255, 255, 0.86) 32.25%,
11601161
#fff 100%
11611162
);
11621163
z-index: 20; /* under overlay */
@@ -1170,10 +1171,9 @@
11701171
:global(.theme-dark) .spreadsheet-fade-bottom {
11711172
background: linear-gradient(
11721173
180deg,
1173-
rgba(25, 25, 28, 0.38) 13%,
1174-
rgba(25, 25, 28, 0.7) 21%,
1175-
rgba(25, 25, 28, 0.95) 38%,
1176-
var(--bgcolor-neutral-default, #19191c) 100%
1174+
rgba(29, 29, 33, 0) 0%,
1175+
rgba(29, 29, 33, 0.86) 21%,
1176+
#1d1d21 100%
11771177
);
11781178
}
11791179
@@ -1194,6 +1194,10 @@
11941194
}
11951195
}
11961196
1197+
:global(.theme-dark) .spreadsheet-container-outer {
1198+
--columns-range-pink-border-color: rgba(253, 54, 110, 0.12) !important;
1199+
}
1200+
11971201
:global(.theme-dark) .columns-range-overlay.thinking {
11981202
&::before {
11991203
background: linear-gradient(

src/routes/(console)/project-[region]-[project]/databases/database-[database]/table-[table]/layout/emptySheet.svelte

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@
325325
background: linear-gradient(
326326
180deg,
327327
rgba(255, 255, 255, 0) 0%,
328-
rgba(255, 255, 255, 0.855) 21%,
328+
rgba(255, 255, 255, 0.86) 32.25%,
329329
#ffffff 100%
330330
);
331331
z-index: 20;
@@ -347,10 +347,9 @@
347347
:global(.theme-dark) .spreadsheet-fade-bottom {
348348
background: linear-gradient(
349349
180deg,
350-
rgba(25, 25, 28, 0.38) 13%,
351-
rgba(25, 25, 28, 0.7) 21%,
352-
rgba(25, 25, 28, 0.95) 38%,
353-
var(--bgcolor-neutral-default, #19191c) 100%
350+
rgba(29, 29, 33, 0) 0%,
351+
rgba(29, 29, 33, 0.86) 21%,
352+
#1d1d21 100%
354353
);
355354
}
356355

0 commit comments

Comments
 (0)