Skip to content

Commit

Permalink
Merge pull request #10 from pxblue/feature/add-alt-dark-theme-depreca…
Browse files Browse the repository at this point in the history
…tion-warning

Add blueDarkAlt theme deprecation notice for v6.0.0
  • Loading branch information
daileytj authored Sep 1, 2021
2 parents 01ef844 + 50940ff commit bc5b104
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## v5.2.0 (September 1, 2021)

### Added

- blueDarkAlt theme deprecation notice.

## v5.1.0 (March 30, 2021)

### Added
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@pxblue/react-native-themes",
"author": "PX Blue <[email protected]>",
"license": "BSD-3-Clause",
"version": "5.1.0",
"version": "5.2.0",
"description": "React Native themes for PX Blue applications",
"main": "./dist/index.js",
"scripts": {
Expand Down
5 changes: 5 additions & 0 deletions src/blueDarkAltTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ This code is licensed under the BSD-3 license found in the LICENSE file in the r
import { blue, black, lightBlue } from '@pxblue/colors';
import { blueDarkTheme } from './blueDarkTheme';

console.warn('blueDarkAlt theme will be deprecated in v6.0.0, use blueDark theme');

/**
* @deprecated in v6.0.0 use blueDark theme
*/
export const blueDarkAltTheme = {
...blueDarkTheme,
colors: {
Expand Down

0 comments on commit bc5b104

Please sign in to comment.