Skip to content

Commit

Permalink
feat: create icon-box plugin component (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: Driss Chelouati <driss.chelouati@gmail.com>
Co-authored-by: Sacha Stafyniak <sacha@digisquad.io>
  • Loading branch information
3 people authored Jul 23, 2023
1 parent babb92e commit dad20ab
Show file tree
Hide file tree
Showing 3 changed files with 461 additions and 0 deletions.
135 changes: 135 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1559,6 +1559,141 @@ export default withShurikenUI({
border: 'muted-200', // you can use arbitrary value like '[#fff]'
borderDark: 'muted-600',
},
iconsBox: {
boxXS: {
size: '8',
rounded: {
default: 'lg',
curved: 'xl',
},
},
boxSM: {
size: '10',
rounded: {
default: 'lg',
curved: 'xl',
},
},
boxMD: {
size: '12',
rounded: {
default: 'xl',
curved: '2xl',
},
},
boxLG: {
size: '16',
rounded: {
default: 'xl',
curved: '2xl',
},
},
boxXL: {
size: '20',
rounded: {
default: '2xl',
curved: '3xl',
},
},
box2XL: {
size: '24',
rounded: {
default: '2xl',
curved: '3xl',
},
},
boxFull: {
rounded: 'full',
},
boxDefault: {
bg: 'muted-100',
bgDark: 'muted-700',
text: 'muted-600',
textDark: 'muted-200',
},
boxSolid: {
invert: {
text: 'muted-800',
textDark: 'muted-100',
bg: 'white',
bgDark: 'muted-950',
},
primary: {
bg: 'primary-500',
text: 'white',
},
info: {
bg: 'info-500',
text: 'white',
},
success: {
bg: 'success-500',
text: 'white',
},
warning: {
bg: 'warning-500',
text: 'white',
},
danger: {
bg: 'danger-500',
text: 'white',
},
},
boxPastel: {
invert: {
text: 'muted-800',
bg: 'white/10',
},
primary: {
bg: 'primary-500/10',
text: 'primary-500',
},
info: {
bg: 'info-500/10',
text: 'info-500',
},
success: {
bg: 'success-500/10',
text: 'success-500',
},
warning: {
bg: 'warning-500/10',
text: 'warning-500',
},
danger: {
bg: 'danger-500/10',
text: 'danger-500',
},
},
boxOutline: {
invert: {
text: 'muted-800',
border: 'current',
},
primary: {
border: 'current',
text: 'primary-500',
},
info: {
border: 'current',
text: 'info-500',
},
success: {
border: 'current',
text: 'success-500',
},
warning: {
border: 'current',
text: 'warning-500',
},
danger: {
border: 'current',
text: 'danger-500',
},
},
boxBordered: {
borderSize: '2',
borderColor: 'current',
dropdownItem: {
itemRounded: 'md',
textPosition: 'left',
Expand Down
Loading

0 comments on commit dad20ab

Please sign in to comment.