Skip to content

Commit

Permalink
Merge pull request #1530 from cozy/feat/lowercase
Browse files Browse the repository at this point in the history
feat: Add u-lowercase class
  • Loading branch information
doubleface authored Aug 28, 2020
2 parents 22de6a4 + 246ec44 commit 8aa879f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stylus/cozy-ui/build.styl
Original file line number Diff line number Diff line change
Expand Up @@ -1002,6 +1002,8 @@ Display an chip that represents complex identity
<h4 class="u-title-h4">Heading 4</h4>
<p class="u-text">Basic text</p>
<p class="u-caption">Caption text</p>
<p class="u-uppercase">Upper cased text</p>
<p class="u-lowercase">Lower cased text (default)</p>
Weight: -1
Expand Down
4 changes: 4 additions & 0 deletions stylus/utilities/typography.styl
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,14 @@ $caption
$uppercase
text-transform uppercase

$lowercase
text-transform lowercase

global('.u-title-h1', $title-h1)
global('.u-title-h2', $title-h2)
global('.u-title-h3', $title-h3)
global('.u-title-h4', $title-h4)
global('.u-text', $text)
global('.u-uppercase', $uppercase)
global('.u-lowercase', $lowercase)
global('.u-caption', $caption)

0 comments on commit 8aa879f

Please sign in to comment.