appwrite / pink Goto Github PK
View Code? Open in Web Editor NEWPink. Appwrite's official framework agnostic design system π¨ π©·
Home Page: https://pink.appwrite.io
License: MIT License
Pink. Appwrite's official framework agnostic design system π¨ π©·
Home Page: https://pink.appwrite.io
License: MIT License
I want to change the UI component in site header to show github stars since:
Github icon and label
seems ambiguous as it may represent no of forks , etc . Putting star icon next to it represents that it is github stars .Github
as label next to Github icon .On elements/input-fields
page, clicking a button inside the input field (i.e. to show/hide password, or copy text) causes a whole page refresh.
This happens because most of the input field examples are inside a form, so a button click submits the form by default. The issue would be resolved by setting type="button"
on all of these buttons.
<form class="form u-width-full-line u-max-width-500">
<ul class="form-list">
<li class="form-item">
<label class="label">Label</label>
<div class="input-text-wrapper">
<input type="password" class="input-text" placeholder="Placeholder" />
<button
class="show-password-button"
aria-label="show password"
type="button"
>
<span class="icon-eye" aria-hidden="true"></span>
</button>
</div>
</li>
...
</ul>
</form>
I have a PR ready if all this sounds alright π
As for the Code of Conduct below, I'm getting a 404. This seems to be the correct link.
Remain as it is
Closes the collapsible section
Version 1.2.x
Linux
Firefox
See dark and light mode comparison below.
The expectation based on usual best practices is that the highlighted text would be something to contrast directly with the highlight/selection colour (the purple is just an example).
Screenshot of example when in dark theme.
Different version (specify in environment)
Windows
Pink v0.0.2 via unpkg CDN.
Windows 10
Chrome and Firefox
Even if I deleted everything (even the body element), there are still scrollbars.
It's visible even on https://pink.appwrite.io/getting-started (refresh in responsive mode)
Weirdly enough, this behaviour is only happening in dev tools. When testing on an actual phone, it's not visible.
There shouldn't be scrollbars
Version 1.2.x
Linux
No response
@appwrite.io/fonts is not in the npm registry, or you have no permission to fetch it.
N/A
N/A
Version 1.2.x
Linux
No response
Im using this whit an astro project, when i copy and paste the code from de the dos it doesnΒ΄t show as is spected
this is my code
<li><button class="card s-xciFPC5Srn6Q"><div class="avatar is-size-large s-xciFPC5Srn6Q"><span class="icon-plus s-xciFPC5Srn6Q"></span></div> <h4 class="text u-font-size-20 u-bold s-xciFPC5Srn6Q" style="text-wrap: balance;">Nueva tienda</h4> <p class="text s-xciFPC5Srn6Q" style="text-wrap: pretty;">Crea una nueva tienda donde podras administrar tus productos y poder
realizar registros de las mismas
<button class="button s-yu7OS-GWNOYq"><span class="s-yu7OS-GWNOYq">Open Modal</span></button> <dialog class="modal s-yu7OS-GWNOYq" id="dialog" open=""><form class="modal-form s-yu7OS-GWNOYq" method="dialog"><header class="modal-header s-yu7OS-GWNOYq"><div class="u-flex u-main-space-between u-cross-center u-gap-16 s-yu7OS-GWNOYq"><div class="avatar is-color-orange is-medium s-yu7OS-GWNOYq"><span class="icon-exclamation s-yu7OS-GWNOYq" aria-hidden="true"></span></div> <h4 class="modal-title heading-level-5 s-yu7OS-GWNOYq">Modal title</h4> <button class="button is-text is-small is-only-icon s-yu7OS-GWNOYq" aria-label="Close modal"><span class="icon-x s-yu7OS-GWNOYq" aria-hidden="true"></span></button></div></header> <div class="modal-content u-small s-yu7OS-GWNOYq">Modal label text.</div> <div class="modal-footer s-yu7OS-GWNOYq"><div class="u-flex u-main-end u-gap-16 s-yu7OS-GWNOYq"><button class="button is-text s-yu7OS-GWNOYq"><span class="text s-yu7OS-GWNOYq">Button</span></button> <button class="button is-secondary s-yu7OS-GWNOYq"><span class="text s-yu7OS-GWNOYq">Button</span></button></div></div></form></dialog></p></button><!--<Team-card>--><!--<New-store-card>--></li>
it should be looking like this
Different version (specify in environment)
Linux
in runnin on a wsl machine, in an astro project, i just copy it from the demo
https://github.com/appwrite/demos-for-astro
and upgraded all dependecys
but even i've seen this behavior on a codepen instance
https://codepen.io/Trongar/pen/BabyWaP
update README.md to :
Pink Design
with documentation website
to eliminate ambiguity .npm install @appwrite.io/pink
doesn't work. It yields the following error:
+ npm install @appwrite.io/pink
+ ~~~~~~~~~
The splatting operator '@' cannot be used to reference variables in an expression. '@appwrite' can be used only as an argument to a
command. To reference variables in an expression use '$appwrite'.
+ CategoryInfo : ParserError: (:) [], ParentContainsErrorRecordException
+ FullyQualifiedErrorId : SplattingNotPermitted
This is also true of the repository's readme. Fortunately, all you need to do to fix this is enclose the package name in quotes as follows: npm install "@appwrite.io/pink"
. I'll make a pull request with this change for your convenience.
I want to add the the transform scale (1.01) or making the cards little bigger while hovering, which can make the UI more cool.
It would make the cards little bit bigger while hovering with a smooth transitioning
While hovering the cards, it does'nt show any effect
Appwrite Cloud
Windows
No response
Running app with pink design installed
No Warnings should be generated.
Console warnings are generating when you use "u-main-end" or "u-cross-end". Suggest using
autoprefixer: end value has mixed support, consider using flex-end instead
Version 1.2.x
Windows
No response
"@appwrite.io/pink-icons"
to your project<div class="icon-login"></div>
It's an empty div
Version 1.2.x
Linux
@appwrite.io/pink - 0.0.6-rc.9
There is a typo on the documentation for Responsive page.
"...In Pink Desing responsive library, there is no overlap between the different resolutions"
Desing should be Design instead
I found this unwanted feature while exploring the showcases in the main website.
Apparently, if the horizontal space is limited, the component gets stretched, so just open the link and shrink the browser window to reproduce this.
Not to stretch.
Ok, viewport not too stretched so there's enough space to grow:
Version 1.2.x
Linux
No response
On the website, All icon sizes are too small.
Some of the input fields on elements/input-fields
page have text overlapping with the icon, and with a icon coming from an external source (1Password Chrome extension in this case). Basically, it needs some padding on the right to accommodate the icon.
I classified this as a documentation issue instead of a bug, as it seems there already is a way to handle this, via style="--amount-of-buttons:1"
property, it just wasn't applied to these specific examples.
Although, in the last input example, problem is solved by using a u-padding-indline-end-56
class, instead of using that --amount-of-buttons
custom property. Which of the 2 approaches is the recommended one?
Admin template: dark mode support
More components:
It should be good for everyone
On the Home page of the build section, there were two code blocks with the copy button but the copy button doesn't work for some reason.
Copy code when we click on the copy button.
The code doesn't copy when we click on the copy button.
Version 1.2.x
Windows
No response
Visit Pink, Scroll down to bottom (footer).
Fix the URLs for the Avatar images or use Initials as fallbacks.
Broken Images.
Appwrite Cloud
Linux
Pink seems to be using Cloud in the back.
Something like this fixes this behaviour
[dir=rtl] .switch:where(:checked)::before {
transform: translateX(-1rem);
}
Magic URL dir = 'rtl'
Passowrd dir = 'ltr'
Version 1.2.x
Linux
No response
When I add $theme-dark: ".theme-dark";
to my CSS, the application stops working. See attached image. Note that I included the lang="scss"
attribute in the style tag.
I am using Windows 11 but will test on Linux and update my findings.
Apply the dark theme to the app
Application errors out
Version 1.2.x
Windows
No response
To improve the readme file of pink/apps
/kitchensink/ , It's one of the important part of the repository so it's should have a proper readme file.
I'll made sure to add every feature and usage of the kitchenspink folder in the repository.
Please assign me this issue to improve the file under hacktoberfest label
Update the footer year in the documentation to reflect the current year (2024). This enhancement ensures that users have access to accurate and up-to-date information without manual intervention.
Keeping the footer year up to date is crucial for maintaining the accuracy and credibility of our documentation. Users rely on our documentation to be current and trustworthy, and an outdated footer can undermine their confidence in the information provided.
There are several classes in appwrite pink, let's just assume three classes c1, c2 and c3.
I only use c1, I am also getting c2 and c3 bundled which is just useless load for me, and this thing for applies to other users as well who are using a certain amount of classes and not the entirety.
Can we make it such that only the css you use gets bundled?
Taking in example from Tailwind CSS
"Tailwind CSS is incredibly performance focused and aims to produce the smallest CSS file possible by only generating the CSS you are actually using in your project."
Can something similar be done for appwrite pink?
hover on the top of the checkbox which is disabled. it will change the cursor to the pointer.
Ideally, since the checkbox is disabled we should not show a cursor pointer in this case. we can either set the cursor to not-allowed. or just remove the cursor pointer if the checkbox is disabled.
here is an example of how it should work in a disabled state.
hover on the top of the checkbox which is disabled. it will change the cursor to the pointer.
Appwrite Cloud
MacOS
No response
The tabs should accurately dictate which section is currently visible
The tabs show an active session other than the one visible
Version 1.2.x
Linux
Firefox
To improve the user experience and save time, I propose adding a feature that allows users to copy the icon names by simply clicking on the icons. When a user clicks on an icon, the icon name should be automatically copied to their clipboard, allowing them to easily paste it wherever they need it.
This feature would not only save time for users but also reduce the likelihood of errors when manually copying icon names. It would make the Pink application more user-friendly and efficient.
This feature should be implemented because it would make it much easier and faster for users to work with the Pink application's icons. Currently, users have to manually copy the icon names to use them in code or other applications, which can be a tedious and error-prone process. By allowing users to simply click on an icon to copy its name, we can greatly streamline this workflow and save users time and effort.
When we visit https://github.com/appwrite/pink/blob/main/CONTRIBUTING.md and follow the setup guidelines we see that it instructs us to clone appwrite ui repository eventhough the repository is https://github.com/appwrite/pink, thus this needs to be changed.
npx nuxi@latest init <project-name>
npm install "@appwrite.io/pink"
<script>
import "@appwrite.io/pink-icons"
</script>
There's an error message from postcss about too much recursion in the Stackblitz example.
Locally, the terminal gets blank and none of the styling is working.
https://stackblitz.com/edit/nuxt-starter-yqsbtw?file=app.vue
I expect it to work as per the documentation - that I will be able to use the design system on my pages and in my components.
There's an error message from postcss about too much recursion in the Stackblitz example.
Locally, the terminal gets blank and none of the styling is working.
https://stackblitz.com/edit/nuxt-starter-yqsbtw?file=app.vue
Appwrite Cloud
MacOS
No response
The description should be larger
The description is on a tight space
Version 1.2.x
Linux
Firefox
So while I was going through the documentation, and opened this page of Box Model-> https://pink.appwrite.io/utilities/box-model , I see the Github stars were not visible on this particular page in my Edge Browser.
Thus I can work on this issue.
Version 1.2.x
Windows
No response
You should add https://github.com/github/accessibility-alt-text-bot, or have another way (I'll volunteer!) to add alt-text to your images for accessibility.
Since appwrite/pink is accessibility forward, alt-text on images is imperative to meet compliance standards. If you don't want to add a bot, I volunteer to make pull requests to add alt-text to your images. Accessibility is my thing.
The npm install should work.
The npm install fails.
Appwrite Cloud
Windows
N/A
Code panel's text color should remain the same
The text color changes
Version 1.2.x
Linux
Firefox
When we move to the site and scroll down, we confront "design" section where there is "storage" button. As we click on the button we see it is getting redirected to https://pink.appwrite.io/users.html which shows
As we click on other buttons of design section we see it gets redirected to the homepage and thus it needs to change in this button too.
Version 1.2.x
Windows
No response
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.