Skip to content

Commit

Permalink
fix: nw menu component
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajat Chaudhary authored and Rajat Chaudhary committed May 21, 2024
1 parent 6654678 commit d411111
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const InputBasic = ({ ...props }: any) => {
}}
value={value}
placeholder="Enter Text here"
className="text-error-500 bg-secondary-300"
/>
<InputSlot className={props.variant === 'underlined' ? `pr-0` : `pr-4`}>
<InputIcon as={SearchIcon} />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,8 @@ export const config = {
'--color-background-success': '#EDFCF2',
'--color-background-muted': '#F7F8F7',
'--color-background-info': '#EBF8FE',

'--color-shadow': '0px 2px 10px 0px #2626261A',
}),
dark: vars({
'--color-shadow': 'none',

'--color-primary-0': '#828282',
'--color-primary-50': '#949494',
'--color-primary-100': '#9E9E9E',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Motion, AnimatePresence } from '@legendapp/motion';
import type { VariantProps } from '@gluestack-ui/nativewind-utils';

const menuStyle = tva({
base: 'rounded bg-background-0 overflow-hidden border border-outline-200 shadow-md p-1',
base: 'rounded bg-background-0 overflow-hidden border border-outline-200 p-1',
});

const menuItemStyle = tva({
Expand Down
3 changes: 0 additions & 3 deletions example/storybook-nativewind/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,6 @@ module.exports = {
fontSize: {
'2xs': '10px',
},
boxShadow: {
md: 'var(--color-shadow)',
},
},
plugins: [],
},
Expand Down

0 comments on commit d411111

Please sign in to comment.