Giter Club home page Giter Club logo

color-schemes.astrality's Introduction

Color schemes for Astrality

This is a simple module which defines several sets of color schemes to be used in Astrality templates.

At the moment, the module contains the following color schemes:

Pull requests with new color schemes are welcome.

How to install

Install the module by adding the following to astrality.yml:

modules:
    enabled_modules:
        - name: github::jakobgm/color-schemes.astrality

How to configure

You can configure which color scheme that is imported into Astrality's context, and what you want to name that context section. The default values are as following:

color_schemes_config:
    enabled: gruvbox_dark
    context_section: colors

You can override these values in ~/.config/astrality/context.yml.

How to use

Each color scheme defines the following color groups:

background
Integer indexed colors, starting from 1, the primary background color, with additional colors 2, 3, and so on for contrast. Most often the same color but with different shades.
foreground
Same as background, only for colors meant for foreground elements, such as letters, etc..
primary
The primary colors used by the specific color scheme. Also integer indexed. These colors are often more colorful. You can use these values to set colors when you don't care exactly which colors you want to use, but you want colors from the color scheme.
normal
For when you need a specific color from your color scheme. Each color scheme includes the following colors (although some of these may be duplicates of each other): black, red, green, yellow, blue, purple, aqua, gray, magenta, cyan, orange, white.
bright
Same as normal but with a brighter shade.

Examples

Here are two examples of Astrality modules using these color scheme context values:

color-schemes.astrality's People

Contributors

jakobgm avatar

Watchers

 avatar  avatar  avatar

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.