Git Product home page Git Product logo

postcss-color-alpha's Issues

Mixed colors

    it('converts mixed `#rgb`, `#rgb.a`, `black()`, `white` to propper rgba in series', function () {
        test('div{ border-color: #0fc #000.2 white(.3) black }', 'div{ border-color: #0fc rgba(0, 0, 0, 0.2) rgba(255, 255, 255, 0.3) black }');
    });

Gradient problem

Sorry, I didn’t investigate this issue yet.

Input:

background: #004400 radial-gradient(white(0.05), white(0))

Output (according Chrome DevTools):

background: #004400 rgba(255, 255, 255, 0.05) white(255, 255, 255, 0)

Seems like plugin broke radial-gradient word.

/cc @avanes

Not working

This is not working for me. It is changing

.background {
   background-color: #121519.3;
}

to

.background {
   background-color: #121519 0.3;
}

Hex syntax

Does #0fc 0.3 is safe? Maybe #0fc0.3?

Use PostCSS 4.1 API

PostCSS Plugin Guidelines are mandatory right now. Because all of rules are about ecosystem health.

postcss-simple-vars

Haven’t been able to get this to work with the postcss-simple-vars extension.

Trying to do something along the lines of $pale-color: rgba($bright-color, .5); but no variation of the syntax seems to product the desired output.

NPM release

Please, publish npm package by npm publish. I want to use your plugin on Amplifr.

CSS Variables + Alpha

Hi, love the plugin. Is it possible to use this alongside a CSS Custom Property/Variable for example

box-shadow: 0 0 4px 0 var(--dark-ui-color-1)(0.5)

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.