Giter Club home page Giter Club logo

Comments (6)

bufsim avatar bufsim commented on June 25, 2024 2

add
`stylesheets = [
"https://unpkg.com/@mantine/dates@7/styles.css",
"https://unpkg.com/@mantine/code-highlight@7/styles.css",
"https://unpkg.com/@mantine/charts@7/styles.css",
"https://unpkg.com/@mantine/carousel@7/styles.css",
"https://unpkg.com/@mantine/notifications@7/styles.css",
"https://unpkg.com/@mantine/nprogress@7/styles.css",
]

app = Dash(name, external_stylesheets=stylesheets)`

from dash-mantine-components.

snehilvj avatar snehilvj commented on June 25, 2024 1

Just the first stylesheet is enough if you just want to use date pickers. You can include the rest as needed

from dash-mantine-components.

michael72 avatar michael72 commented on June 25, 2024

Thank you for your support! That looks much better!
Is the dmc.DEFAULT_THEME then still relevant?

Maybe you could add those stylesheets internally or at least mention it in the documentation? I wonder if I'm the only one having trouble with this?

from dash-mantine-components.

snehilvj avatar snehilvj commented on June 25, 2024

It's mentioned in the getting started page of the documentation and the migration guide.

from dash-mantine-components.

snehilvj avatar snehilvj commented on June 25, 2024

Can't add them internally as there are 7 such stylesheets, can't add them all. The bundle size will get too big.

from dash-mantine-components.

michael72 avatar michael72 commented on June 25, 2024

Oh - I totally overlooked that 😊
Thanks a lot!

still I think it is a bit tricky to set up dash mantine components now.
At least there should either be complete examples (including the app) or it should be mentioned somehow for DatePicker and each of the extra stylesheets that https://unpkg.com/@mantine/...@7/styles.css" should be added to the stylesheets.

from dash-mantine-components.

Related Issues (20)

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.