diff --git a/src/base.css b/src/base.css
index 8176372e..f37dba6f 100644
--- a/src/base.css
+++ b/src/base.css
@@ -120,6 +120,19 @@
font-size: 21px;
line-height: inherit;
}
+
+ p:has(ruby),
+ li:has(> ruby) {
+ padding: 0.5rem 0;
+ }
+
+ ruby {
+ font-size: 1.3rem;
+ }
+
+ rt {
+ font-size: 0.9rem;
+ }
}
@tailwind components;
diff --git a/src/typography/typography.stories.tsx b/src/typography/typography.stories.tsx
new file mode 100644
index 00000000..775b1a01
--- /dev/null
+++ b/src/typography/typography.stories.tsx
@@ -0,0 +1,11 @@
+import React from "react";
+import { Typography } from "./typography";
+
+const story = {
+ title: "Design System/Typography",
+ component: Typography,
+};
+
+export const TypographySystem = (): JSX.Element =>
+ This is a paragraph of text. It demonstrates the default styling + applied to paragraph elements by the base stylesheet. Lorem ipsum + dolor sit amet, consectetur adipiscing elit. +
++ This is a paragraph with{" "} + a link in it. +
++ This text is bold and this is also bold. +
++ This is a blockquote. It is used to highlight quoted text or important + information. ++
+ Chinese text with pinyin annotations:{" "} + + 汉字 + + 。 +
+