Giter Club home page Giter Club logo

base16-gallery's People

Contributors

belak avatar jamygolden avatar tani avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

base16-gallery's Issues

Some color swatches do not display correctly

I was poking around the tinted-theming org and trying to learn a bit about the project. While I was browsing I noticed that some of the color swatches on the gallery page don't display correctly (they look white). Here's an example where several of the swatches in the "apathy" theme appear to be missing.

image

The cause is a missing # in the inline CSS in template.erb. The swatches have style attributes such as "background-color: 184E45;", but I think CSS requires hex colors to be prefixed with a hash, like #184E45. It looks like browsers correctly parse hex colors without a hash as long as the color starts with a letter and not a digit, which is why some of the swatches display but not others.

I think to fix this you just need to revert commit 6f8ce77. I was going to make a PR proposing this change but I ran into trouble running build.sh (the fix for the swatches worked but the code highlighting didn't; not sure if it's something specific to my vim or terminal config).

P.S. I leaned about this project because I was peeking into the source code for flavours, a Base16 builder and config management tool. I'm excited to see the ideas you're kicking around here (particularly in the Base17/BaseNEXT specifications which would allow styling e.g. variable differently than diff_deleted). Looking forward to watching this project progress!

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.