couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From benk...@apache.org
Subject [9/9] fauxton commit: updated refs/heads/master to 9284dcd
Date Mon, 01 Feb 2016 16:20:55 GMT
Added glyph_vars to the generated template

Turns out that the recent change to the templates wasn't complete
enough. Sometimes we need to reference the icon (e.g. "\f123")
in somewhere other than a :before, like an :after.

This change adds the glyph_vars to output a full list of
variables for each and every font.  This will allow us to reference
the font icons directly in whatever Less content we want and
completely remove any hardcoded items (see next commit).

No more regression from changing fonts, yay!


Project: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/commit/b8d7b364
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/tree/b8d7b364
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/diff/b8d7b364

Branch: refs/heads/master
Commit: b8d7b364147d07dbaaba5f8b6f5f98df560ce356
Parents: 7fa70fd
Author: Ben Keen <ben.keen@gmail.com>
Authored: Sat Jan 30 12:46:09 2016 -0800
Committer: Ben Keen <ben.keen@gmail.com>
Committed: Mon Feb 1 08:19:23 2016 -0800

----------------------------------------------------------------------
 assets/fonts/templates/icons.less | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-fauxton/blob/b8d7b364/assets/fonts/templates/icons.less
----------------------------------------------------------------------
diff --git a/assets/fonts/templates/icons.less b/assets/fonts/templates/icons.less
index 5f5dd4f..95aa953 100644
--- a/assets/fonts/templates/icons.less
+++ b/assets/fonts/templates/icons.less
@@ -19,6 +19,7 @@
 https://github.com/seanbarclay/fontcustom/blob/1c3ad3d2633d3a8add39e8827115394e9ec02d88/lib/fontcustom/generator/template.rb
 */
 @fauxtonFont: "<%=font_name%>";
+<%= glyph_vars %>
 
 <%= font_face(:LESS) %>
 


Mime
View raw message