GithubHelp home page GithubHelp logo

appwrite / pink Goto Github PK

View Code? Open in Web Editor NEW
419.0 14.0 40.0 23.92 MB

Pink. Appwrite's official framework agnostic design system ๐ŸŽจ ๐Ÿฉท

Home Page: https://pink.appwrite.io

License: MIT License

HTML 46.26% JavaScript 0.63% SCSS 14.08% CSS 0.73% Handlebars 2.21% Svelte 4.97% Astro 5.13% TypeScript 0.63% MDX 25.36%
appwrite component component-library css design-system design-systems hacktoberfest

pink's Introduction


Pink Design Logo

Appwrite's open-source design system for building consistent and reusable user interfaces.

Visit the Pink Design repo

Pink Design is a CSS library designed for building accessible and visually appealing user interfaces. The library is built with a focus on accessibility, ensuring that users of all abilities can easily interact with your web application. Pink Design offers a wide range of classes and components that can be easily integrated into your project. Whether you're building a complex user interface or a simple web app, Pink Design has everything you need to create a polished and professional look.

Getting Started

NPM

Install the CSS library:

npm install "@appwrite.io/pink"

After installing Pink Design as a package, include Pink Design as CSS library by importing it in your JavaScript files.

import "@appwrite.io/pink";
// optionally, add icons
import "@appwrite.io/pink-icons";

CDN

Copy the following code into the <head> section of your HTML file.

<link rel="stylesheet" href="https://unpkg.com/@appwrite.io/pink" />
<!-- optionally, add icons -->
<link rel="stylesheet" href="https://unpkg.com/@appwrite.io/pink-icons" />

Accessibility

Our design library is designed to be inclusive, making it easy for everyone to interact with and navigate, regardless of any unique needs they may have. This enhances the user experience for all and aligns with the ethical standards of web development. At Appwrite, we are dedicated to fostering accessibility in all that we do.

We are constantly striving to improve. If you notice any areas where we can enhance accessibility, please do not hesitate to share your feedback and suggestions.

The documentation website for Pink Design has been built with Astro web framework .

Supported Browsers

Browser Version
Chrome >=99
Safari >=15.4
Firefox >=97
Opera >=85
Chrome for Android >=109
Safari iOS >=15.4
Samsung Internet >=18

Contributing

All code contributions - including those from people with commit access - must go through a pull request and be approved by a core team member before being merged. This is to ensure a proper review of all the code.

We truly โค๏ธ pull requests! If you wish to help, you can learn more about how you can contribute to this project in the contribution guide.

Security

For security issues, kindly email us at [email protected] instead of posting a public issue on GitHub.

Follow Us

Join our growing community around the world! See our official Blog. Follow us on Twitter, Facebook Page, Facebook Group, Dev Community or join our live Discord server for more help, ideas, and discussions.

License

This repository is available under the MIT.

pink's People

Contributors

adityaoberai avatar andygera avatar ankitsingh065 avatar armannik avatar ashrafchowdury avatar chenparnasa avatar christyjacob4 avatar elad2412 avatar emmarie-ahtunan avatar gewenyu99 avatar github-actions[bot] avatar heycarla avatar israelmitolu avatar itsroy69 avatar itznotabug avatar loks0n avatar matijaoe avatar meldiron avatar saurabhmehta1601 avatar singularitysoft avatar stnguyen90 avatar tglide avatar torstendittmann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pink's Issues

๐Ÿ“š Documentation: Readme updates

๐Ÿ’ญ Description

update README.md to :

  1. Include documentation site link .
  2. Replace words like Pink Design with documentation website to eliminate ambiguity .

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

Roadmap for appwrite pink design

๐Ÿ”– Feature description

Admin template: dark mode support
More components:

๐ŸŽค Pitch

It should be good for everyone

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Cannot apply dark theme

๐Ÿ‘Ÿ Reproduction steps

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.

0

I am using Windows 11 but will test on Linux and update my findings.

๐Ÿ‘ Expected behavior

Apply the dark theme to the app

๐Ÿ‘Ž Actual Behavior

Application errors out

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Windows

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Table content gets shrinked on mobile

๐Ÿ‘Ÿ Reproduction steps

๐Ÿ‘ Expected behavior

The description should be larger

๐Ÿ‘Ž Actual Behavior

The description is on a tight space
Screenshot from 2023-01-31 18-16-38

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

Firefox

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ“š Documentation: Clicking a button inside input refreshes the page

๐Ÿ’ญ Description

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.

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ“š Documentation: The "Getting Started" page has an invalid npm install

๐Ÿ’ญ Description

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.

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: there is a bug whit modals

๐Ÿ‘Ÿ Reproduction steps

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>

๐Ÿ‘ Expected behavior

