Skip to content

Commit

Permalink
feat(odyssey-react-mui): add borderRadius and borderStyle variables
Browse files Browse the repository at this point in the history
  • Loading branch information
edburyenegren-okta committed Aug 16, 2022
1 parent 7b53b81 commit b144cf6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/odyssey-react-mui/src/themes/odyssey/mixins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@ import * as Tokens from "@okta/odyssey-design-tokens";

export const mixins: ThemeOptions["mixins"] = {
maxWidth: Tokens.FontLineLengthMax,
borderRadius: Tokens.BorderRadiusBase,
borderStyle: Tokens.BorderStyleBase,
borderWidth: Tokens.BorderWidthBase,
};
4 changes: 4 additions & 0 deletions packages/odyssey-react-mui/src/themes/odyssey/mixins.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@

declare module "@mui/material/styles" {
interface Mixins {
borderRadius?: string;
borderStyle?: string;
borderWidth?: string;
maxWidth?: string;
}

interface MixinsOptions {
borderRadius?: string;
borderStyle?: string;
borderWidth?: string;
maxWidth?: string;
}
Expand Down

0 comments on commit b144cf6

Please sign in to comment.