Skip to content

Commit

Permalink
Replace/remove inexistant text-xs classes
Browse files Browse the repository at this point in the history
text-xs doesn't exist in the tw config so these don't do anything
  • Loading branch information
ghsteff committed May 17, 2024
1 parent f1c4ab2 commit 5059324
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/elements/Badge/BadgeTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const baseTheme: Partial<BadgeTheme> = {
base: 'relative inline-flex align-middle shrink-0 mx-2 my-0',
disableMargins: 'm-0',
badge: `flex flex-row flex-wrap justify-center content-center items-center absolute box-border
leading-none text-xs p-1.5 w-[18px] h-[18px] z-[1] rounded-[50%] pointer-events-none `,
leading-none text-sm p-1.5 w-[18px] h-[18px] z-[1] rounded-[50%] pointer-events-none `,
position: 'translate-x-2/4 -translate-y-2/4 origin-[100%_0%] right-0 top-0',
positions: {
'top-start':
Expand Down
2 changes: 1 addition & 1 deletion src/form/Select/SelectMenu/SelectMenuTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface SelectMenuTheme {
const baseTheme: SelectMenuTheme = {
base: 'border border-solid rounded-b-md text-center will-change-[transform,opacity] min-w-[112px] max-h-[300px] overflow-y-auto text-left box-border',
groupItem: 'p-0 border-0',
groupTitle: 'text-xs font-bold uppercase m-0 px-1.5 py-2.5',
groupTitle: 'text-sm font-bold uppercase m-0 px-1.5 py-2.5',
option: {
base: 'text-sm flex-1 whitespace-break-spaces break-words py-1.5 px-2.5',
hover: '',
Expand Down
2 changes: 1 addition & 1 deletion src/layout/Block/BlockTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface BlockTheme {
const baseTheme: BlockTheme = {
base: 'mb-2.5',
disableMargin: 'mb-0',
label: 'text-xs',
label: 'text-sm',
centerAlign: 'items-center',
endAlign: 'items-end',
horizontal: {
Expand Down
2 changes: 1 addition & 1 deletion src/layout/List/ListTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const baseTheme: ListTheme = {
disableGutters: 'pl-0 pr-0',
dense: {
base: 'p-1',
content: 'text-xs',
content: '',
startAdornment: 'pr-[calc(5/2)]',
endAdornment: 'pl-[calc(5/2)]'
},
Expand Down
2 changes: 1 addition & 1 deletion src/typography/TypographyTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const baseTheme: TypographyTheme = {
error: 'text-error',
info: 'text-info'
},
sub: 'text-xs font-semibold mb-0.5',
sub: 'text-sm font-semibold mb-0.5',
smallHeading: 'text-base font-normal mb-1',
secondaryHeading: 'text-3xl font-normal mb-1',
primaryHeading: 'text-3xl font-extrabold mb-1',
Expand Down

0 comments on commit 5059324

Please sign in to comment.