mirror of
https://github.com/primer/css.git
synced 2025-01-07 14:58:54 +03:00
Merge pull request #548 from AustinPaquette/text-underline
add text underline utility & correct relative comment
This commit is contained in:
commit
5bcd023e53
@ -91,6 +91,7 @@ Change the font weight, styles, and alignment with these utilities.
|
||||
<p class="no-wrap">No wrap</p>
|
||||
<p class="ws-normal">Normal whitespace</p>
|
||||
<p class="wb-break-all">Line break long lines</p>
|
||||
<p class="text-underline">Text underline</p>
|
||||
<p class="no-underline">No underline</p>
|
||||
<p class="text-emphasized">Emphasized</p>
|
||||
<p class="text-small">Small</p>
|
||||
|
@ -191,6 +191,8 @@
|
||||
/* Make text uppercase */
|
||||
.text-uppercase { text-transform: uppercase !important; }
|
||||
/* Underline text */
|
||||
.text-underline { text-decoration: underline !important; }
|
||||
/* Don't underline text */
|
||||
.no-underline { text-decoration: none !important; }
|
||||
/* Don't wrap white space */
|
||||
.no-wrap { white-space: nowrap !important; }
|
||||
|
@ -53,6 +53,7 @@ storiesOf('Typography utilities', module)
|
||||
<p className='no-wrap'>no-wrap</p>
|
||||
<p className='ws-normal'>ws-normal</p>
|
||||
<p className='wb-break-all'>wb-break-all</p>
|
||||
<p className='text-underline'>text-underline</p>
|
||||
<p className='no-underline'>no-underline</p>
|
||||
<p className='text-emphasized'>text-emphasized</p>
|
||||
<p className='text-small'>text-small</p>
|
||||
|
@ -10,7 +10,7 @@ if (!process.env.GH_TOKEN) {
|
||||
|
||||
ghpages.publish('build',{
|
||||
branch: 'gh-pages',
|
||||
repo: `https://primer-css:${process.env.GH_TOKEN}@github.com/primer/storybook`
|
||||
repo: `https://primer-css:${process.env.GH_TOKEN}@github.com/primer/storybook.git`
|
||||
}, (error) => {
|
||||
if(error) {
|
||||
console.error('gh-pages failed to publish:', error.message.replace(process.env.GH_TOKEN, ''))
|
||||
|
Loading…
Reference in New Issue
Block a user