Skip to content

Commit

Permalink
[core] feat: support create-react-app environment variable (palantir#…
Browse files Browse the repository at this point in the history
…3691)

Allows create-react-app users to set a custom blueprint namespace more easily.
  • Loading branch information
doanguyen authored and adidahiya committed Aug 19, 2019
1 parent 375d80c commit 659034c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/common/classes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import { Elevation } from "./elevation";
import { Intent } from "./intent";
import { Position } from "./position";

const NS = process.env.BLUEPRINT_NAMESPACE || "bp3";
const NS = process.env.BLUEPRINT_NAMESPACE || process.env.REACT_APP_BLUEPRINT_NAMESPACE || "bp3";

// modifiers
export const ACTIVE = `${NS}-active`;
Expand Down

0 comments on commit 659034c

Please sign in to comment.