-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Include beta indicator on Appwrite Cloud #574
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -127,4 +131,50 @@ | |||
-webkit-background-clip: text; | |||
-webkit-text-fill-color: transparent; | |||
} | |||
|
|||
.aw-eyebrow { | |||
font-family: 'Source Code Pro'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't have Aeonik Fono
in the Console. Is that okay?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, we actually decided to use the operating systems font for monospace
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a fallback for monospace.
box-shadow: | ||
0.1875rem 0.1875rem var(--p-badges-shadow-bg-color), | ||
0.25rem 0.1875rem var(--p-badges-shadow-border-color), | ||
0.1875rem 0.25rem var(--p-badges-shadow-border-color), | ||
0.125rem 0.1875rem var(--p-badges-shadow-border-color), | ||
0.1875rem 0.125rem var(--p-badges-shadow-border-color); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The shadow on the website is black, but in the design is pinkish. Which should I follow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shadows might be tricky, I'd use what we have and create a task for fixing this one we do the porting to the new colors in pink
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd use what we have
@ArmanNik, what do you mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tried using the shadow-large
class, but it didn't add much of a shadow and it looked different than the design.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd personally say following the design is more important. Does using inspect on Figma (in dev mode) return a box-shadow property for you? If so, you can use that directly while Pink/Console is not updated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd personally say following the design is more important. Does using inspect on Figma (in dev mode) return a box-shadow property for you? If so, you can use that directly while Pink/Console is not updated
@TGlide the design doesn't use a box shadow. it uses extra divs and hard-coded sizes. I've been fiddling with the CSS for a few hours and made no progress so I'm thinking it might be better to leave as is for now and revisit when the website is updated. Then, we can update it in the Console. How does that sound?
src/lib/layout/header.svelte
Outdated
@@ -74,6 +75,11 @@ | |||
height="22" | |||
alt="Appwrite" /> | |||
</a> | |||
{#if isCloud} | |||
<div class="tag eyebrow-heading-3"> | |||
<span class="text u-x-small">Beta</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From what we have in pink, this seems like the smallest this element can get, but it doesn't match the design. How can I make it smaller?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could do something like style:font-size="0.5rem!important"
and try to match the design
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the font size didn't automatically adjust the size of the tag or margins so I had to tweak those manually.
@stnguyen90 I can't login, how does all of that look on mobile? |
6ae493b
to
d5067ab
Compare
@eldadfux I've added screenshots of mobile. |
src/lib/layout/header.svelte
Outdated
style="--p-tag-height: 25px; --p-tag-content-height: 18px;"> | ||
<span class="text u-x-small" style="margin-block: 3.5px; font-weight: 500">Beta</span> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should probably use rems if possible so it can scale with the users' base size.
Also I would add padding to the tag rather than margin to the text 🤔
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated!
box-shadow: | ||
0.1875rem 0.1875rem var(--p-badges-shadow-bg-color), | ||
0.25rem 0.1875rem var(--p-badges-shadow-border-color), | ||
0.1875rem 0.25rem var(--p-badges-shadow-border-color), | ||
0.125rem 0.1875rem var(--p-badges-shadow-border-color), | ||
0.1875rem 0.125rem var(--p-badges-shadow-border-color); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shadows might be tricky, I'd use what we have and create a task for fixing this one we do the porting to the new colors in pink
d5067ab
to
7d1f98d
Compare
What does this PR do?
To help emphasize Appwrite Cloud is still in beta
Test Plan
Cloud
Navbar Desktop
Navbar Mobile
Sign In Desktop
Sign In Mobile
Self-hosted
Navbar
Login
Related PRs and Issues
None
Have you read the Contributing Guidelines on issues?
Yes