Skip to content

Commit

Permalink
feat(templates): update file description
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean authored May 8, 2019
1 parent ee2cc9c commit 2705e44
Showing 1 changed file with 16 additions and 15 deletions.
31 changes: 16 additions & 15 deletions src/templates/icon.overrides.liquid
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
/*
* Font Awesome {{ version }} by @fontawesome - https://fontawesome.com - @fontawesome
* Font Awesome {{ version }} by @fontawesome [https://fontawesome.com]
* License - https://fontawesome.com/license (Icons: CC BY 4.0 License, Fonts: SIL OFL 1.1 License, CSS: MIT License)
*/

/*******************************

Semantic-UI integration of font-awesome :
Fomantic-UI integration of FontAwesome :

///class names are separated
i.icon.circle => i.icon.circle
i.icon.circle-o => i.icon.circle.outline
// class names are separated
i.icon.angle-left => i.icon.angle.left

//abbreviation are replaced by full letters:
i.icon.ellipsis-h => i.icon.ellipsis.horizontal
i.icon.ellipsis-v => i.icon.ellipsis.vertical
.alpha => .i.icon.alphabet
.asc => .i.icon.ascending
.desc => .i.icon.descending
.alt =>.alternate
// variations are extracted
i.icon.circle => i.icon.circle
i.icon.circle-o => i.icon.circle.outline

ASCII order is conserved for easier maintenance.
// abbreviation are replaced by full words
i.icon.*-h => i.icon.*.horizontal
i.icon.*-v => i.icon.*.vertical
i.icon.alpha => i.icon.alphabet
i.icon.asc => i.icon.ascending
i.icon.desc => i.icon.descending
i.icon.alt => i.icon.alternate

Icons that only have one style 'outline', 'square' etc do not require this class
for instance `lemon icon` not `lemon outline icon` since there is only one lemon

Icons are order A-Z in their group, Solid, Outline, Thin (Pro only) and Brand

*******************************/

Expand Down

0 comments on commit 2705e44

Please sign in to comment.