Coder Social home page Coder Social logo

jackhowa / marvel-color-switcher Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 2.24 MB

Practice css variables with marvel characters bc bingeing mcu

Home Page: https://marvel-color-picker.netlify.app/

HTML 7.72% JavaScript 86.71% CSS 5.57%
styled-components css-variables marvel-comics

marvel-color-switcher's Introduction

Marvel Color Switcher

pt 1 Goals

  • Click to switch between characters
  • Change color on character switch using CSS Variables
  • Change content as well without url change of character bio
  • Maybe change font and other styles as well
  • Make sure color contrast of wild marvel colors are still accessible with Google Material Color picker ;) -> somewhat better with lighthouse

pt form picker react-hook-form context

  • Update button using v7 of react-hook-form
  • Use form context to submit the form change separate from the inputs (mostly unnecessary but poc)

Reach Goals

  • IE 11 does not support CSS Variables, but think of a way?
  • Create your own color scheme and make your own character live
  • Add other custom styles like font-height but whatever
  • Do something about data of who picks what

PT 2 CSS Var Picker

  • Remove hard-coded css of data scheme
  • Add live configurer
  • Change live configurer dynamically on state change
  • Determine input of variable based on something
  • Create your own color scheme and make your own character live
  • Do something about data of who picks what
  • Post to api of color scheme

Colors

Iron Man

reds #4b0908 #6a0c0b #aa0505

yellows #fbca03 #b97d10

https://colorswall.com/palette/3128/ https://material.io/resources/color/#!/?view.left=0&view.right=0&primary.color=aa0505&secondary.color=fbca03

Captain America

#0000ff #002d5c #870000 #a5a5ab #f0f0f0

https://www.color-hex.com/color-palette/20730

marvel-color-switcher's People

Contributors

dependabot[bot] avatar jackhowa avatar

Stargazers

 avatar

Watchers

 avatar  avatar

marvel-color-switcher's Issues

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.