flowbite-mcp 1.1.2 → 1.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +49 -74
- package/build/index.js +20 -36
- package/data/components/accordion.md +39 -53
- package/data/components/alerts.md +27 -44
- package/data/components/avatar.md +20 -33
- package/data/components/badge.md +34 -47
- package/data/components/banner.md +10 -29
- package/data/components/bottom-navigation.md +16 -29
- package/data/components/breadcrumb.md +12 -25
- package/data/components/button-group.md +26 -39
- package/data/components/buttons.md +41 -67
- package/data/components/card.md +34 -47
- package/data/components/carousel.md +25 -39
- package/data/components/chat-bubble.md +36 -50
- package/data/components/clipboard.md +256 -252
- package/data/components/datepicker.md +56 -70
- package/data/components/device-mockups.md +16 -29
- package/data/components/drawer.md +42 -56
- package/data/components/dropdowns.md +66 -80
- package/data/components/footer.md +16 -29
- package/data/components/forms.md +32 -50
- package/data/components/gallery.md +16 -33
- package/data/components/indicators.md +18 -31
- package/data/components/jumbotron.md +12 -25
- package/data/components/kbd.md +14 -27
- package/data/components/list-group.md +14 -27
- package/data/components/mega-menu.md +10 -24
- package/data/components/modal.md +37 -51
- package/data/components/navbar.md +41 -55
- package/data/components/pagination.md +22 -35
- package/data/components/popover.md +36 -51
- package/data/components/progress.md +10 -23
- package/data/components/qr-code.md +41 -133
- package/data/components/rating.md +16 -29
- package/data/components/sidebar.md +15 -30
- package/data/components/skeleton.md +16 -29
- package/data/components/speed-dial.md +40 -55
- package/data/components/spinner.md +14 -27
- package/data/components/stepper.md +14 -27
- package/data/components/tables.md +45 -64
- package/data/components/tabs.md +30 -45
- package/data/components/timeline.md +10 -23
- package/data/components/toast.md +25 -39
- package/data/components/tooltips.md +24 -39
- package/data/components/typography.md +22 -35
- package/data/components/video.md +14 -27
- package/data/forms/checkbox.md +27 -43
- package/data/forms/file-input.md +12 -26
- package/data/forms/floating-label.md +12 -25
- package/data/forms/input-field.md +17 -32
- package/data/forms/number-input.md +83 -93
- package/data/forms/phone-input.md +42 -54
- package/data/forms/radio.md +23 -39
- package/data/forms/range.md +12 -26
- package/data/forms/search-input.md +14 -31
- package/data/forms/select.md +15 -30
- package/data/forms/textarea.md +8 -21
- package/data/forms/timepicker.md +30 -42
- package/data/forms/toggle.md +18 -31
- package/data/plugins/charts.md +542 -526
- package/data/plugins/datatables.md +285 -286
- package/data/plugins/wysiwyg.md +658 -650
- package/data/quickstart.md +24 -24
- package/data/typography/blockquote.md +24 -37
- package/data/typography/headings.md +30 -43
- package/data/typography/hr.md +10 -23
- package/data/typography/images.md +32 -45
- package/data/typography/links.md +16 -29
- package/data/typography/lists.md +22 -35
- package/data/typography/paragraphs.md +30 -43
- package/data/typography/text.md +42 -55
- package/package.json +1 -1
|
@@ -1,16 +1,3 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: docs
|
|
3
|
-
title: Tailwind CSS Paragraphs - Flowbite
|
|
4
|
-
description: Use the paragraph component to create multiple blocks of text separated by blank lines and write content based on multiple layouts and styles based on Tailwind CSS
|
|
5
|
-
group: typography
|
|
6
|
-
toc: true
|
|
7
|
-
|
|
8
|
-
previous: Headings
|
|
9
|
-
previousLink: typography/headings/
|
|
10
|
-
next: Blockquote
|
|
11
|
-
nextLink: typography/blockquote/
|
|
12
|
-
---
|
|
13
|
-
|
|
14
1
|
The paragraph element is one of the most commonly used HTML tags on a document page because it is used to write longer blocks of text separated by a blank line and can massively improve the on-page SEO of the page when used correctly.
|
|
15
2
|
|
|
16
3
|
Get started with a collection of paragraph components based on multiple styles, layouts, colors and sizes to use for your website built with the utility classes from Tailwind CSS.
|
|
@@ -19,67 +6,67 @@ Get started with a collection of paragraph components based on multiple styles,
|
|
|
19
6
|
|
|
20
7
|
Use this example of a paragraph element to use inside article content or a landing page.
|
|
21
8
|
|
|
22
|
-
|
|
9
|
+
```html
|
|
23
10
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
24
11
|
<p class="text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
25
|
-
|
|
12
|
+
```
|
|
26
13
|
|
|
27
14
|
|
|
28
15
|
## Leading paragraph
|
|
29
16
|
|
|
30
17
|
The leading text can be used as the first paragraph inside an article content page.
|
|
31
18
|
|
|
32
|
-
|
|
19
|
+
```html
|
|
33
20
|
<p class="mb-3 text-lg text-body md:text-xl">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work and deploy.</p>
|
|
34
21
|
<p class="text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
35
|
-
|
|
22
|
+
```
|
|
36
23
|
|
|
37
24
|
## First letter
|
|
38
25
|
|
|
39
26
|
Use this example to highlight the first letter of the paragraph, often used in e-books and PDF documents.
|
|
40
27
|
|
|
41
|
-
|
|
28
|
+
```html
|
|
42
29
|
<p class="mb-3 text-body first-line:uppercase first-line:tracking-widest first-letter:text-7xl first-letter:font-bold first-letter:text-heading first-letter:me-3 first-letter:float-start">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
43
30
|
<p class="text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
44
|
-
|
|
31
|
+
```
|
|
45
32
|
|
|
46
33
|
## Paragraph link
|
|
47
34
|
|
|
48
35
|
This example can be used to add a custom styled link element inside the paragraph.
|
|
49
36
|
|
|
50
|
-
|
|
37
|
+
```html
|
|
51
38
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. <a href="#" class="font-medium text-fg-brand underline hover:no-underline">Link issues across Jira</a> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
52
|
-
|
|
39
|
+
```
|
|
53
40
|
|
|
54
41
|
## Paragraph bold
|
|
55
42
|
|
|
56
43
|
Use this example to highlight a piece of text inside the paragraph by using a bolder font weight.
|
|
57
44
|
|
|
58
|
-
|
|
45
|
+
```html
|
|
59
46
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. <strong class="font-semibold text-heading">Link issues across Jira</strong> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
60
|
-
|
|
47
|
+
```
|
|
61
48
|
|
|
62
49
|
## Paragraph underline
|
|
63
50
|
|
|
64
51
|
This example can be used to underline a certain part of the text inside the paragraph.
|
|
65
52
|
|
|
66
|
-
|
|
53
|
+
```html
|
|
67
54
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. <u class="underline">Link issues across Jira</u> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
68
|
-
|
|
55
|
+
```
|
|
69
56
|
|
|
70
57
|
## Paragraph italic
|
|
71
58
|
|
|
72
59
|
Use this example to make the font style of the text inside the paragraph italic.
|
|
73
60
|
|
|
74
|
-
|
|
61
|
+
```html
|
|
75
62
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. <em class="font-italic">Link issues across Jira</em> and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
76
|
-
|
|
63
|
+
```
|
|
77
64
|
|
|
78
65
|
## Paragraph popover
|
|
79
66
|
|
|
80
67
|
Get started with this example to show a popover with extra information inside paragraph elements.
|
|
81
68
|
|
|
82
|
-
|
|
69
|
+
```html
|
|
83
70
|
<p class="text-body">Due to its central geographic location in Southern Europe, <a href="#" class="text-fg-brand font-medium underline hover:no-underline" data-popover-target="popover-image">Italy</a> has historically been home to myriad peoples and cultures. In addition to the various ancient peoples dispersed throughout what is now modern-day Italy, the most predominant being the Indo-European Italic peoples who gave the peninsula its name, beginning from the classical era, Phoenicians and Carthaginians founded colonies mostly in insular Italy</p>
|
|
84
71
|
<div data-popover id="popover-image" role="tooltip" class="absolute z-10 p-3 invisible inline-block text-sm text-body transition-opacity duration-300 bg-neutral-primary-soft border border-default rounded-lg shadow-xs opacity-0 w-96">
|
|
85
72
|
<div class="grid grid-cols-5">
|
|
@@ -99,7 +86,7 @@ Get started with this example to show a popover with extra information inside pa
|
|
|
99
86
|
<div data-popper-arrow></div>
|
|
100
87
|
</div>
|
|
101
88
|
|
|
102
|
-
|
|
89
|
+
```
|
|
103
90
|
|
|
104
91
|
## Layout
|
|
105
92
|
|
|
@@ -109,29 +96,29 @@ Get started with examples of layouts for the paragraph component to separate con
|
|
|
109
96
|
|
|
110
97
|
Use this example to show multiple paragraphs on a single line.
|
|
111
98
|
|
|
112
|
-
|
|
99
|
+
```html
|
|
113
100
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
114
101
|
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
115
|
-
|
|
102
|
+
```
|
|
116
103
|
|
|
117
104
|
### Two columns even
|
|
118
105
|
|
|
119
106
|
Use this example to separate paragraphs into two columns for better readability.
|
|
120
107
|
|
|
121
|
-
|
|
108
|
+
```html
|
|
122
109
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
123
110
|
<div class="grid grid-cols-1 gap-6 sm:grid-cols-2">
|
|
124
111
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
125
112
|
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
126
113
|
</div>
|
|
127
114
|
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
128
|
-
|
|
115
|
+
```
|
|
129
116
|
|
|
130
117
|
### Three columns even
|
|
131
118
|
|
|
132
119
|
This example can be used to separate paragraphs into three separate columns.
|
|
133
120
|
|
|
134
|
-
|
|
121
|
+
```html
|
|
135
122
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
136
123
|
<div class="grid grid-cols-1 gap-6 sm:grid-cols-3">
|
|
137
124
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
@@ -139,13 +126,13 @@ This example can be used to separate paragraphs into three separate columns.
|
|
|
139
126
|
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
140
127
|
</div>
|
|
141
128
|
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
142
|
-
|
|
129
|
+
```
|
|
143
130
|
|
|
144
131
|
### Two columns uneven
|
|
145
132
|
|
|
146
133
|
Use this example to separate paragraphs into two uneven columns.
|
|
147
134
|
|
|
148
|
-
|
|
135
|
+
```html
|
|
149
136
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
150
137
|
<div class="grid grid-cols-1 gap-6 sm:grid-cols-3">
|
|
151
138
|
<div class="col-span-2">
|
|
@@ -155,7 +142,7 @@ Use this example to separate paragraphs into two uneven columns.
|
|
|
155
142
|
<p class="mb-3 text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
156
143
|
</div>
|
|
157
144
|
<p class="mb-3 text-body">Deliver great service experiences fast - without the complexity of traditional ITSM solutions.Accelerate critical development work, eliminate toil, and deploy changes with ease, with a complete audit trail for every change.</p>
|
|
158
|
-
|
|
145
|
+
```
|
|
159
146
|
|
|
160
147
|
## Text alignment
|
|
161
148
|
|
|
@@ -165,22 +152,22 @@ Align the paragraph component to the left (default), center or right side of the
|
|
|
165
152
|
|
|
166
153
|
The default alignment of the paragraph is to the left side and you can use the `text-left` class to align it manually.
|
|
167
154
|
|
|
168
|
-
|
|
155
|
+
```html
|
|
169
156
|
<p class="mb-3 text-left rtl:text-right text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
170
|
-
|
|
157
|
+
```
|
|
171
158
|
|
|
172
159
|
### Center
|
|
173
160
|
|
|
174
161
|
Use the `text-center` class to align the paragraph text to the center.
|
|
175
162
|
|
|
176
|
-
|
|
163
|
+
```html
|
|
177
164
|
<p class="mb-3 text-center text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
178
|
-
|
|
165
|
+
```
|
|
179
166
|
|
|
180
167
|
### Right
|
|
181
168
|
|
|
182
169
|
Use the `text-right` utility class to align the paragraph text the right side of the page.
|
|
183
170
|
|
|
184
|
-
|
|
171
|
+
```html
|
|
185
172
|
<p class="mb-3 text-right rtl:text-left text-body">Track work across the enterprise through an open, collaborative platform. Link issues across Jira and ingest data from other software development tools, so your IT support and operations teams have richer contextual information to rapidly respond to requests, incidents, and changes.</p>
|
|
186
|
-
|
|
173
|
+
```
|
package/data/typography/text.md
CHANGED
|
@@ -1,23 +1,10 @@
|
|
|
1
|
-
---
|
|
2
|
-
layout: docs
|
|
3
|
-
title: Tailwind CSS Text - Flowbite
|
|
4
|
-
description: Learn how to customize text-related styles and properties such as font size, font style, text decoration, font weight and more using Tailwind CSS classes
|
|
5
|
-
group: typography
|
|
6
|
-
toc: true
|
|
7
|
-
|
|
8
|
-
previous: Links
|
|
9
|
-
previousLink: typography/links/
|
|
10
|
-
next: Horizontal line (HR)
|
|
11
|
-
nextLink: typography/hr/
|
|
12
|
-
---
|
|
13
|
-
|
|
14
1
|
Get started with a collection of text customization examples to learn how to update the size, font weight, style, decoration and spacing of inline text elements using Tailwind CSS.
|
|
15
2
|
|
|
16
3
|
## Font size
|
|
17
4
|
|
|
18
5
|
Use this example to set the font size of inline text elements using the `text-{size}` class.
|
|
19
6
|
|
|
20
|
-
|
|
7
|
+
```html
|
|
21
8
|
<p class="text-xs text-heading">Aa</p>
|
|
22
9
|
<p class="text-sm text-heading">Aa</p>
|
|
23
10
|
<p class="text-base text-heading">Aa</p>
|
|
@@ -31,13 +18,13 @@ Use this example to set the font size of inline text elements using the `text-{s
|
|
|
31
18
|
<p class="text-7xl text-heading">Aa</p>
|
|
32
19
|
<p class="text-8xl text-heading">Aa</p>
|
|
33
20
|
<p class="text-9xl text-heading">Aa</p>
|
|
34
|
-
|
|
21
|
+
```
|
|
35
22
|
|
|
36
23
|
## Font weight
|
|
37
24
|
|
|
38
25
|
This example can be used to the font weight of an inline text element using the `font-{size}` class.
|
|
39
26
|
|
|
40
|
-
|
|
27
|
+
```html
|
|
41
28
|
<p class="text-4xl font-thin text-heading">Aa</p>
|
|
42
29
|
<p class="text-4xl font-extralight text-heading">Aa</p>
|
|
43
30
|
<p class="text-4xl text-heading">Aa</p>
|
|
@@ -47,32 +34,32 @@ This example can be used to the font weight of an inline text element using the
|
|
|
47
34
|
<p class="text-4xl font-bold text-heading">Aa</p>
|
|
48
35
|
<p class="text-4xl font-extrabold text-heading">Aa</p>
|
|
49
36
|
<p class="text-4xl font-black text-heading">Aa</p>
|
|
50
|
-
|
|
37
|
+
```
|
|
51
38
|
|
|
52
39
|
## Text color
|
|
53
40
|
|
|
54
41
|
Use the `text-{color}` classes from Tailwind CSS to set the color of the inline text.
|
|
55
42
|
|
|
56
|
-
|
|
43
|
+
```html
|
|
57
44
|
<p class="text-fg-brand">This text is in the brand color.</p>
|
|
58
45
|
<p class="text-success">This text is in the green color.</p>
|
|
59
46
|
<p class="text-danger">This text is in the red color.</p>
|
|
60
47
|
<p class="text-purple">This text is in the purple color.</p>
|
|
61
48
|
<p class="text-teal">This text is in the teal color.</p>
|
|
62
|
-
|
|
49
|
+
```
|
|
63
50
|
|
|
64
51
|
## Letter spacing
|
|
65
52
|
|
|
66
53
|
Increase or decrease the spacing between letters using the `tracking-{type}` class.
|
|
67
54
|
|
|
68
|
-
|
|
55
|
+
```html
|
|
69
56
|
<p class="tracking-tighter text-body md:text-lg">Flowbite app will help you improve yourself by analysing your everyday life.</p>
|
|
70
57
|
<p class="tracking-tight text-body md:text-lg">Flowbite app will help you improve yourself by analysing your everyday life.</p>
|
|
71
58
|
<p class="tracking-normal text-body md:text-lg">Flowbite app will help you improve yourself by analysing your everyday life.</p>
|
|
72
59
|
<p class="tracking-wide text-body md:text-lg">Flowbite app will help you improve yourself by analysing your everyday life.</p>
|
|
73
60
|
<p class="tracking-wider text-body md:text-lg">Flowbite app will help you improve yourself by analysing your everyday life.</p>
|
|
74
61
|
<p class="tracking-widest text-body md:text-lg">Flowbite app will help you improve yourself by analysing your everyday life.</p>
|
|
75
|
-
|
|
62
|
+
```
|
|
76
63
|
|
|
77
64
|
## Text Decoration
|
|
78
65
|
|
|
@@ -82,25 +69,25 @@ Set decoration for the inline text elements such as underline, line through or u
|
|
|
82
69
|
|
|
83
70
|
Underline text by using the `underline` class or disable it using `no-underline`.
|
|
84
71
|
|
|
85
|
-
|
|
72
|
+
```html
|
|
86
73
|
<p class="text-body">Track work across the enterprise through an open, collaborative platform. <a href="#" class="font-semibold text-heading underline decoration-indigo">Link issues across Jira</a> and ingest data from other <a href="#" class="font-semibold text-heading underline decoration-brand">software development<a> tools, so your IT support and operations teams have richer contextual information to rapidly respond to <a href="#" class="font-semibold text-heading underline decoration-success">requests</a>, <a href="#" class="font-semibold text-heading underline decoration-danger">incidents</a>, and <a href="#" class="font-semibold text-heading underline decoration-sky">changes</a>.</p>
|
|
87
|
-
|
|
74
|
+
```
|
|
88
75
|
|
|
89
76
|
### Line through
|
|
90
77
|
|
|
91
78
|
Set a strikethrough line on a text element using the `line-through` class.
|
|
92
79
|
|
|
93
|
-
|
|
80
|
+
```html
|
|
94
81
|
<span class="text-lg font-medium text-heading line-through">$109</span><span class="ms-3 text-lg font-medium text-heading">$79</span>
|
|
95
|
-
|
|
82
|
+
```
|
|
96
83
|
|
|
97
84
|
### Uppercase
|
|
98
85
|
|
|
99
86
|
Force uppercase characters for a given portion of text using the `uppercase` class.
|
|
100
87
|
|
|
101
|
-
|
|
88
|
+
```html
|
|
102
89
|
<p class="text-lg font-medium text-heading">The crypto <span class="uppercase">identity</span> primitive.</p>
|
|
103
|
-
|
|
90
|
+
```
|
|
104
91
|
|
|
105
92
|
## Font style
|
|
106
93
|
|
|
@@ -110,17 +97,17 @@ Set italic or non italic styles with the utility classes from Tailwind CSS.
|
|
|
110
97
|
|
|
111
98
|
Use the `italic` class from Tailwind CSS to set italic font style to a text element.
|
|
112
99
|
|
|
113
|
-
|
|
100
|
+
```html
|
|
114
101
|
<p class="text-lg font-medium text-heading">The crypto <span class="italic">identity</span> primitive.</p>
|
|
115
|
-
|
|
102
|
+
```
|
|
116
103
|
|
|
117
104
|
### Normal
|
|
118
105
|
|
|
119
106
|
Text elements by default are non-italic.
|
|
120
107
|
|
|
121
|
-
|
|
108
|
+
```html
|
|
122
109
|
<p class="text-lg font-medium text-heading">The crypto identity primitive.</p>
|
|
123
|
-
|
|
110
|
+
```
|
|
124
111
|
|
|
125
112
|
## Line Height
|
|
126
113
|
|
|
@@ -130,25 +117,25 @@ Set the height between lines using the `leading-{type}` classes from Tailwind CS
|
|
|
130
117
|
|
|
131
118
|
Use the `leading-normal` class to set default line height.
|
|
132
119
|
|
|
133
|
-
|
|
120
|
+
```html
|
|
134
121
|
<p class="max-w-lg text-3xl font-semibold leading-normal text-heading">The Al-powered app will help you improve yourself by analysing your everyday life.</p>
|
|
135
|
-
|
|
122
|
+
```
|
|
136
123
|
|
|
137
124
|
### Leading relaxed
|
|
138
125
|
|
|
139
126
|
Use the `leading-relaxed` class to increase the space between lines.
|
|
140
127
|
|
|
141
|
-
|
|
128
|
+
```html
|
|
142
129
|
<p class="max-w-lg text-3xl font-semibold leading-relaxed text-heading">The Al-powered app will help you improve yourself by analysing your everyday life.</p>
|
|
143
|
-
|
|
130
|
+
```
|
|
144
131
|
|
|
145
132
|
### Leading loose
|
|
146
133
|
|
|
147
134
|
Use the `leading-loose` class to set a large amount of space between text lines.
|
|
148
135
|
|
|
149
|
-
|
|
136
|
+
```html
|
|
150
137
|
<p class="max-w-lg text-3xl font-semibold leading-loose text-heading">The Al-powered app will help you improve yourself by analysing your everyday life.</p>
|
|
151
|
-
|
|
138
|
+
```
|
|
152
139
|
|
|
153
140
|
## Text Align
|
|
154
141
|
|
|
@@ -158,33 +145,33 @@ Use the following examples to align the text content to the left, center, or rig
|
|
|
158
145
|
|
|
159
146
|
Use the `text-left` class to align the text to the left side of the page.
|
|
160
147
|
|
|
161
|
-
|
|
148
|
+
```html
|
|
162
149
|
<p class="text-left rtl:text-right text-body">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>
|
|
163
|
-
|
|
150
|
+
```
|
|
164
151
|
|
|
165
152
|
### Center
|
|
166
153
|
|
|
167
154
|
Use the `text-center` class to align the text content to the center of the page.
|
|
168
155
|
|
|
169
|
-
|
|
156
|
+
```html
|
|
170
157
|
<p class="text-center text-body">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>
|
|
171
|
-
|
|
158
|
+
```
|
|
172
159
|
|
|
173
160
|
### Right
|
|
174
161
|
|
|
175
162
|
Use the `text-right` class to align the text element to the right side of the page.
|
|
176
163
|
|
|
177
|
-
|
|
164
|
+
```html
|
|
178
165
|
<p class="text-right rtl:text-left text-body">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>
|
|
179
|
-
|
|
166
|
+
```
|
|
180
167
|
|
|
181
168
|
### Text justify
|
|
182
169
|
|
|
183
170
|
Use the `text-justify` class to justify the text content.
|
|
184
171
|
|
|
185
|
-
|
|
172
|
+
```html
|
|
186
173
|
<p class="text-justify text-body">Get started with an enterprise-level, professionally designed, fully responsive, and HTML semantic set of web pages, sections and over 400+ components crafted with the utility classes from Tailwind CSS and based on the Flowbite component library</p>
|
|
187
|
-
|
|
174
|
+
```
|
|
188
175
|
|
|
189
176
|
## Whitespace
|
|
190
177
|
|
|
@@ -194,56 +181,56 @@ Configure the whitespace behaviour of inline text elements using classes from Ta
|
|
|
194
181
|
|
|
195
182
|
Use the `whitespace-normal` class to set the default whitespace behaviour.
|
|
196
183
|
|
|
197
|
-
|
|
184
|
+
```html
|
|
198
185
|
<p class="text-body whitespace-normal">
|
|
199
186
|
This is some text. This is some text. This is some text.
|
|
200
187
|
This is some text. This is some text. This is some text.
|
|
201
188
|
This is some text. This is some text. This is some text.
|
|
202
189
|
This is some text. This is some text. This is some text.
|
|
203
190
|
<p>
|
|
204
|
-
|
|
191
|
+
```
|
|
205
192
|
|
|
206
193
|
### Nowrap
|
|
207
194
|
|
|
208
195
|
Use the `whitespace-nowrap` class to prevent text being added to a new line when the full width has been reached.
|
|
209
196
|
|
|
210
|
-
|
|
197
|
+
```html
|
|
211
198
|
<p class="text-body whitespace-nowrap">
|
|
212
199
|
This is some text. This is some text. This is some text.
|
|
213
200
|
This is some text. This is some text. This is some text.
|
|
214
201
|
This is some text. This is some text. This is some text.
|
|
215
202
|
This is some text. This is some text. This is some text.
|
|
216
203
|
<p>
|
|
217
|
-
|
|
204
|
+
```
|
|
218
205
|
|
|
219
206
|
### Pre line
|
|
220
207
|
|
|
221
208
|
Use the `whitespace-pre-line` class to add whitespace exactly how it has been set from the source code.
|
|
222
209
|
|
|
223
|
-
|
|
210
|
+
```html
|
|
224
211
|
<p class="text-body whitespace-pre-line">
|
|
225
212
|
This is some text. This is some text. This is some text.
|
|
226
213
|
This is some text. This is some text. This is some text.
|
|
227
214
|
This is some text. This is some text. This is some text.
|
|
228
215
|
This is some text. This is some text. This is some text.
|
|
229
216
|
<p>
|
|
230
|
-
|
|
217
|
+
```
|
|
231
218
|
|
|
232
219
|
## Text Decoration Style
|
|
233
220
|
|
|
234
221
|
Update the text decoration style using the `decoration-{*}` classes from Tailwind CSS.
|
|
235
222
|
|
|
236
|
-
|
|
223
|
+
```html
|
|
237
224
|
<p class="text-body">Track work across the enterprise through an open, collaborative platform. <a href="#" class="font-semibold text-heading underline decoration-indigo">Link issues across Jira</a> and ingest data from other <a href="#" class="font-semibold text-heading underline decoration-brand decoration-double">software development<a> tools, so your IT support and operations teams have richer contextual information to rapidly respond to <a href="#" class="font-semibold text-heading underline decoration-success decoration-dotted">requests</a>, <a href="#" class="font-semibold text-heading underline decoration-danger decoration-dashed">incidents</a>, and <a href="#" class="font-semibold text-heading underline decoration-sky decoration-wavy">changes</a>.</p>
|
|
238
|
-
|
|
225
|
+
```
|
|
239
226
|
|
|
240
227
|
## Opacity
|
|
241
228
|
|
|
242
229
|
Use the `text-{color}-{opacity}` class from Tailwind CSS to set the opacity of inline text elements.
|
|
243
230
|
|
|
244
|
-
|
|
231
|
+
```html
|
|
245
232
|
<p class="text-xl font-semibold text-fg-brand/100">Flowbite app will help you improve yourself by analysing your everyday life.</p>
|
|
246
233
|
<p class="text-xl font-semibold text-fg-brand/75">Flowbite app will help you improve yourself by analysing your everyday life.</p>
|
|
247
234
|
<p class="text-xl font-semibold text-fg-brand/50">Flowbite app will help you improve yourself by analysing your everyday life.</p>
|
|
248
235
|
<p class="text-xl font-semibold text-fg-brand/25">Flowbite app will help you improve yourself by analysing your everyday life.</p>
|
|
249
|
-
|
|
236
|
+
```
|
package/package.json
CHANGED