diff --git a/docs/assets/plugins/code-block/code-block.css b/docs/assets/plugins/code-block/code-block.css
index 0847eb9c6..3daf4c239 100644
--- a/docs/assets/plugins/code-block/code-block.css
+++ b/docs/assets/plugins/code-block/code-block.css
@@ -89,11 +89,13 @@
box-shadow: var(--sl-focus-ring-box-shadow);
}
-.code-block__toggle sl-icon {
+.code-block__toggle svg {
+ width: 1em;
+ height: 1em;
margin-left: 0.25rem;
transition: 250ms transform;
}
-.code-block--expanded .code-block__toggle sl-icon {
+.code-block--expanded .code-block__toggle svg {
transform: rotate(180deg);
}
diff --git a/docs/assets/plugins/code-block/code-block.js b/docs/assets/plugins/code-block/code-block.js
index 3e8035303..3560a9e47 100644
--- a/docs/assets/plugins/code-block/code-block.js
+++ b/docs/assets/plugins/code-block/code-block.js
@@ -68,7 +68,20 @@
toggle.classList.add('code-block__toggle');
toggle.setAttribute('aria-expanded', 'false');
toggle.setAttribute('aria-controls', preId);
- toggle.innerHTML = 'Source ';
+ toggle.innerHTML = `
+ Source
+
+
+ `;
codeBlock.prepend(preview);
codeBlock.append(toggle);
diff --git a/docs/components/alert.md b/docs/components/alert.md
index 67c75be38..9b43b4076 100644
--- a/docs/components/alert.md
+++ b/docs/components/alert.md
@@ -12,7 +12,7 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
-
+
This one is a bit fancier because now it has an icon and is closable.
```
@@ -23,31 +23,31 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
```html preview
-
+ Your changes have been saved
You can continue working or safely leave the app now.
-
+ Your changes have been saved
You can continue working or safely leave the app now.
-
+ Your changes have been saved
You can continue working or safely leave the app now.
-
+ Your changes have been saved
You can continue working or safely leave the app now.
-
+ Your changes have been saved
You can continue working or safely leave the app now.
diff --git a/docs/components/avatar.md b/docs/components/avatar.md
index ee20454cc..fa126c820 100644
--- a/docs/components/avatar.md
+++ b/docs/components/avatar.md
@@ -31,15 +31,15 @@ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor i
### Custom Icon
```html preview
+
+
+
+
-
-
-
-
-
+
```
diff --git a/docs/components/button.md b/docs/components/button.md
index b99e16271..7bc991390 100644
--- a/docs/components/button.md
+++ b/docs/components/button.md
@@ -47,9 +47,9 @@ Use the `size` prop to change a button's size.
Use the `circle` prop to create circular icon buttons.
```html preview
-
-
-
+
+
+
```
### Text
@@ -78,16 +78,16 @@ Use the `prefix` and `suffix` slots to add icons.
```html preview
-
+
Settings
-
+
Refresh
-
-
+
+
Open
```
diff --git a/docs/components/icon.md b/docs/components/icon.md
index f09227cb6..a53d3cff7 100644
--- a/docs/components/icon.md
+++ b/docs/components/icon.md
@@ -4,19 +4,19 @@
Icons...
-Default icons are courtesy of the [Feather Icons](https://feathericons.com/) project.
+The icons that come bundled with Shoelace are courtesy of the [Bootstrap Icons](https://icons.getbootstrap.com/) project.
```html preview
-
+
-
+
@@ -33,16 +33,16 @@ Icon sizes are determined by the current font size.
```html preview