Skip to content

Commit

Permalink
Changesets: Version Packages (#645)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Aug 26, 2021
1 parent 4fccc44 commit d33f796
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 57 deletions.
54 changes: 0 additions & 54 deletions .changeset/sharp-crabs-provide.md

This file was deleted.

54 changes: 54 additions & 0 deletions themes/gatsby-theme-minimal-blog-core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# Change Log

## 3.1.0

### Minor Changes

- [#644](https://github.com/LekoArts/gatsby-themes/pull/644) [`4fccc44`](https://github.com/LekoArts/gatsby-themes/commit/4fccc4412f4531c9b1063db3f8c6e41f4bda8ee0) Thanks [@LekoArts](https://github.com/LekoArts)! - **feat(minimal-blog-core): Set `backgroundColor` in gatsby-remark-images to `transparent`**

By default the plugin has `white` as a `backgroundColor`. This is a problem for transparent images (PNG) that are viewed in the dark theme version of the site.
So as a sensible default I'll set this to `transparent` now. If you relied on this being white and want to restore the old behavior, set the `mdx` option to `false` for the theme, [copy/paste the existing `gatsby-plugin-mdx` config](https://github.com/LekoArts/gatsby-themes/blob/master/themes/gatsby-theme-minimal-blog-core/gatsby-config.js#L22-L48) into your own site.

For example, your `gatsby-config.js` then will look like this:

```js
module.exports = {
// + Rest of your config
plugins: [
// + rest of your plugins
{
resolve: `@lekoarts/gatsby-theme-minimal-blog`,
options: {
mdx: false
// + rest of the options you want to set
}
},
{
resolve: `gatsby-plugin-mdx`,
options: {
lessBabel: true,
extensions: [`.mdx`, `.md`],
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 960,
quality: 90,
linkImagesToOriginal: false
}
}
],
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 960,
quality: 90,
linkImagesToOriginal: false
}
}
]
}
}
]
};
```

## 3.0.3

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion themes/gatsby-theme-minimal-blog-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lekoarts/gatsby-theme-minimal-blog-core",
"version": "3.0.3",
"version": "3.1.0",
"author": "LekoArts <[email protected]>",
"description": "Core Theme for @lekoarts/gatsby-theme-minimal-blog. This theme implements the Post and Page node interfaces and exports templates (+ queries) which you can shadow.",
"license": "MIT",
Expand Down
59 changes: 59 additions & 0 deletions themes/gatsby-theme-minimal-blog/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,64 @@
# Change Log

## 3.1.0

### Minor Changes

- [#644](https://github.com/LekoArts/gatsby-themes/pull/644) [`4fccc44`](https://github.com/LekoArts/gatsby-themes/commit/4fccc4412f4531c9b1063db3f8c6e41f4bda8ee0) Thanks [@LekoArts](https://github.com/LekoArts)! - **feat(minimal-blog-core): Set `backgroundColor` in gatsby-remark-images to `transparent`**

By default the plugin has `white` as a `backgroundColor`. This is a problem for transparent images (PNG) that are viewed in the dark theme version of the site.
So as a sensible default I'll set this to `transparent` now. If you relied on this being white and want to restore the old behavior, set the `mdx` option to `false` for the theme, [copy/paste the existing `gatsby-plugin-mdx` config](https://github.com/LekoArts/gatsby-themes/blob/master/themes/gatsby-theme-minimal-blog-core/gatsby-config.js#L22-L48) into your own site.

For example, your `gatsby-config.js` then will look like this:

```js
module.exports = {
// + Rest of your config
plugins: [
// + rest of your plugins
{
resolve: `@lekoarts/gatsby-theme-minimal-blog`,
options: {
mdx: false
// + rest of the options you want to set
}
},
{
resolve: `gatsby-plugin-mdx`,
options: {
lessBabel: true,
extensions: [`.mdx`, `.md`],
gatsbyRemarkPlugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 960,
quality: 90,
linkImagesToOriginal: false
}
}
],
plugins: [
{
resolve: `gatsby-remark-images`,
options: {
maxWidth: 960,
quality: 90,
linkImagesToOriginal: false
}
}
]
}
}
]
};
```

### Patch Changes

- Updated dependencies [[`4fccc44`](https://github.com/LekoArts/gatsby-themes/commit/4fccc4412f4531c9b1063db3f8c6e41f4bda8ee0)]:
- @lekoarts/gatsby-theme-minimal-blog-core@3.1.0

## 3.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions themes/gatsby-theme-minimal-blog/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lekoarts/gatsby-theme-minimal-blog",
"version": "3.0.3",
"version": "3.1.0",
"author": "LekoArts <[email protected]>",
"description": "Typography driven, feature-rich blogging theme with minimal aesthetics. Includes tags/categories support and extensive features for code blocks such as live preview, line numbers, and line highlighting.",
"license": "MIT",
Expand All @@ -20,7 +20,7 @@
"react-dom": "^17.0.1"
},
"dependencies": {
"@lekoarts/gatsby-theme-minimal-blog-core": "^3.0.3",
"@lekoarts/gatsby-theme-minimal-blog-core": "^3.1.0",
"@loadable/component": "^5.15.0",
"@theme-ui/color": "^0.9.1",
"@theme-ui/presets": "^0.9.1",
Expand Down

0 comments on commit d33f796

Please sign in to comment.