Skip to content

Commit

Permalink
Merge pull request #46 from platformbuilders/feat/newButtonColors
Browse files Browse the repository at this point in the history
Adicionado novas variantes do botão
  • Loading branch information
mdlucas authored Dec 14, 2023
2 parents 424df10 + f805246 commit 10d3c79
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@platformbuilders/theme-toolkit",
"version": "0.2.8",
"version": "0.3.0",
"description": "Theme helpers to use combined with Fluid Design System.",
"author": "Platform Builders <[email protected]>",
"license": "ISC",
Expand Down
13 changes: 13 additions & 0 deletions src/theme_types/Button.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,17 @@
export type ButtonColorType =
| 'primary'
| 'secondary'
| 'accent'
| 'danger'
| 'success'
| 'warning'
| 'info';

export type ButtonVariants =
| 'filled'
| 'ghost'
| 'tint'
| 'outline'
| 'primary'
| 'secondary'
| 'accent'
Expand Down
2 changes: 1 addition & 1 deletion src/theme_types/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
export { AnimationObject, Animations } from './Animations';
export { BorderRadius } from './BorderRadius';
export { BorderWidth } from './BorderWidth';
export { ButtonVariants } from './Button';
export { ButtonColorType, ButtonVariants } from './Button';
export { DefaultColor } from './Colors';
export { StatusBarStyle } from './StatusBar';
export { Depth } from './Depth';
Expand Down

0 comments on commit 10d3c79

Please sign in to comment.