Skip to content

Commit

Permalink
Merge pull request #567 from appwrite/feat-rebrand
Browse files Browse the repository at this point in the history
Rebrand
  • Loading branch information
TorstenDittmann authored Sep 28, 2023
2 parents 9ac7952 + 1499daf commit c57a776
Show file tree
Hide file tree
Showing 57 changed files with 1,685 additions and 3,394 deletions.
86 changes: 85 additions & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
<meta charset="utf-8" />
<meta name="description" content="" />
<link rel="icon" href="/favicon.png" />
<link rel="icon" type="image/svg+xml" href="/logos/appwrite-icon.svg" />
<link
rel="preload"
href="/fonts/inter/inter-v8-latin-600.woff2"
Expand Down Expand Up @@ -40,6 +40,90 @@
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-Air.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-AirItalic.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-Thin.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-ThinItalic.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-Light.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-LightItalic.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-Regular.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-RegularItalic.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-Medium.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-MediumItalic.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-Bold.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-BoldItalic.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-Black.woff2"
as="font"
type="font/woff2"
crossorigin />
<link
rel="preload"
href="https://fonts.appwrite.io/aeonik-pro/AeonikPro-BlackItalic.woff2"
as="font"
type="font/woff2"
crossorigin />
<link rel="preload" as="style" type="text/css" href="/fonts/main.css" />
<link rel="stylesheet" href="/fonts/main.css" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
Expand Down
10 changes: 7 additions & 3 deletions src/lib/commandCenter/panels/template.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -381,17 +381,21 @@
}
:global(.theme-dark) .card {
--cmd-center-bg: rgba(27, 27, 40, 0.8);
--cmd-center-bg: hsl(var(--color-neutral-100-new));
--cmd-center-border: hsl(var(--color-neutral-150));
--cmd-center-shadow: 0px 16px 32px 0px #14141f;
--cmd-center-shadow: 0px 16px 32px 0px hsl(var(--color-neutral-110-new));
--kbd-bg: hsl(var(--color-neutral-150));
--crumb-bg: hsl(var(--color-neutral-150));
--crumb-color: hsl(var(--color-neutral-30));
--result-bg: hsl(var(--color-neutral-200));
--footer-bg: linear-gradient(180deg, #1b1b28 0%, #282a3b 100%);
--footer-bg: linear-gradient(
180deg,
hsl(var(--color-neutral-100-new)) 0%,
hsl(var(--color-neutral-85-new)) 100%
);
--icon-color: hsl(var(--color-neutral-70));
--label-color: hsl(var(--color-neutral-30));
Expand Down
3 changes: 2 additions & 1 deletion src/lib/components/avatar.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
export let size: number;
export let src: string;
export let name: string;
export let color = 'transparent';
</script>

<img
width={size}
height={size}
class="avatar"
style="--size: {size / 16}rem"
style="--size: {size / 16}rem; background-color: {color};"
{src}
title={name}
alt={name} />
3 changes: 2 additions & 1 deletion src/lib/components/avatarInitials.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@
export let name: string;
export let size: number;
export let background: string | undefined = undefined;
export let color = 'black';
$: src = sdk.forConsole.avatars.getInitials(name, size * 2, size * 2, background).toString();
</script>

<Avatar {name} {size} {src} />
<Avatar {name} {size} {src} {color} />
9 changes: 2 additions & 7 deletions src/lib/components/empty.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,9 @@
on:click={track}
aria-label={`create {target}`}>
{#if $app.themeInUse === 'dark'}
<img src={EmptyDark} alt="create" aria-hidden="true" height="124" width="215" />
<img src={EmptyDark} alt="create" aria-hidden="true" width="376" />
{:else}
<img
src={EmptyLight}
alt="create"
aria-hidden="true"
height="124"
width="215" />
<img src={EmptyLight} alt="create" aria-hidden="true" width="376" />
{/if}
</button>
<slot>
Expand Down
14 changes: 0 additions & 14 deletions src/lib/elements/forms/button.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,3 @@
<slot />
</button>
{/if}

<style lang="scss">
.is-github {
background-color: #373b4d;
&:hover {
background-color: lighten($color: #373b4d, $amount: 2.5);
}
&:active {
background-color: darken($color: #373b4d, $amount: 5);
}
}
</style>
6 changes: 0 additions & 6 deletions src/lib/images/appwrite-gray-light.svg

This file was deleted.

13 changes: 13 additions & 0 deletions src/lib/images/appwrite-logo-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

3 comments on commit c57a776

@vercel
Copy link

@vercel vercel bot commented on c57a776 Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

console-cloud – ./

console-cloud-git-main-appwrite.vercel.app
console-cloud.vercel.app
console-cloud-appwrite.vercel.app

@vercel
Copy link

@vercel vercel bot commented on c57a776 Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on c57a776 Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

console-preview – ./

console-next.vercel.app
console-preview-git-main-appwrite.vercel.app
console-preview-appwrite.vercel.app

Please sign in to comment.