GithubHelp home page GithubHelp logo

2bitdesigns / 4bitcss Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 1.0 16.46 MB

Terminal Color Schemes in CSS3

Home Page: https://4bitcss.com

License: MIT License

PowerShell 1.01% CSS 98.96% Dockerfile 0.02%
terminal color-scheme color-scheme-generator powershell powershell-module css css-color-swatches css-colors css3 css-library

4bitcss's Introduction

4BitCSS

Color Schemes are an important part of web design.

Unfortunately, there's not too many great repositories of simple color schemes.

Luckily, console nerds have been hacking at this problem for some time.

@mbadalato keeps a wonderful repository of color schemes for terminals.

4BitCSS generates .css schemes for all schemes in this repository, and allows you to create your own with Export-4BitCss.

Check out https://4bitcss.com for some sweet samples.

4bitcss's People

Contributors

ninmonkey avatar startautomating avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

ninmonkey

4bitcss's Issues

Palette of the Day / Night

Every build, 4bitcss should check to see if there is already a palette of the day/night.

If one is not present, two palettes should be randomly selected: one bright color scheme "Palette of the Day", and one dark color scheme "Palette of the Night".

Past or future palettes of the day/night can be specified inside of a PaletteOfTheDay.json/PaletteOfTheNight.json, which should be propagated into _data.

This implies:

`Convert-4BitName`

As this is getting redundant to do everywhere, a simple function should do the trick.

`Select-4bitcss/Select-Palette`

This should select a palette, given a name.

It should be automatically built so that the palette list is populated from the list of available palettes.

Usage instructions

There should be a page covering usage instructions.

Specifically:

  1. CDN Based Use (e.g. https://cdn.jsdelivr.net/gh/2bitdesigns/4bitcss@latest/css/Afterglow.css)
  2. Local Use (Download X.css, Add link)

Export-4BitSVG

This should export an existing SVG, with slight modifications made to apply colors from a 4bitcss palette.

4bitcss should support `background-color`

Currently, there are variants for each color being uses as a stroke or fill attribute.

There should also be a background-color variant of each color, for example: cyan-background or ANSI6-Background

GitHub Action support

4bitcss should be available as a GitHub action.

By default, this action should copy all color schemes.

It should have an array parameter, colorscheme, which will let us provide multiple color scheme names. If this is provided, only those color schemes will be copied.

It should have additional parameters for each parameter found in Export-4BitCSS.

If these parameters are found, it should create a custom color scheme.

Logo points should attempt to use color

It might looks nice for the logo to incorporate 6 different colors from the color scheme (foreground, background, and one ansi class for each "bit" in the logo)

Export-4bitcss

The module should expose a single command capable of creating a 4bit color scheme.

This command should be able to customize how the CSS is exported.

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.