www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 5756be048cb69a2b3e250f2470c4e45f0b8f7dd6
parent 100798847ba528ee6f699ec68a6bdd0156f9b28f
Author: Emily Eisenberg <emily@khanacademy.org>
Date:   Tue,  5 Aug 2014 16:52:25 -0700

Rename variables from @size-# to @size#

Match the naming styles used for the css styles in the variable names.

Test Plan:
 - Make sure `x\Huge x \tiny x \Huge x` renders correctly.
 - Make sure the huxley tests stay the same

Auditors: alpert

Diffstat:
Mstatic/katex.less | 24++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)

diff --git a/static/katex.less b/static/katex.less @@ -311,21 +311,21 @@ big parens .sizing { display: inline-block; - @size-1: 0.5; - @size-2: 0.7; - @size-3: 0.8; - @size-4: 0.9; - @size-5: 1.0; - @size-6: 1.2; - @size-7: 1.44; - @size-8: 1.73; - @size-9: 2.07; - @size-10: 2.49; + @size1: 0.5; + @size2: 0.7; + @size3: 0.8; + @size4: 0.9; + @size5: 1.0; + @size6: 1.2; + @size7: 1.44; + @size8: 1.73; + @size9: 2.07; + @size10: 2.49; .generate-size-change(@from, @to) { &.reset-size@{from}.size@{to} { - @sizeFromVariable: ~"size-@{from}"; - @sizeToVariable: ~"size-@{to}"; + @sizeFromVariable: ~"size@{from}"; + @sizeToVariable: ~"size@{to}"; font-size: (@@sizeToVariable / @@sizeFromVariable) * 1em; } }