it should be looking like this
image

๐Ÿ‘Ž Actual Behavior

but it looks like this
image

๐ŸŽฒ Appwrite version

Different version (specify in environment)

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

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

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Change cursor pointer in checkbox's disabled state

๐Ÿ‘Ÿ Reproduction steps

hover on the top of the checkbox which is disabled. it will change the cursor to the pointer.

๐Ÿ‘ Expected behavior

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.

Screen.Recording.2023-06-07.at.1.08.58.AM.mov

๐Ÿ‘Ž Actual Behavior

hover on the top of the checkbox which is disabled. it will change the cursor to the pointer.

Screen.Recording.2023-06-07.at.1.07.35.AM.mov

๐ŸŽฒ Appwrite version

Appwrite Cloud

๐Ÿ’ป Operating system

MacOS

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Nuxt3 import errors

๐Ÿ‘Ÿ Reproduction steps

  1. Start a new Nuxt3 project: npx nuxi@latest init <project-name>
  2. Run command npm install "@appwrite.io/pink"
  3. In app.vue, add:
<script>
  import "@appwrite.io/pink-icons"
</script>
  1. Start the dev server.

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

๐Ÿ‘ Expected behavior

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.

๐Ÿ‘Ž Actual Behavior

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

bild

From Stackblitz:
bild

๐ŸŽฒ Appwrite version

Appwrite Cloud

๐Ÿ’ป Operating system

MacOS

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿš€ Enhancement: Update Footer Year to Reflect Current Year

๐Ÿ”– Enhancement description

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.

Screenshot of Footer

๐ŸŽค Pitch

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.

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ“š Documentation: To improve Readme File of KitchensPink

๐Ÿ’ญ Description

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.

Screenshot 2023-10-02 012809

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

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ“š Documentation: Fix typo

๐Ÿ’ญ Description

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

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ“š Documentation: Input field icon overlapping input text

๐Ÿ’ญ Description

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.

image

image

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?

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿš€ Feature: Allow users to copy icon names by clicking on the icons

๐Ÿ”– Feature description

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.

๐ŸŽค Pitch

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.

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: @appwrite.io/fonts is private or missing

๐Ÿ‘Ÿ Reproduction steps

@appwrite.io/fonts is not in the npm registry, or you have no permission to fetch it.

๐Ÿ‘ Expected behavior

N/A

๐Ÿ‘Ž Actual Behavior

N/A

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Console warning of using 'end' instead 'flex-end'

๐Ÿ‘Ÿ Reproduction steps

Running app with pink design installed

๐Ÿ‘ Expected behavior

No Warnings should be generated.

๐Ÿ‘Ž Actual Behavior

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

image

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Windows

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Image Links Are Broken

๐Ÿ‘Ÿ Reproduction steps

Visit Pink, Scroll down to bottom (footer).

See -
broken-images-on-pink

๐Ÿ‘ Expected behavior

Fix the URLs for the Avatar images or use Initials as fallbacks.

๐Ÿ‘Ž Actual Behavior

Broken Images.

๐ŸŽฒ Appwrite version

Appwrite Cloud

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

Pink seems to be using Cloud in the back.

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: When the Box Model page is opened in 100% screen size, the page exceeds the page and te github stars needs to be updated

๐Ÿ‘Ÿ Reproduction steps

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.

๐Ÿ‘ Expected behavior

image

๐Ÿ‘Ž Actual Behavior

image

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Windows

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Broken link inf design secrtion of homeopage

๐Ÿ‘Ÿ Reproduction steps

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
image

๐Ÿ‘ Expected behavior

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.

๐Ÿ‘Ž Actual Behavior

image
This happened

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Windows

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Code not copied

๐Ÿ‘Ÿ Reproduction steps

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.

๐Ÿ‘ Expected behavior

Copy code when we click on the copy button.

image

๐Ÿ‘Ž Actual Behavior

The code doesn't copy when we click on the copy button.

image

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Windows

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Poor legibility/contrast of text selected in code panel when in dark theme

๐Ÿ‘Ÿ Reproduction steps

  • Dark theme is enabled
  • User selects code panel with syntax highlighting
  • Code has low contrast to selection background, and poor legibility

See dark and light mode comparison below.

image

image

๐Ÿ‘ Expected behavior

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).

image

๐Ÿ‘Ž Actual Behavior

Screenshot of example when in dark theme.

image

๐ŸŽฒ Appwrite version

Different version (specify in environment)

๐Ÿ’ป Operating system

Windows

๐Ÿงฑ Your Environment

Pink v0.0.2 via unpkg CDN.
Windows 10
Chrome and Firefox

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ“š Documentation: Wrong steps under Setup guidelines in the documentation page

๐Ÿ’ญ Description

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.

