Typography | Cuba - Premium Admin Template By Pixelstrap

Loading...

###### Don't Miss Out! Our new update has been released.

###### Something you love is now on sale!

Buy now !

### Typography

##### Headings

All HTML headings,`<h1>` through `<h6>` , are available.

Code | Font-Size | Heading
--- | --- | ---

`<h1></h1>`

# 1.625rem

# Heading 1 (MEGA)

`<h2></h2>`

## 1.5rem

## Heading 2 (XL)

`<h3></h3>`

### 1.375rem

### Heading 3 (LARGE)

`<h4></h4>`

#### 1.25rem

#### Heading 4 (MEDIUM)

`<h5></h5>`

##### 1.125rem

##### Heading 5 (SMALL)

`<h6></h6>`

###### 1rem

###### Heading 6

    <div class="overflow-x-auto custom-scrollbar">
     <table class="table mb-0 typography-table">
       <thead>
         <tr>
           <th class="pt-0">Code</th>
           <th class="pt-0">Font-Size</th>
           <th class="pt-0">Heading</th>
         </tr>
       </thead>
       <tbody>
         <tr>
           <td>
             <code><h1></h1></code>
           </td>
           <td>
             <h1 class="mb-0">1.625rem</h1>
           </td>
           <td>
             <h1>
               <span>Heading 1 (MEGA)</span>
             </h1>
           </td>
         </tr>
         <tr>
           <td>
             <code><h2></h2></code>
           </td>
           <td>
             <h2 class="mb-0">1.5rem</h2>
           </td>
           <td>
             <h2>
               <span>Heading 2 (XL)</span>
             </h2>
           </td>
         </tr>
         <tr>
           <td>
             <code><h3></h3></code>
           </td>
           <td>
             <h3 class="mb-0">1.375rem</h3>
           </td>
           <td>
             <h3>
               <span>Heading 3 (LARGE)</span>
             </h3>
           </td>
         </tr>
         <tr>
           <td>
             <code><h4></h4></code>
           </td>
           <td>
             <h4 class="mb-0">1.25rem</h4>
           </td>
           <td>
             <h4>
               <span>Heading 4 (MEDIUM)</span>
             </h4>
           </td>
         </tr>
         <tr>
           <td>
             <code><h5></h5></code>
           </td>
           <td>
             <h5 class="mb-0">1.125rem</h5>
           </td>
           <td>
             <h5>
               <span>Heading 5 (SMALL)</span>
             </h5>
           </td>
         </tr>
         <tr>
           <td class="pb-0">
             <code><h6></h6></code>
           </td>
           <td class="pb-0">
             <h6 class="mb-0">1rem</h6>
           </td>
           <td class="pb-0">
             <h6>
               <span>Heading 6</span>
             </h6>
           </td>
         </tr>
       </tbody>
     </table>
    </div>

##### Colored Headings

All HTML headings, `<h1>` through `<h6>`, are available.

Code | Heading
--- | ---

`<h1></h1>`

# Heading 1 Sub Heading

`<h2></h2>`

## Heading 1 Sub Heading

`<h3></h3>`

### Heading 1 Sub Heading

`<h4></h4>`

#### Heading 1 Sub Heading

`<h5></h5>`

##### Heading 1 Sub Heading

`<h6></h6>`

###### Heading 1 Sub Heading

    <div class="overflow-x-auto">
     <table class="table mb-0 typography-table">
       <thead>
         <tr>
           <th class="pt-0">Code</th>
           <th class="pt-0">Heading</th>
         </tr>
       </thead>
       <tbody>
         <tr>
           <td><code><h1></h1></code></td>
           <td>
             <h1><span class="txt-primary">Heading 1</span>Sub Heading</h1>
           </td>
         </tr>
         <tr>
           <td><code><h2></h2></code></td>
           <td>
             <h2><span class="txt-secondary">Heading 1</span>Sub Heading</h2>
           </td>
         </tr>
         <tr>
           <td><code><h3></h3></code></td>
           <td>
             <h3><span class="txt-success">Heading 1</span>Sub Heading</h3>
           </td>
         </tr>
         <tr>
           <td><code><h4></h4></code></td>
           <td>
             <h4><span class="txt-info">Heading 1</span>Sub Heading</h4>
           </td>
         </tr>
         <tr>
           <td><code><h5></h5></code></td>
           <td>
             <h5><span class="txt-warning">Heading 1</span>Sub Heading</h5>
           </td>
         </tr>
         <tr>
           <td class="pb-0"><code><h6></h6></code></td>
           <td class="pb-0">
             <h6><span class="txt-danger">Heading 1</span>Sub Heading</h6>
           </td>
         </tr>
       </tbody>
     </table>
    </div>

