Skip to content

Commit 212b742

Browse files
Merge pull request #626 from appwrite/feat-new-pink
feat: new pink
2 parents 6bf696a + 6a63bd3 commit 212b742

File tree

6 files changed

+25
-96
lines changed

6 files changed

+25
-96
lines changed

package-lock.json

Lines changed: 13 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
},
2020
"dependencies": {
2121
"@appwrite.io/console": "^0.3.0",
22-
"@appwrite.io/pink": "0.1.0-next.9",
23-
"@appwrite.io/pink-icons": "^0.1.0-next.9",
22+
"@appwrite.io/pink": "0.1.0",
23+
"@appwrite.io/pink-icons": "^0.1.0",
2424
"@popperjs/core": "^2.11.8",
2525
"@sentry/svelte": "^7.66.0",
2626
"@sentry/tracing": "^7.66.0",

src/lib/commandCenter/panels/template.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -382,9 +382,9 @@
382382
}
383383
384384
:global(.theme-dark) .card {
385-
--cmd-center-bg: hsl(var(--color-neutral-100-new));
385+
--cmd-center-bg: hsl(var(--color-neutral-100));
386386
--cmd-center-border: hsl(var(--color-neutral-150));
387-
--cmd-center-shadow: 0px 16px 32px 0px hsl(var(--color-neutral-110-new));
387+
--cmd-center-shadow: 0px 16px 32px 0px hsl(var(--color-neutral-110));
388388
389389
--kbd-bg: hsl(var(--color-neutral-150));
390390
@@ -394,8 +394,8 @@
394394
--result-bg: hsl(var(--color-neutral-200));
395395
--footer-bg: linear-gradient(
396396
180deg,
397-
hsl(var(--color-neutral-100-new)) 0%,
398-
hsl(var(--color-neutral-85-new)) 100%
397+
hsl(var(--color-neutral-100)) 0%,
398+
hsl(var(--color-neutral-85)) 100%
399399
);
400400
401401
--icon-color: hsl(var(--color-neutral-70));

src/lib/elements/table/cellCheck.svelte

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import { toggle } from '$lib/helpers/array';
33
import { isHTMLInputElement } from '$lib/helpers/types';
44
import { TableCell } from '.';
5-
import { InputCheckbox } from '../forms';
65
76
export let id: string;
87
export let selectedIds: string[] = [];
@@ -30,9 +29,10 @@
3029
tabindex="-1"
3130
on:click={handleClick}
3231
on:keypress={handleClick} />
33-
<InputCheckbox
34-
bind:element={el}
35-
id="select-{id}"
32+
<input
33+
{id}
34+
type="checkbox"
35+
bind:this={el}
3636
checked={selectedIds.includes(id)}
3737
on:click={handleClick} />
3838
</TableCell>

src/lib/elements/table/cellHeadCheck.svelte

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
<script lang="ts">
22
import { isHTMLInputElement } from '$lib/helpers/types';
3-
43
import { TableCellHead } from '.';
5-
import { InputCheckbox } from '../forms';
64
75
export let selected: string[] = [];
86
export let pageItemsIds: string[] = [];
@@ -25,9 +23,10 @@
2523
</script>
2624

2725
<TableCellHead width={10}>
28-
<InputCheckbox
26+
<input
2927
id="select-all"
3028
indeterminate={someSelected && !allSelected}
29+
type="checkbox"
3130
checked={allSelected}
3231
on:click={handleClick} />
3332
</TableCellHead>

src/routes/+layout.svelte

Lines changed: 0 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -213,76 +213,6 @@
213213
pointer-events: none;
214214
}
215215
216-
:root {
217-
/** Neutral **/
218-
219-
--color-neutral-0-new: 0 0% 100%; /* #ffffff */
220-
--color-neutral-5-new: 240 11% 98%; /* #FAFAFB */
221-
--color-neutral-10-new: 240 9% 94%; /* #EDEDF0 */
222-
--color-neutral-15-new: 240 4% 85%; /* #D8D8DB */
223-
--color-neutral-20-new: 240 3% 77%; /* #C3C3C6 */
224-
225-
--color-neutral-50-new: 240 2% 52%; /* #818186 */
226-
--color-neutral-60-new: 240 2% 43%; /* #6C6C71 */
227-
--color-neutral-70-new: 240 3% 35%; /* #56565C */
228-
229-
--color-neutral-80-new: 240 4% 27%; /* #414146 */
230-
--color-neutral-85-new: 240 4% 18%; /* #2D2D31 */
231-
--color-neutral-90-new: 240 7% 12%; /* #1D1D21 */
232-
--color-neutral-100-new: 240 6% 10%; /* #19191C */
233-
--color-neutral-110-new: 240 5% 8%; /* #141416 */
234-
235-
--color-neutral-0: var(--color-neutral-0-new);
236-
--color-neutral-5: var(--color-neutral-5-new);
237-
--color-neutral-10: var(--color-neutral-10-new);
238-
--color-neutral-30: var(--color-neutral-15-new);
239-
--color-neutral-50: var(--color-neutral-20-new);
240-
241-
--color-neutral-70: var(--color-neutral-50-new);
242-
--color-neutral-100: var(--color-neutral-60-new);
243-
--color-neutral-120: var(--color-neutral-70-new);
244-
245-
--color-neutral-150: var(--color-neutral-80-new);
246-
--color-neutral-200: var(--color-neutral-85-new);
247-
--color-neutral-300: var(--color-neutral-90-new);
248-
--color-neutral-400: var(--color-neutral-100-new);
249-
--color-neutral-500: var(--color-neutral-110-new);
250-
251-
// --color-neutral-0: 0 0% 100%; /* #ffffff */
252-
// --color-neutral-5: 240 11% 98%; /* #FAFAFB */
253-
// --color-neutral-10: 240 9% 94%; /* #EDEDF0 */
254-
// --color-neutral-15: 240 4% 85%; /* #D8D8DB */
255-
// --color-neutral-20: 240 3% 77%; /* #C3C3C6 */
256-
257-
// --color-neutral-50: 240 2% 52%; /* #818186 */
258-
// --color-neutral-60: 240 2% 43%; /* #6C6C71 */
259-
// --color-neutral-70: 240 3% 35%; /* #56565C */
260-
261-
// --color-neutral-80: 240 4% 27%; /* #414146 */
262-
// --color-neutral-85: 240 4% 18%; /* #2D2D31 */
263-
// --color-neutral-90: 240 7% 12%; /* #1D1D21 */
264-
// --color-neutral-100: 240 6% 10%; /* #19191C */
265-
}
266-
267-
.theme-dark .modal::backdrop {
268-
background-color: hsl(240 5% 8% / 0.6);
269-
}
270-
271-
.theme-dark .card-header {
272-
background: var(--url) #18181b;
273-
background-repeat: no-repeat;
274-
background-position: top right;
275-
}
276-
.theme-light .card-header {
277-
background-color: #fbfbfc;
278-
background-repeat: no-repeat;
279-
background-position: top right;
280-
}
281-
282-
.theme-dark .card {
283-
--p-card-bg-color: var(--color-neutral-100-new);
284-
}
285-
286216
.is-cloud {
287217
--heading-font: 'Aeonik Pro', arial, sans-serif;
288218
.heading-level {

0 commit comments

Comments
 (0)