From 190828de6e93012b8e345c54fbf777e514b0094e Mon Sep 17 00:00:00 2001 From: LekoArts Date: Tue, 29 Aug 2023 11:32:23 +0200 Subject: [PATCH] chore: formatting --- examples/specimens/src/pages/index.mdx | 14 ++++++------- themes/gatsby-theme-emilia-core/README.md | 24 +++++++++++------------ themes/gatsby-theme-emilia/README.md | 24 +++++++++++------------ 3 files changed, 31 insertions(+), 31 deletions(-) diff --git a/examples/specimens/src/pages/index.mdx b/examples/specimens/src/pages/index.mdx index df2cf08f3..b0b46c4af 100755 --- a/examples/specimens/src/pages/index.mdx +++ b/examples/specimens/src/pages/index.mdx @@ -80,7 +80,7 @@ render( Gentle warning :) Super helpful information goes here nooooooooo, not this way - + , ); ``` @@ -200,7 +200,7 @@ render( - + , ); ``` @@ -392,7 +392,7 @@ render( allowed: [`h1`, `h2`], })} config={theme} - /> + />, ); ``` @@ -440,7 +440,7 @@ render( />

Orange

- + , ); ``` @@ -481,7 +481,7 @@ render( colors={normalizeThemeUIColors({ colors: theme.colors })} minimal mode="swatch" - /> + />, ); ``` @@ -497,7 +497,7 @@ This theme also exposes a `Table` component. It is used in this case to showcase The `columns` prop is defining the `grid-template-columns` of the table in the fashion of Theme UI ([Responsive Styles](https://theme-ui.com/getting-started#responsive-styles)). The `titles` should be the same count as columns. -So you can define the style for every breakpoint, e.g. `` [`120px 1fr`, `150px 1fr`] `` (120px for everything below the smallest breakpoint, 150px for everything above smallest breakpoint). +So you can define the style for every breakpoint, e.g. ``[`120px 1fr`, `150px 1fr`]`` (120px for everything below the smallest breakpoint, 150px for everything above smallest breakpoint). You can format the data you want to show how you like but in the end you should have the amount of columns as defined above. @@ -530,7 +530,7 @@ render(
{value}
))} - + , ); ``` diff --git a/themes/gatsby-theme-emilia-core/README.md b/themes/gatsby-theme-emilia-core/README.md index bc68993bd..21d0a7f1e 100755 --- a/themes/gatsby-theme-emilia-core/README.md +++ b/themes/gatsby-theme-emilia-core/README.md @@ -42,18 +42,18 @@ npm install @lekoarts/gatsby-theme-emilia-core ### Theme options -| Key | Default Value | Description | -| ----------------- | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -| `basePath` | `/` | Root url for the theme | -| `projectsPath` | `content/projects` | Location of projects | -| `assetsPath` | `content/assets` | Location of assets (such as the avatar in the header) | -| `mdx` | `true` | Configure `gatsby-plugin-mdx` (if your website already is using the plugin pass `false` to turn this off) | -| `sharp` | `true` | Configure `gatsby-plugin-sharp` (if your website already is using the plugin pass `false` to turn this off) | -| `name` | `LekoArts` | The name displayed as the title on the homepage, and the link to the homepage (top left corner) | -| `location` | `Germany` | Shown below the title | -| `socialMedia` | `` [{ title: `Twitter`, href: `https://twitter.com/lekoarts_de` }, { title: `Homepage`, href: `https://www.lekoarts.de` }] `` | An array of objects (with the keys "title" and "href" display on the homepage. Can of course hold any kind of links (not limited to social media) | -| `showThemeAuthor` | `true` | Show the "Theme by LekoArts" in the footer | -| `formatString` | `DD.MM.YYYY` | Configure the date format for Date fields | +| Key | Default Value | Description | +| ----------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | +| `basePath` | `/` | Root url for the theme | +| `projectsPath` | `content/projects` | Location of projects | +| `assetsPath` | `content/assets` | Location of assets (such as the avatar in the header) | +| `mdx` | `true` | Configure `gatsby-plugin-mdx` (if your website already is using the plugin pass `false` to turn this off) | +| `sharp` | `true` | Configure `gatsby-plugin-sharp` (if your website already is using the plugin pass `false` to turn this off) | +| `name` | `LekoArts` | The name displayed as the title on the homepage, and the link to the homepage (top left corner) | +| `location` | `Germany` | Shown below the title | +| `socialMedia` | ``[{ title: `Twitter`, href: `https://twitter.com/lekoarts_de` }, { title: `Homepage`, href: `https://www.lekoarts.de` }]`` | An array of objects (with the keys "title" and "href" display on the homepage. Can of course hold any kind of links (not limited to social media) | +| `showThemeAuthor` | `true` | Show the "Theme by LekoArts" in the footer | +| `formatString` | `DD.MM.YYYY` | Configure the date format for Date fields | ### Shadowing diff --git a/themes/gatsby-theme-emilia/README.md b/themes/gatsby-theme-emilia/README.md index 292c131b1..96e1b8729 100755 --- a/themes/gatsby-theme-emilia/README.md +++ b/themes/gatsby-theme-emilia/README.md @@ -64,18 +64,18 @@ npx gatsby new gatsby-starter-portfolio-emilia https://github.com/LekoArts/gatsb ### Theme options -| Key | Default Value | Description | -| ----------------- | ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | -| `basePath` | `/` | Root url for the theme | -| `projectsPath` | `content/projects` | Location of projects | -| `assetsPath` | `content/assets` | Location of assets (such as the avatar in the header) | -| `mdx` | `true` | Configure `gatsby-plugin-mdx` (if your website already is using the plugin pass `false` to turn this off) | -| `sharp` | `true` | Configure `gatsby-plugin-sharp` (if your website already is using the plugin pass `false` to turn this off) | -| `name` | `LekoArts` | The name displayed as the title on the homepage, and the link to the homepage (top left corner) | -| `location` | `Germany` | Shown below the title | -| `socialMedia` | `` [{ title: `Twitter`, href: `https://twitter.com/lekoarts_de` }, { title: `Homepage`, href: `https://www.lekoarts.de` }] `` | An array of objects (with the keys "title" and "href" display on the homepage. Can of course hold any kind of links (not limited to social media) | -| `showThemeAuthor` | `true` | Show the "Theme by LekoArts" in the footer | -| `formatString` | `DD.MM.YYYY` | Configure the date format for Date fields | +| Key | Default Value | Description | +| ----------------- | --------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | +| `basePath` | `/` | Root url for the theme | +| `projectsPath` | `content/projects` | Location of projects | +| `assetsPath` | `content/assets` | Location of assets (such as the avatar in the header) | +| `mdx` | `true` | Configure `gatsby-plugin-mdx` (if your website already is using the plugin pass `false` to turn this off) | +| `sharp` | `true` | Configure `gatsby-plugin-sharp` (if your website already is using the plugin pass `false` to turn this off) | +| `name` | `LekoArts` | The name displayed as the title on the homepage, and the link to the homepage (top left corner) | +| `location` | `Germany` | Shown below the title | +| `socialMedia` | ``[{ title: `Twitter`, href: `https://twitter.com/lekoarts_de` }, { title: `Homepage`, href: `https://www.lekoarts.de` }]`` | An array of objects (with the keys "title" and "href" display on the homepage. Can of course hold any kind of links (not limited to social media) | +| `showThemeAuthor` | `true` | Show the "Theme by LekoArts" in the footer | +| `formatString` | `DD.MM.YYYY` | Configure the date format for Date fields | #### Example usage