##### Font Weight

Using `f-w-*` class, you can change the font weight.

# You can set bolder font weight Heading 1 using`font-black`

## You can set bold font weight Heading 2 using`font-bold`

### You can set medium font weight Heading 3 using`font-semibold`

#### You can set normal font weight Heading 4 using`font-medium`

##### You can set light font weight Heading 5 using`font-normal`

###### You can set light font weight Heading 6 using`font-light`

    <h1 class="font-black">You can set bolder font weight Heading 1 using<code>font-black</code></h1>
    <h2 class="font-bold">You can set bold font weight Heading 2 using<code>font-bold</code></h2>
    <h3 class="font-semibold">You can set medium font weight Heading 3 using<code>font-semibold</code></h3>
    <h4 class="font-medium">You can set normal font weight Heading 4 using<code>font-medium</code></h4>
    <h5 class="font-normal">You can set light font weight Heading 5 using<code>font-normal</code></h5>
    <h6 class="font-light">You can set light font weight Heading 6 using<code>font-light</code></h6>

##### Listing Typography

All typography list:- `<ul>`,`<ol>` & `<dl>`

###### Un-order List

- This is a list.
- It appears completely unstyled.
- Structurally, it's still a list.
- However, this style only applies to immediate child elements.
- Nested lists:
  - Are unaffected by this style
  - Will still show a bullet
  - And have appropriate left margin
- This may still come in handy in some situations.

###### Order List

1. This is a list.
2. It appears completely unstyled.
3. Structurally, it's still a list.
4. However, this style only applies to immediate child elements.
5. Nested lists:
   1. Are unaffected by this style
   2. Will still show a bullet
   3. And have appropriate left margin
6. This may still come in handy in some situations.

###### Description List

Description lists
  A description list is perfect for defining terms.
Term

  Definition for the term.

  And some more placeholder definition text.

Another term
  This definition is short, so no extra paragraphs or anything.
Truncated term is truncated
  This can be useful when space is tight. Adds an ellipsis at the end.
Nesting

Nested definition list
  I heard you like definition lists. Let me put a definition list inside your definition list.

    <div class="card-body typography-list">
     <div class="grid grid-cols-12 gap-3">
       <div class="col-span-3 xxl:col-span-6 md:col-span-12">
         <div class="card-wrapper border rounded-3 h-full">
           <h6 class="sub-title">Un-order List</h6>
           <ul>
             <li>This is a list.</li>
             <li>It appears completely unstyled.</li>
             <li>Structurally, it's still a list.</li>
             <li>However, this style only applies to immediate child elements.</li>
             <li>Nested lists:
               <ul>
                 <li>Are unaffected by this style</li>
                 <li>Will still show a bullet</li>
                 <li>And have appropriate left margin</li>
               </ul>
             </li>
             <li>This may still come in handy in some situations.</li>
           </ul>
         </div>
       </div>
       <div class="col-span-3 xxl:col-span-6 md:col-span-12">
         <div class="card-wrapper border rounded-3 h-full">
           <h6 class="sub-title">Order List</h6>
           <ol>
             <li>This is a list.</li>
             <li>It appears completely unstyled.</li>
             <li>Structurally, it's still a list.</li>
             <li>However, this style only applies to immediate child elements.</li>
             <li>Nested lists:
               <ol>
                 <li>Are unaffected by this style</li>
                 <li>Will still show a bullet</li>
                 <li>And have appropriate left margin</li>
               </ol>
             </li>
             <li>This may still come in handy in some situations.</li>
           </ol>
         </div>
       </div>
       <div class="col-span-6 xxl:col-span-12">
         <div class="card-wrapper border rounded-3 h-full">
           <h6 class="sub-title">Description List</h6>
           <dl class="grid grid-cols-12">
             <dt class="col-span-3 sm:col-span-12 text-truncate">Description lists</dt>
             <dd class="col-span-9 sm:col-span-12">A description list is perfect for defining terms.</dd>
             <dt class="col-span-3 sm:col-span-12">Term</dt>
             <dd class="col-span-9 sm:col-span-12">
               <p>Definition for the term.</p>
               <p>And some more placeholder definition text.</p>
             </dd>
             <dt class="col-span-3 sm:col-span-12">Another term</dt>
             <dd class="col-span-9 sm:col-span-12">This definition is short, so no extra paragraphs or anything.</dd>
             <dt class="col-span-3 sm:col-span-12 text-truncate">Truncated term is truncated</dt>
             <dd class="col-span-9 sm:col-span-12">This can be useful when space is tight. Adds an ellipsis at the end.</dd>
             <dt class="col-span-3 sm:col-span-12">Nesting</dt>
             <dd class="col-span-9 sm:col-span-12">
               <dl class="grid grid-12">
                 <dt class="col-span-4 sm:col-span-12">Nested definition list</dt>
                 <dd class="col-span-8 sm:col-span-12">I heard you like definition lists. Let me put a definition list inside your definition list.</dd>
               </dl>
             </dd>
           </dl>
         </div>
       </div>
     </div>
    </div>

