Skip to content

Commit

Permalink
removing background from sprinkles
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmguo committed Nov 8, 2023
1 parent 3febd50 commit a09cc56
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { $$footerMenu, $$pageWidth } from '../../global.css';
export const footerWrapperClass = style([
sprinkles({
position: 'relative',
background: '$gray90',
backgroundColor: '$gray90',
marginTop: '$40',
}),
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const menuClass = style([
position: 'fixed',
height: '100%',
width: '100%',
background: '$background',
backgroundColor: '$background',
overflow: 'hidden',
top: '$17',
bottom: 0,
Expand All @@ -31,7 +31,7 @@ export const menuClass = style([
bottom: 'auto',
height: `calc(100vh - ${vars.sizes.$18})`,
transform: 'translateX(0)',
background: 'transparent',
backgroundColor: 'transparent',
paddingBottom: vars.sizes.$40,
},
}),
Expand Down Expand Up @@ -76,7 +76,7 @@ export const menuBackClass = style([
cursor: 'pointer',
}),
{
background: 'rgba(0,0,0,.5)',
backgroundColor: 'rgba(0,0,0,.5)',
border: 0,
opacity: 0,
transform: 'translateX(-100%)',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,9 @@ export const sideMenuTitleClass = style([
marginY: '$4',
textAlign: 'left',
fontSize: '$sm',
backgroundColor: 'transparent',
border: 'none',
}),
{
background: 'transparent',
border: '0',
},
]);

export const sideMenuTitleButtonClass = style([
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export const codeTitle = style([
display: 'none',
alignItems: 'center',
fontFamily: '$main',
background: '$blue70',
backgroundColor: '$blue70',
color: '$white',
fontWeight: '$bold',
textTransform: 'capitalize',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const accountFormStyle = style([
paddingTop: '$10',
paddingRight: '$10',
paddingLeft: '$10',
background: '$gray40',
backgroundColor: '$gray40',
}),
{
alignSelf: 'stretch',
Expand All @@ -55,7 +55,7 @@ export const formHeaderStyle = style([
paddingLeft: '$10',
alignItems: 'flex-start',
gap: '$2',
background: '$gray40',
backgroundColor: '$gray40',
}),
{
alignSelf: 'stretch',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export const CardContainer = style([
borderRadius: '$sm',
alignItems: 'flex-start',
fontSize: '$sm',
background: {
backgroundColor: {
lightMode: '$white',
darkMode: '$gray100',
},
Expand Down
2 changes: 1 addition & 1 deletion packages/libs/react-ui/src/styles/sprinkles.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ const systemProperties = defineProperties({
wordBreak: ['normal', 'keep-all', 'break-word', 'break-all'],
listStyleType: ['none'],
objectFit: ['cover', 'contain'],
background: ['none'],
},
});

Expand All @@ -37,7 +38,6 @@ const colorProperties = defineProperties({
defaultCondition: 'lightMode',
properties: {
color: { ...vars.colors, inherit: 'inherit' },
background: { ...vars.colors, none: 'none' },
backgroundColor: { ...vars.colors, transparent: 'transparent' },
borderColor: vars.colors,
},
Expand Down

0 comments on commit a09cc56

Please sign in to comment.