Coder Social home page Coder Social logo

opacity support? about vim-css-color HOT 5 CLOSED

ap avatar ap commented on July 18, 2024
opacity support?

from vim-css-color.

Comments (5)

m-kru avatar m-kru commented on July 18, 2024 1

@ap I know what @latel meant. Look at the following snippet from poybar config file:
opacity_polybar
foreground and background colors have an extra leading byte defining opacity. As you can see vim-css-color does not render color for these colors.

from vim-css-color.

ap avatar ap commented on July 18, 2024 1

I didn’t realise until only months ago that RGBA hex notation was a thing. And I didn’t get around to implementing support until now, in 96b3942.

Sorry it took 5 years for my dumb ass to catch up. 🙂 Share and enjoy!

from vim-css-color.

ap avatar ap commented on July 18, 2024

Sorry, I don’t know what you mean. Please explain.

from vim-css-color.

zatchheems avatar zatchheems commented on July 18, 2024

The "workaround" in this case would be using rgba if possible instead of hexadecimal:

image

It does still mean that hex colors with that extra byte, like @m-kru said, do not render, and RGBA syntax is not universally available.

from vim-css-color.

ch3st3r08 avatar ch3st3r08 commented on July 18, 2024

Hex ARGB values still don't work in Polybar configuration (ft=dosini), did I miss something?
From what I can see, it was only available for CSS

from vim-css-color.

Related Issues (20)

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.