image

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Some icons from heroicons dont work

๐Ÿ‘Ÿ Reproduction steps

  • "@appwrite.io/pink-icons" to your project
  • use <div class="icon-login"></div>

๐Ÿ‘ Expected behavior

this icon should appear
image

๐Ÿ‘Ž Actual Behavior

It's an empty div

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

@appwrite.io/pink - 0.0.6-rc.9

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿš€ Feature: Update Header UI to show github stars

๐Ÿ”– Feature description

Update Github Stars UI component in website header

Current UI

Screenshot (21)

Proposed Change

Screenshot (23)

๐ŸŽค Pitch

I want to change the UI component in site header to show github stars since:

  1. The number next to 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 .
  2. No need to write text Github as label next to Github icon .

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

Feature request: Adding transform scale(1.01) to the cards under article section

๐Ÿ‘Ÿ Reproduction steps

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.

๐Ÿ‘ Expected behavior

It would make the cards little bit bigger while hovering with a smooth transitioning

๐Ÿ‘Ž Actual Behavior

While hovering the cards, it does'nt show any effect

Pink-Design

๐ŸŽฒ Appwrite version

Appwrite Cloud

๐Ÿ’ป Operating system

Windows

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: File Upload Box progress indicator stretches horizontally

๐Ÿ‘Ÿ Reproduction steps

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.

๐Ÿ‘ Expected behavior

Not to stretch.

๐Ÿ‘Ž Actual Behavior

Ok, viewport not too stretched so there's enough space to grow:
wanted behavior

YACK!
unwanted behaviour

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Wrong text color on code panel when using light theme

๐Ÿ‘Ÿ Reproduction steps

  • Go to code panel component page
  • Change theme from dark mode to light mode

๐Ÿ‘ Expected behavior

Code panel's text color should remain the same

๐Ÿ‘Ž Actual Behavior

The text color changes

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

Firefox

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: RTL support: Switch

๐Ÿ‘Ÿ Reproduction steps

Something like this fixes this behaviour

[dir=rtl] .switch:where(:checked)::before {
    transform: translateX(-1rem);
}

๐Ÿ‘ Expected behavior

To be this
image

๐Ÿ‘Ž Actual Behavior

image
Magic URL dir = 'rtl'
Passowrd dir = 'ltr'

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: The npm install command on the Getting Started page doesn't work for Powershell

๐Ÿ‘Ÿ Reproduction steps

  1. Copy the npm install command from the Pink Design Getting Started page

image

  1. Run the command in Powershell

image

๐Ÿ‘ Expected behavior

The npm install should work.

๐Ÿ‘Ž Actual Behavior

The npm install fails.

๐ŸŽฒ Appwrite version

Appwrite Cloud

๐Ÿ’ป Operating system

Windows

๐Ÿงฑ Your Environment

N/A

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: scrollbar appears on phone chrome dev tools

๐Ÿ‘Ÿ Reproduction steps

  1. Visit https://codepen.io/omar2205/pen/XWBoWKr
  2. Open a debug version (https://user-images.githubusercontent.com/1373867/216283364-f2e64c1d-c53f-425e-9eb3-3eb3e5ccf620.png)
  3. Switch to responsive / phone

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.

๐Ÿ‘ Expected behavior

There shouldn't be scrollbars

๐Ÿ‘Ž Actual Behavior

image

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

No response

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿš€ Feature: Purging Classes that aren't being used

๐Ÿ”– Feature description

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?

๐ŸŽค Pitch

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?

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Clicking between side-nav links closes the collapsible section

๐Ÿ‘Ÿ Reproduction steps

  • Open a side-nav menu collapsible
  • Click between two links

๐Ÿ‘ Expected behavior

Remain as it is

๐Ÿ‘Ž Actual Behavior

Closes the collapsible section

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

Firefox

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿš€ Feature: GitHub A11y bot for alt text

๐Ÿ”– Feature description

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.

๐ŸŽค Pitch

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.

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

๐Ÿ› Bug Report: Sticky tabs indicating wrong active session on certain resolutions

๐Ÿ‘Ÿ Reproduction steps

  • Go to the home page, using a 4k viewport, or a small mobile phone viewport
  • Scroll down to the sticky tabs (Design, Build, Collaborate)
  • Navigate between sections

๐Ÿ‘ Expected behavior

The tabs should accurately dictate which section is currently visible

๐Ÿ‘Ž Actual Behavior

The tabs show an active session other than the one visible

๐ŸŽฒ Appwrite version

Version 1.2.x

๐Ÿ’ป Operating system

Linux

๐Ÿงฑ Your Environment

Firefox

๐Ÿ‘€ Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

๐Ÿข Have you read the Code of Conduct?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.