]> git.ipfire.org Git - thirdparty/bulma.git/commitdiff
Display text weight typography helpers
authorRobert Rosenberg <rrosenberg@pax8.com>
Thu, 16 Mar 2023 18:47:49 +0000 (11:47 -0700)
committerJeremy Thomas <bbxdesign@gmail.com>
Thu, 16 Mar 2023 22:40:09 +0000 (22:40 +0000)
Noticed the text weight was all strong in the docs for each text weight. Instead I think it would be nice for folks to be able to see the difference in text weight.

docs/documentation/helpers/typography-helpers.html

index 87a62514766939824dcff275675d8d211c90afbb..e9d3faf5fa6df94246ce92b62d4a724a24d525ee 100644 (file)
@@ -361,26 +361,26 @@ breadcrumb:
   </tr>
   </thead>
   <tbody>
-  <tr>
-    <td><code>has-text-weight-light</code></td>
-    <td>Transforms text weight to <strong>light</strong></td>
-  </tr>
-  <tr>
-    <td><code>has-text-weight-normal</code></td>
-    <td>Transforms text weight to <strong>normal</strong></td>
-  </tr>
-  <tr>
-    <td><code>has-text-weight-medium</code></td>
-    <td>Transforms text weight to <strong>medium</strong></td>
-  </tr>
-  <tr>
-    <td><code>has-text-weight-semibold</code></td>
-    <td>Transforms text weight to <strong>semi-bold</strong></td>
-  </tr>
-  <tr>
-    <td><code>has-text-weight-bold</code></td>
-    <td>Transforms text weight to <strong>bold</strong></td>
-  </tr>
+    <tr>
+      <td><code>has-text-weight-light</code></td>
+      <td>Transforms text weight to <span class="has-text-weight-light">light</span></td>
+    </tr>
+    <tr>
+      <td><code>has-text-weight-normal</code></td>
+      <td>Transforms text weight to <span class="has-text-weight-normal">normal</span></td>
+    </tr>
+    <tr>
+      <td><code>has-text-weight-medium</code></td>
+      <td>Transforms text weight to <span class="has-text-weight-medium">medium</span></td>
+    </tr>
+    <tr>
+      <td><code>has-text-weight-semibold</code></td>
+      <td>Transforms text weight to <span class="has-text-weight-semibold">semi-bold</span></td>
+    </tr>
+    <tr>
+      <td><code>has-text-weight-bold</code></td>
+      <td>Transforms text weight to <span class="has-text-weight-bold">bold</span></td>
+    </tr>
   </tbody>
 </table>