How to use the @mui-treasury/styles/shadow.useFadedShadowStyles function in @mui-treasury/styles

To help you get started, we’ve selected a few @mui-treasury/styles examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github siriwatknp / mui-treasury / src / docs / components / card / engagement / EngagementCard.js View on Github external
const EngagementCard = () => {
  const cardStyles = useStyles();
  const wideCardMediaStyles = useWideCardMediaStyles();
  const fadeShadowStyles = useFadedShadowStyles();
  const textCardContentStyles = useTextCardContent01Styles();
  return (
    
      
        classes={wideCardMediaStyles}
        image={MOCK.natureImg}
      />
github siriwatknp / mui-treasury / src / docs / components / card / review / ReviewCard.js View on Github external
const ReviewCard = () => {
  const styles = useStyles();
  const mediaStyles = useWideCardMediaStyles();
  const shadowStyles = useFadedShadowStyles();
  const gutterStyles = usePushingGutter({ firstExcluded: true });
  return (
    
      
      
        
          
        
        <h3>Colloseo</h3>
        
          
          <span>Rome</span>
github siriwatknp / mui-treasury / website / src / docs / components / card / elevatedHeader / ElevatedHeaderCard.js View on Github external
const ElevatedHeaderCard = () =&gt; {
  const classes = useStyles();
  const cardHeaderStyles = useContainedCardHeaderStyles();
  const cardShadowStyles = useSoftRiseShadowStyles({ inactive: true });
  const cardHeaderShadowStyles = useFadedShadowStyles();
  return (
    
      
      
        
            
              Dessert
              Fat (g)
              Price ($)
            <table>
          </table>
github siriwatknp / mui-treasury / src / docs / components / card / profile / ProfileCard.js View on Github external
const ProfileCard = () =&gt; {
  const styles = useStyles();
  const shadowStyles = useFadedShadowStyles();
  const borderedGridStyles = useGutterBorderedGridStyles({
    borderColor: 'rgba(0, 0, 0, 0.08)',
    height: '50%',
  });
  return (
    
      
        
        <h3>Alan Podemski</h3>
        <span>Poland</span>
      
      
      
        
          <p>Followers</p>
          <p>6941</p>
github siriwatknp / mui-treasury / website / src / docs / components / shadow / faded / FadedShadow.js View on Github external
const FadedShadow = () =&gt; {
  const styles = useFadedShadowStyles();
  return ;
};