Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

2021 Design Notes

Frederic Pun edited this page Apr 2, 2021 · 4 revisions

https://www.figma.com/file/JuglPkGI7p5QKcdBCj4hPR/Design-Handoff?node-id=0%3A1

Components

Card

  • Has 3 elevations

image image image

  • 2 positions (top, bottom) image image

  • "shadow" color can be prop, set the default to be based on the design (pink or secondary)

Window Header

  • Two sizes

image image

  • Takes background color,
  • Can have a heading which is absolutely centered (css grid is the best approach from my experience)

image

Custom Theme toggle

  • It is what it is
  • Only background and text in certain areas
  • Add css flags to enable the toggle

Courisel

  • Create a mixin for generic?

Accordion

  • It is what it is

Sections

Why get involved

Past keynotes

  • Set the height based on the content, image is absolute and hidden behind the content.
  • Use css grid to ensure height of the largest - overflow hidden + translation for the magic (with js to have a dynamic translation distance, watch for resize)

Stuff

Gradient

  • Having blue area wrapped in a parent, have it change depending on scroll percentage?

image image image

The line

  • Have two refs as anchors, then generate line from there? (seems like the most "responsive friendly")

image