Giter VIP home page Giter VIP logo

gatsby-tss-example's People

Contributors

deckstar avatar garronej avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

gatsby-tss-example's Issues

Version Tss React

Hello,

Unfortunately your solution for Gatsby is not functional under TssReact 4.4.4, indeed I use Gatsby for static pages,
This breaks: import { getTssDefaultEmotionCache } from 'tss-react';

It's not available in the latest version.. so I'm stuck with MUI, Emotion, TSS, Gatsby.. Im lost

Currently I am getting this error..

 `See our docs page for more info on this error: https://gatsby.dev/debug-html
  ownerState.variant === 'contained' && ownerState.color !== 'inherit' && {
   >     backgroundColor: (theme.vars || theme).palette[ownerState.color].dark,     
  '@media (hover: none)': {
   backgroundColor: (theme.vars || theme).palette[ownerState.color].main
  WebpackError: TypeError: Cannot read properties of undefined (reading 'dark')
  - Button.js:100 
    [HostingV3]/[@mui]/material/esm/Button/Button.js
  - createStyled.js:180 
    [HostingV3]/[material]/[@mui]/system/esm/createStyled.js
  - emotion-serialize.esm.js:139 
    [HostingV3]/[@emotion]/serialize/dist/emotion-serialize.esm.js
  - emotion-serialize.esm.js:253 
    [HostingV3]/[@emotion]/serialize/dist/emotion-serialize.esm.js
  - emotion-styled-base.esm.js:140 
    [HostingV3]/[@emotion]/styled/base/dist/emotion-styled-base.esm.js
  - emotion-element-3838ba9e.esm.js:59 
    [HostingV3]/[@emotion]/react/dist/emotion-element-3838ba9e.esm.js
  `

How do you make it all work together today?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.