Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

112
Visualizações
Load custom themes data in react app from JSON

I am about to develop a Tizen web app (Basically a Single Page Application that will be executed locally like Electron or Ionic apps) using react js.

What I want to do is let users submit their custom themes so others can use them. It's like VS Code themes mechanism basically. I want my app to load the styling values (color, radius, shadow, ...) from a JSON file.

Let's say that my app already loaded the JSON file but what is the best way to assign the variables. I know that I can use className like in react-native but for react-dom inline style is not the best way.

I found a package called css-in-js but is there a better "cleaner" solution?

PS: Based on Samsung Smart TV SPECIFICATIONS custom variables are not supported on all devices.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda