base16-gallery's People
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.
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.