pixelastic / norska

🏔️ Custom SSG using Pug, Webpack, PostCSS and Tailwind.
https://projects.pixelastic.com/norska/
MIT License
8 stars 0 forks source link

chore(deps): update tailwind #82

Closed renovate[bot] closed 3 years ago

renovate[bot] commented 3 years ago

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@tailwindcss/typography 0.2.0 -> 0.4.0 age adoption passing confidence
tailwindcss (source) 1.8.10 -> 1.9.6 age adoption passing confidence

Release Notes

tailwindcss/typography ### [`v0.4.0`](https://togithub.com/tailwindcss/typography/releases/v0.4.0) [Compare Source](https://togithub.com/tailwindcss/typography/compare/v0.3.1...v0.4.0) #### Fixed - Colors without `600` variant, breaks everything ([#​107](https://togithub.com/tailwindcss/typography/issues/107)) - Fix empty line in firefox for `pre code` tags ([#​125](https://togithub.com/tailwindcss/typography/issues/125)) #### Added - Add support for the `start` and `reversed` attribute on `ol` elements ([#​110](https://togithub.com/tailwindcss/typography/issues/110)) - Add support for the `type` on `ul` and `ol` elements ([#​126](https://togithub.com/tailwindcss/typography/issues/126)) #### Changed (internal) - Bumped dependencies ([#​103](https://togithub.com/tailwindcss/typography/issues/103), [#​115](https://togithub.com/tailwindcss/typography/issues/115)) - Cleanup/improve readme ([#​95](https://togithub.com/tailwindcss/typography/issues/95)) - Reduce package size ([#​112](https://togithub.com/tailwindcss/typography/issues/112)) ### [`v0.3.1`](https://togithub.com/tailwindcss/typography/compare/v0.3.0...v0.3.1) [Compare Source](https://togithub.com/tailwindcss/typography/compare/v0.3.0...v0.3.1) ### [`v0.3.0`](https://togithub.com/tailwindcss/typography/releases/v0.3.0) [Compare Source](https://togithub.com/tailwindcss/typography/compare/v0.2.0...v0.3.0) **This release drops support for Tailwind CSS v1.0.** Some of the changes needed to support Tailwind CSS v2.0 necessitate dropping support for v1.0. You should stay on v0.2.0 until you can upgrade your projects to Tailwind CSS v2.0. Read [the Tailwind CSS v2.0 upgrade guide](https://tailwindcss.com/docs/upgrading-to-v2) for information on upgrading your projects. #### Changed - Add support for Tailwind CSS v2.0 and drops support for v1.0 ([#​79](https://togithub.com/tailwindcss/typography/issues/79), [#​82](https://togithub.com/tailwindcss/typography/issues/82), [#​87](https://togithub.com/tailwindcss/typography/issues/87)) - Use `extend` for any overrides, assigning directly to `theme.typography` now completely overrides default configuration - Consistently use `::before` instead of `:before` ([ba33d77](https://togithub.com/tailwindlabs/tailwindcss-typography/commit/ba33d77f25ab0c239edd7d425349c86f317061e2)) - Read color values from the user's theme instead of only the default theme #### Added - Add new `className` option for overriding `prose` class ([#​28](https://togithub.com/tailwindcss/typography/issues/28)) - Add color modifiers by default like `prose-blue` for setting link styles ([#​92](https://togithub.com/tailwindcss/typography/issues/92)) * * * #### Upgrading from v0.2.0 to v0.3.0 This version of the plugin is designed for Tailwind CSS v2.0. Make sure you upgrade Tailwind before upgrading this plugin. ##### Customizations should be moved under extend, default should become DEFAULT The biggest difference is that any customizations you had under `theme.typography` should be moved to `theme.extend.typography`, and the `default` key should be uppercased to `DEFAULT`: ```diff module.exports = { theme: { - typography: { - default: { - css: { - color: theme("colors.gray.700"), - '[class~="lead"]': { - color: theme("colors.gray.600"), - }, - a: { - color: theme("colors.indigo.600"), - fontWeight: 600, - textDecoration: "none", - }, - }, - }, - }, + extend: { + typography: { + DEFAULT: { + css: { + color: theme("colors.gray.700"), + '[class~="lead"]': { + color: theme("colors.gray.600"), + }, + a: { + color: theme("colors.indigo.600"), + fontWeight: 600, + textDecoration: "none", + }, + }, + }, + }, + }, }, }; ``` Any customizations directly under `theme.typography` will now **completely replace the defaults**, which is consistent with how theme modification generally works in Tailwind. ##### Colors are read from theme by default In previous versions, all of the colors used by this plugin were read from Tailwind's _default_ theme rather than from _your_ theme. The plugin now looks for colors in your theme first, falling back to the defaults if they don't exist. So if the plugin is looking for `gray.700` for the main body color, it will use your defined `gray.700` if present, or fall back to the default one. If your colors are totally custom and the numbers don't line up with Tailwind's defaults from a contrast perspective, you probably won't get good results out of the box. In this case you should manually override the colors like you were likely already doing using the existing customization API.
tailwindlabs/tailwindcss ### [`v1.9.6`](https://togithub.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md#​196---2020-10-23) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v1.9.5...v1.9.6) ##### Changed - The `presets` feature had unexpected behavior where a preset config without its own `presets` key would not extend the default config. ([#​2662](https://togithub.com/tailwindlabs/tailwindcss/pull/2662)) If you were depending on this unexpected behavior, just add `presets: []` to your own preset to exclude the default configuration. ### [`v1.9.5`](https://togithub.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md#​195---2020-10-19) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v1.9.4...v1.9.5) ##### Fixed - Fix issue where using `theme` with default line-heights did not resolve correctly ### [`v1.9.4`](https://togithub.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md#​194---2020-10-17) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v1.9.3...v1.9.4) ##### Fixed - Fix issue changing plugins defined using the `withOptions` API would not trigger rebuilds in watch processes ### [`v1.9.3`](https://togithub.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md#​193---2020-10-16) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v1.9.2...v1.9.3) ##### Fixed - Fix issue where `tailwindcss init --full` scaffolded a corrupt config file ([#​2556](https://togithub.com/tailwindlabs/tailwindcss/issues/2556)) ##### Changed - Remove console warnings about upcoming breaking changes ### [`v1.9.2`](https://togithub.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md#​192---2020-10-14) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v1.9.1...v1.9.2) ##### Fixed - Merge plugins when merging config with preset ([#​2561](https://togithub.com/tailwindlabs/tailwindcss/pulls/#​2561) - Use `word-wrap` and `overflow-wrap` together, not one or the other since `word-wrap` is IE-only ### [`v1.9.1`](https://togithub.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md#​191---2020-10-14) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v1.9.0...v1.9.1) ##### Fixed - Don't import `corePlugins` in `resolveConfig` to avoid bundling browser-incompatible code ([#​2548](https://togithub.com/tailwindlabs/tailwindcss/pull/2548)) ### [`v1.9.0`](https://togithub.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md#​190---2020-10-12) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v1.8.13...v1.9.0) ##### Added - Add new `presets` config option ([#​2474](https://togithub.com/tailwindlabs/tailwindcss/pull/2474)) - Scaffold new `tailwind.config.js` files with available `future` flags commented out ([#​2379](https://togithub.com/tailwindlabs/tailwindcss/pull/2379)) - Add `col-span-full` and `row-span-full` ([#​2471](https://togithub.com/tailwindlabs/tailwindcss/pull/2471)) - Make `outline` configurable, `outline-none` more accessible by default, and add `outline-black` and `outline-white` ([#​2460](https://togithub.com/tailwindlabs/tailwindcss/pull/2460)) - Add additional small `rotate` and `skew` values ([#​2528](https://togithub.com/tailwindlabs/tailwindcss/pull/2528)) - Add `xl`, `2xl`, and `3xl` border radius values ([#​2529](https://togithub.com/tailwindlabs/tailwindcss/pull/2529)) - Add new utilities for `grid-auto-columns` and `grid-auto-rows` ([#​2531](https://togithub.com/tailwindlabs/tailwindcss/pull/2531)) - Promote `defaultLineHeights` and `standardFontWeights` from experimental to future ##### Fixed - Don't escape keyframe values ([#​2432](https://togithub.com/tailwindlabs/tailwindcss/pull/2432)) - Use `word-wrap` instead of `overflow-wrap` in `ie11` target mode ([#​2391](https://togithub.com/tailwindlabs/tailwindcss/pull/2391)) ##### Experimental - Add experimental `2xl` breakpoint ([#​2468](https://togithub.com/tailwindlabs/tailwindcss/pull/2468)) - Rename `{u}-max-content` and `{u}-min-content` utilities to `{u}-max` and `{u}-min` in experimental extended spacing scale ([#​2532](https://togithub.com/tailwindlabs/tailwindcss/pull/2532)) - Support disabling dark mode variants globally ([#​2530](https://togithub.com/tailwindlabs/tailwindcss/pull/2530)) ### [`v1.8.13`](https://togithub.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md#​1813---2020-10-09) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v1.8.12...v1.8.13) ##### Fixed - Support defining colors as closures even when opacity variables are not supported ([#​2536](https://togithub.com/tailwindlabs/tailwindcss/pull/2515)) ### [`v1.8.12`](https://togithub.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md#​1812---2020-10-07) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v1.8.11...v1.8.12) ##### Fixed - Reset color opacity variable in utilities generated using closure colors ([#​2515](https://togithub.com/tailwindlabs/tailwindcss/pull/2515)) ### [`v1.8.11`](https://togithub.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md#​1811---2020-10-06) [Compare Source](https://togithub.com/tailwindlabs/tailwindcss/compare/v1.8.10...v1.8.11) - Make `tailwindcss.plugin` work in ESM environments for reasons

Configuration

📅 Schedule: "after 1am and before 2am,after 7am and before 8am,after 1pm,after 7pm,before 2am,before 8am" in timezone Europe/Paris.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by WhiteSource Renovate. View repository job log here.