docs: tweak copy

This commit is contained in:
Eric Liu 2020-10-22 17:30:50 -07:00
commit 829275e594
5 changed files with 13 additions and 5 deletions

View file

@ -62,6 +62,10 @@
color: #3ddbd9; /* teal 30 */ color: #3ddbd9; /* teal 30 */
} }
.token.function {
color: #9ef0f0;
}
.token.token.language-javascript, .token.token.language-javascript,
.token.attr-value { .token.attr-value {
color: #d4bbff; /* purple 30 */ color: #d4bbff; /* purple 30 */

View file

@ -10,6 +10,8 @@ components: ["Breadcrumb", "BreadcrumbItem"]
import Preview from "../../components/Preview.svelte"; import Preview from "../../components/Preview.svelte";
</script> </script>
See the [Breadcrumbs recipe](/recipes/Breadcrumbs) for building a reusable breadcrumbs component.
### Default ### Default
<Breadcrumb> <Breadcrumb>

View file

@ -13,10 +13,10 @@
### Status states ### Status states
<InlineLoading status="active" /> <InlineLoading status="active" description="Submitting..." />
<InlineLoading status="inactive" /> <InlineLoading status="inactive" description="Cancelling..." />
<InlineLoading status="finished" /> <InlineLoading status="finished" description="Success" />
<InlineLoading status="error" /> <InlineLoading status="error" description="An error occurred" />
### UX example ### UX example

View file

@ -5,6 +5,8 @@
### Default ### Default
The `Search` component is extra-large by default. There are [large](#large-size) and [small](#small-size) size variants.
<Search /> <Search />
### Default value ### Default value

View file

@ -5,7 +5,7 @@
const descriptionMap = { const descriptionMap = {
active: "Submitting...", active: "Submitting...",
finished: "Success", finished: "Success",
inactive: "Cancelled", inactive: "Cancelling...",
}; };
const stateMap = { const stateMap = {