Skip to content

Commit

Permalink
Fix site.variables for less syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Sherman committed Jan 21, 2022
1 parent e439521 commit b9c6a6f
Showing 1 changed file with 24 additions and 24 deletions.
48 changes: 24 additions & 24 deletions themes/default/globals/site.variables
Original file line number Diff line number Diff line change
Expand Up @@ -390,34 +390,34 @@
This rounds @size values to the closest pixel then expresses that value in (r)em.
This ensures all size values round to exact pixels
*/
@mini : unit( round(@miniSize * @emSize) / @emSize, rem);
@tiny : unit( round(@tinySize * @emSize) / @emSize, rem);
@small : unit( round(@smallSize * @emSize) / @emSize, rem);
@medium : unit( round(@mediumSize * @emSize) / @emSize, rem);
@large : unit( round(@largeSize * @emSize) / @emSize, rem);
@big : unit( round(@bigSize * @emSize) / @emSize, rem);
@huge : unit( round(@hugeSize * @emSize) / @emSize, rem);
@massive : unit( round(@massiveSize * @emSize) / @emSize, rem);
@mini : unit(( round(@miniSize * @emSize) / @emSize), rem);
@tiny : unit(( round(@tinySize * @emSize) / @emSize), rem);
@small : unit(( round(@smallSize * @emSize) / @emSize), rem);
@medium : unit(( round(@mediumSize * @emSize) / @emSize), rem);
@large : unit(( round(@largeSize * @emSize) / @emSize), rem);
@big : unit(( round(@bigSize * @emSize) / @emSize), rem);
@huge : unit(( round(@hugeSize * @emSize) / @emSize), rem);
@massive : unit(( round(@massiveSize * @emSize) / @emSize), rem);

/* em */
@relativeMini : unit( round(@miniSize * @emSize) / @emSize, em);
@relativeTiny : unit( round(@tinySize * @emSize) / @emSize, em);
@relativeSmall : unit( round(@smallSize * @emSize) / @emSize, em);
@relativeMedium : unit( round(@mediumSize * @emSize) / @emSize, em);
@relativeLarge : unit( round(@largeSize * @emSize) / @emSize, em);
@relativeBig : unit( round(@bigSize * @emSize) / @emSize, em);
@relativeHuge : unit( round(@hugeSize * @emSize) / @emSize, em);
@relativeMassive : unit( round(@massiveSize * @emSize) / @emSize, em);
@relativeMini : unit(( round(@miniSize * @emSize) / @emSize), em);
@relativeTiny : unit(( round(@tinySize * @emSize) / @emSize), em);
@relativeSmall : unit(( round(@smallSize * @emSize) / @emSize), em);
@relativeMedium : unit(( round(@mediumSize * @emSize) / @emSize), em);
@relativeLarge : unit(( round(@largeSize * @emSize) / @emSize), em);
@relativeBig : unit(( round(@bigSize * @emSize) / @emSize), em);
@relativeHuge : unit(( round(@hugeSize * @emSize) / @emSize), em);
@relativeMassive : unit(( round(@massiveSize * @emSize) / @emSize), em);

/* rem */
@absoluteMini : unit( round(@miniSize * @emSize) / @emSize, rem);
@absoluteTiny : unit( round(@tinySize * @emSize) / @emSize, rem);
@absoluteSmall : unit( round(@smallSize * @emSize) / @emSize, rem);
@absoluteMedium : unit( round(@mediumSize * @emSize) / @emSize, rem);
@absoluteLarge : unit( round(@largeSize * @emSize) / @emSize, rem);
@absoluteBig : unit( round(@bigSize * @emSize) / @emSize, rem);
@absoluteHuge : unit( round(@hugeSize * @emSize) / @emSize, rem);
@absoluteMassive : unit( round(@massiveSize * @emSize) / @emSize, rem);
@absoluteMini : unit(( round(@miniSize * @emSize) / @emSize), rem);
@absoluteTiny : unit(( round(@tinySize * @emSize) / @emSize), rem);
@absoluteSmall : unit(( round(@smallSize * @emSize) / @emSize), rem);
@absoluteMedium : unit(( round(@mediumSize * @emSize) / @emSize), rem);
@absoluteLarge : unit(( round(@largeSize * @emSize) / @emSize), rem);
@absoluteBig : unit(( round(@bigSize * @emSize) / @emSize), rem);
@absoluteHuge : unit(( round(@hugeSize * @emSize) / @emSize), rem);
@absoluteMassive : unit(( round(@massiveSize * @emSize) / @emSize), rem);

/*-------------------
Icons
Expand Down

0 comments on commit b9c6a6f

Please sign in to comment.