The Wayback Machine - https://web.archive.org/web/20210824050507/https://github.com/topics/color
Skip to content
#

color

Here are 2,496 public repositories matching this topic...

peter-joo
peter-joo commented Jun 27, 2021
  • OS: Linux 5.12.9-1-MANJARO x86_64 GNU/Linux
  • lsd --version: lsd 0.20.1
  • echo $TERM: xterm-256color
  • echo $LS_COLORS: rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:.tar=01;31:.tgz=01;31:.arc=01;31:.arj=01;31:.taz=01;31:.lha=01;31:.lz4=01;31:.lzh=01;31:*.lzma=01;
theme-ui
lhguerra
lhguerra commented Jul 13, 2021

I'm currently implementing a news list with an image in each item, and these images have 4:3 ratio in mobile devices and 16:9 ratio in desktop devices. Would it be possible or even make sense for the Aspect and AspectImage components to handle this kind of thing? I imagine an API like this:

<AspectImage {...imageProps} ratio={[4/3, 16/9]} />

Where each item in this array of ratios woul

Improve this page

Add a description, image, and links to the color topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the color topic, visit your repo's landing page and select "manage topics."

Learn more