##### Display Headings

When you need a heading to stand out, consider using a display heading—a larger, slightly more opinionated heading style.

# Display 1

## Display 2

### Display 3

#### Display 4

##### Display 5

###### Display 6

    <h1 class="display-1">Display 1</h1>
    <h2 class="display-2">Display 2</h2>
    <h3 class="display-3">Display 3</h3>
    <h4 class="display-4">Display 4</h4>
    <h5 class="display-5">Display 5</h5>
    <h6 class="display-6">Display 6</h6>

#### Inline Text Elements

Styling for common inline HTML5 elements.

You can use the mark tag to highlight text.

This line of text is meant to be treated as deleted text.

This line of text is meant to be treated as no longer accurate.

This line of text is meant to be treated as an addition to the document.

This line of text will render as underlined

This line of text is meant to be treated as fine print.

This line rendered as bold text.

This line rendered as italicized text.

    <div class="flex flex-col gap-2">
     <p class="mb-0">You can use the mark tag to
       <mark>highlight</mark> text.
     </p>
     <p class="mb-0">
       <del>This line of text is meant to be treated as deleted text.</del>
     </p>
     <p class="mb-0">
       <s>This line of text is meant to be treated as no longer accurate.</s>
     </p>
     <p class="mb-0">
       <ins>This line of text is meant to be treated as an addition to the document.</ins>
     </p>
     <p class="mb-0">
       <u>This line of text will render as underlined</u>
     </p>
     <p class="mb-0">
       <small>This line of text is meant to be treated as fine print.</small>
     </p>
     <p class="mb-0">
       <strong>This line rendered as bold text.</strong>
     </p>
     <p class="mb-0">
       <em>This line rendered as italicized text.</em>
     </p>
    </div>

##### Text Colors

You give text color by using `txt-*` classes.

The `"txt-primary"` class can be used to create an text like this one.

The `"txt-secondary"` class can be used to create an text like this one.

The `"txt-success"` class can be used to create an text like this one. class

The `"txt-info"` class can be used to create an text like this one. class

The `"txt-warning"` class can be used to create an text like this one.

The `"txt-danger"` class can be used to create an text like this one.

The `"txt-dark"` class can be used to create an text like this one.

    <div class="flex flex-col gap-2">
     <p class="txt-primary mb-0">The
       <code>"txt-primary"</code>class can be used to create an text like this one.
     </p>
     <p class="txt-secondary mb-0">The
       <code>"txt-secondary"</code>class can be used to create an text like this one.
     </p>
     <p class="txt-success mb-0">The
       <code>"txt-success"</code>class can be used to create an text like this one. class
     </p>
     <p class="txt-info mb-0">The
       <code>"txt-info"</code>class can be used to create an text like this one. class
     </p>
     <p class="txt-warning mb-0">The
       <code>"txt-warning"</code>class can be used to create an text like this one.
     </p>
     <p class="txt-danger mb-0">The
       <code>"txt-danger"</code>class can be used to create an text like this one.
     </p>
     <p class="txt-dark mb-0">The
       <code>"txt-dark"</code>class can be used to create an text like this one.
     </p>
    </div>

##### Blockquote

The `<blockquote>` tag specifies a section that is quoted from another source.

> The only impossible journey is the one you never begin.

> Tony Robbins

> In this life we cannot do great things. We can only do small things with great love.

> Mother Teresa

> Live in the sunshine, swim the sea, drink the wild air.

> Ralph Waldo Emerson

    <div class="figure block dark-blockquote">
     <blockquote class="blockquote light-card mb-2">
       <p class="mb-0">The only impossible journey is the one you never begin.</p>
       <span class="blockquote-footer pt-3">Tony Robbins</span>
     </blockquote>
    </div>
    <div class="figure text-center block dark-blockquote">
     <blockquote class="blockquote light-card mb-2">
       <p class="mb-0">In this life we cannot do great things. We can only do small things with great love.</p>
       <span class="blockquote-footer pt-3">Mother Teresa</span>
     </blockquote>
    </div>
    <div class="figure text-end block dark-blockquote">
     <blockquote class="blockquote mb-0 light-card mb-2">
       <p class="mb-0">Live in the sunshine, swim the sea, drink the wild air.</p>
       <span class="blockquote-footer pt-3">Ralph Waldo Emerson</span>
     </blockquote>
    </div>