Skip to content
#

color

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

adam-gaia
adam-gaia commented Nov 1, 2021

Hello,

Currently the file/directory indicator column (the first character column with --long output) color is set to the color of the file type (which is picked up from LS_COLORS).

$ lsd --color=always
drwxr-xr-x agaia agaia 4.0 KB Fri Oct 29 09:27:51 2021 🗀 some_dir
.rw-r--r-- agaia agaia 1.9 KB Wed Oct 27 14:04:28 2021 🗀 some_file
^-----The colors of this first column 'd' and '.'
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