inherit to specify the text size from outside.<!doctype html>
<html lang="en" class="scheme-light-dark">
<head>
<title></title>
</head>
<body class="bg-canvas">
<p-display tag="h3" size="inherit" class="text-[5rem]">
The quick brown fox jumps over the lazy dog
</p-display>
<script>
</script>
</body>
</html><!doctype html>
<html lang="en" class="scheme-light-dark">
<head>
<title></title>
</head>
<body class="bg-canvas">
<p-display tag="h3" size="{'base': 'medium', 'l': 'large'}">
The quick brown fox jumps over the lazy dog
</p-display>
<script>
</script>
</body>
</html>tag property or directly inside a slot.The quick brown fox jumps over the lazy dog
<!doctype html>
<html lang="en" class="scheme-light-dark">
<head>
<title></title>
</head>
<body class="bg-canvas">
<p-display tag="h3">
The quick brown fox jumps over the lazy dog
</p-display>
<p-display>
<h3>
The quick brown fox jumps over the lazy dog
</h3>
</p-display>
<script>
</script>
</body>
</html>inherit can also be used to define a custom color.<!doctype html>
<html lang="en" class="scheme-light-dark">
<head>
<title></title>
</head>
<body class="bg-canvas">
<p-display tag="h3" color="inherit" class="text-[deeppink]">
The quick brown fox jumps over the lazy dog
</p-display>
<script>
</script>
</body>
</html>