terminal-colorsaurus 1.0.3

A cross-platform library for determining the terminal's background and foreground color. It answers the question «Is this terminal dark or light?».
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::{Color, ColorPalette, Error, QueryOptions, Result};

pub(crate) fn color_palette(_options: QueryOptions) -> Result<ColorPalette> {
    Err(Error::unsupported())
}

pub(crate) fn foreground_color(_options: QueryOptions) -> Result<Color> {
    Err(Error::unsupported())
}

pub(crate) fn background_color(_options: QueryOptions) -> Result<Color> {
    Err(Error::unsupported())
}