diff --git a/src/wp-content/themes/ipsum/DESIGN.md b/src/wp-content/themes/ipsum/DESIGN.md index f00e8e3b1fa32..b03f69ee5bbbf 100644 --- a/src/wp-content/themes/ipsum/DESIGN.md +++ b/src/wp-content/themes/ipsum/DESIGN.md @@ -162,6 +162,7 @@ The class is `is-style-` plus the slug. | Style | Class | Blocks | What it does | | --- | --- | --- | --- | | Crop Contents | `is-style-crop-contents` | Group | `overflow: clip` | +| Dotted Rule | `is-style-dotted-rule` | Group | A 1px dotted rule in the text color at the start of the line (left in LTR, right in RTL); Format Link uses it beside the link | | Display | `is-style-text-display` | Heading, Paragraph, Post Title, Site Title, Query Title | A size above 2X-Large that scales with the viewport, line height 1.2 | | Plain on Color | `is-style-plain-on-color` | Quote | Quote Plain with the ❝ in the current text color instead of Border; Text Statement uses it on a Strong Contrast card | | Evening | `is-style-evening` | Code | A black ground with near-white text and border, the same under every variation | diff --git a/src/wp-content/themes/ipsum/patterns/format-link.php b/src/wp-content/themes/ipsum/patterns/format-link.php index 52740694e4330..823a9affb9930 100644 --- a/src/wp-content/themes/ipsum/patterns/format-link.php +++ b/src/wp-content/themes/ipsum/patterns/format-link.php @@ -18,8 +18,8 @@

- -
+ +

diff --git a/src/wp-content/themes/ipsum/styles/blocks/dotted-rule.json b/src/wp-content/themes/ipsum/styles/blocks/dotted-rule.json new file mode 100644 index 0000000000000..a15f201300eab --- /dev/null +++ b/src/wp-content/themes/ipsum/styles/blocks/dotted-rule.json @@ -0,0 +1,10 @@ +{ + "$schema": "https://schemas.wp.org/trunk/theme.json", + "version": 3, + "title": "Dotted Rule", + "slug": "dotted-rule", + "blockTypes": ["core/group"], + "styles": { + "css": "border-inline-start:1px dotted currentcolor;" + } +}