GithubHelp home page GithubHelp logo

grayscale-template's Introduction

Grayscale Template

This vite app spinup is designed to help style a SPA experience with sighted accessibility in mind. The goal is to keep all styling elements at a contrast of 4 or higher to their adjacent or neighboring elements.

Hopefully this tool will make the dev experience simpler, since it can keep contrast concerns separate from hue choices, making these decisions more granular and less-interdependent. Once the lights and darks are chosen and in place, a palette can easily be applied by swapping the correctly-weighted color with its hue-less counterpart.

Example Photos

The problem: Screen Shot 2023-06-28 at 2 13 32 PM

When set to a monochomatic view, the text is not legible: Screen Shot 2023-06-28 at 2 13 55 PM

(Example of color switch) Swap this gray for this blue of the same value: Screen Shot 2023-06-28 at 2 06 16 PM

Screen Shot 2023-06-28 at 2 06 31 PM

Some Current Views

Screen Shot 2023-07-05 at 2 58 52 PM Screen Shot 2023-07-05 at 2 59 05 PM

Helpful Stuff

eyedropper Chrome extension RGB to grayscale tool Wikipedia on Grayscale Wikipedia on Color Contrast hsl sliders

Other Accessibility Links

skipnav Note: on first page load hit tab to see link to skip main content

grayscale-template's People

Contributors

elbrewster avatar

Watchers

 avatar

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.