Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D9045188C9 for ; Mon, 1 Feb 2016 16:27:36 +0000 (UTC) Received: (qmail 2384 invoked by uid 500); 1 Feb 2016 16:20:49 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 2028 invoked by uid 500); 1 Feb 2016 16:20:48 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 1448 invoked by uid 99); 1 Feb 2016 16:20:48 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Feb 2016 16:20:48 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 51AFAE07F7; Mon, 1 Feb 2016 16:20:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: benkeen@apache.org To: commits@couchdb.apache.org Date: Mon, 01 Feb 2016 16:20:55 -0000 Message-Id: <6e16ee42ee5e4a6ca96b034103b8568e@git.apache.org> In-Reply-To: <837f7c074345407ea24b8e46428bbbf4@git.apache.org> References: <837f7c074345407ea24b8e46428bbbf4@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [9/9] fauxton commit: updated refs/heads/master to 9284dcd 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 Authored: Sat Jan 30 12:46:09 2016 -0800 Committer: Ben Keen 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) %>