GithubHelp home page GithubHelp logo

Comments (11)

nandorojo avatar nandorojo commented on June 18, 2024 3

(had me worried 😅)

from solito.

nandorojo avatar nandorojo commented on June 18, 2024 2

oh, no. the colors are just theme keys. to use them, do something like:

<View sx={{ bg: ‘$background’ }} />

from solito.

nandorojo avatar nandorojo commented on June 18, 2024 1

go for it! and no problem

from solito.

nandorojo avatar nandorojo commented on June 18, 2024

hey there! have a repo you can share?

from solito.

michaelangeloio avatar michaelangeloio commented on June 18, 2024

https://github.com/bagelhouse/solito-test-1

This is the blank repo I was mentioning.

https://github.com/bagelhouse/mileaday

This is the repo I'm developing my app on. It's got some extra stuff (NestJS backend and Firebase authentication), very much WIP and just started it, lol.

Both have the same issue it seems!

from solito.

nandorojo avatar nandorojo commented on June 18, 2024

409EAFA6-DBCE-43B6-9828-5F56A7224052

this is what I see in your test repo, where are the colors?

from solito.

michaelangeloio avatar michaelangeloio commented on June 18, 2024

@nandorojo sorry, the changes were local. I pushed an example.

from solito.

michaelangeloio avatar michaelangeloio commented on June 18, 2024

Commit SHA is fef2f3df3ed3d7c8f7f587614f266ee46d1dbba6

from solito.

nandorojo avatar nandorojo commented on June 18, 2024

and what’s the issue exactly, the colors don’t apply? where are you using it?

from solito.

michaelangeloio avatar michaelangeloio commented on June 18, 2024

Screen Shot 2022-07-03 at 1 13 12 PM
I would assume the background colors would apply on the home screen with that configuration on the Next app, no?
Or am I missing a provider/next specific configuration?

from solito.

michaelangeloio avatar michaelangeloio commented on June 18, 2024

Gotcha! Figured I was being dumb. I assumed it was similar to mui where you use a theme provider and the components inherit the theme.

Thank you!

Mind if I make a dripsy/docs PR under the theming section? It's probably repetitive of https://www.dripsy.xyz/usage/overview, but maybe it would help if a user misses that section (like me 😬 )

from solito.

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.