From dbc59ca69679fa6b40e44e1141fa17c6385fcc3e Mon Sep 17 00:00:00 2001 From: Lucas Larroche Date: Sun, 13 Mar 2022 15:31:11 +0700 Subject: [PATCH] docs: Disclaimer about links and buttons classes --- docs/buttons.html | 2 +- docs/src/buttons.html | 1 + docs/src/typography.html | 6 ++---- docs/typography.html | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/buttons.html b/docs/buttons.html index cde6744e..d315a32f 100644 --- a/docs/buttons.html +++ b/docs/buttons.html @@ -1,6 +1,6 @@ Buttons • Pico.css

Buttons

The essential button in pure HTML, without .classes for the default style.

<button>Button</button>
 <input type="submit">

Buttons are width: 100%; by default. Use role="button" on an inline element if you need an inline button.

Link Link
<a href="#" role="button">Link</a>
-<a href="#" role="button">Link</a>

Buttons come with .secondary and .contrast styles.

Secondary Contrast
<a href="#" role="button" class="secondary">Secondary</a>
+<a href="#" role="button">Link</a>

Buttons come with .secondary and .contrast styles.

ℹ️ These classes are not available in the class-less version.

Secondary Contrast
<a href="#" role="button" class="secondary">Secondary</a>
 <a href="#" role="button" class="contrast">Contrast</a>

And a classic .outline variant.

Primary Secondary Contrast
<a href="#" role="button" class="outline">Primary</a>
 <a href="#" role="button" class="secondary outline">Secondary</a>
 <a href="#" role="button" class="contrast outline">Contrast</a>

Code licensed MIT

\ No newline at end of file diff --git a/docs/src/buttons.html b/docs/src/buttons.html index bbf2c1a4..ec1e8295 100644 --- a/docs/src/buttons.html +++ b/docs/src/buttons.html @@ -42,6 +42,7 @@

Buttons come with .secondary and .contrast styles.

+

ℹ️ These classes are not available in the class-less version.

Secondary Contrast diff --git a/docs/src/typography.html b/docs/src/typography.html index dd05ce06..41cda0dc 100644 --- a/docs/src/typography.html +++ b/docs/src/typography.html @@ -166,10 +166,8 @@
-

- Links come with .secondary and - .contrast styles. -

+

Links come with .secondary and .contrast styles.

+

ℹ️ These classes are not available in the class-less version.

Primary
hgroup>
<div class="headings">
   <h2>Heading 2</h2>
   <h3>Subtitle for heading 2</h3>
-</div>

Inline text elements:

Links come with .secondary and .contrast styles.

Primary
Secondary
Contrast
<a href="#">Primary</a>
+</div>

Inline text elements:

Abbr. abbr

Bold strong b

Italic i em cite

Deleted del

Inserted ins

Ctrl + S kbd

Highlighted mark

Strikethrough s

Small small

Text Sub sub

Text Sup sup

Underline u

Links come with .secondary and .contrast styles.

ℹ️ These classes are not available in the class-less version.

Primary
Secondary
Contrast
<a href="#">Primary</a>
 <a href="#" class="secondary">Secondary</a>
 <a href="#" class="contrast">Contrast</a>

Blockquote:

"Maecenas vehicula metus tellus, vitae congue turpis hendrerit non. Nam at dui sit amet ipsum cursus ornare."
- Phasellus eget lacinia