Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
Libro de cuentos: no se puede cambiar el color del tema en la interfaz de usuario

Estoy tratando de crear mi propio tema en Storybook y estoy siguiendo esto: https://storybook.js.org/docs/angular/configure/theming

Por ahora copié los archivos de los sitios, y eso funciona, pero parece que no puedo cambiar los colores a mi preferencia. Cuando, por ejemplo, cambio el color en appBg a verde, sigue siendo rosa intenso. ¿Puede alguien ayudarme, me he saltado un paso?

gerente.js

 // .storybook/manager.js import { addons } from '@storybook/addons'; import yourTheme from './YourTheme'; addons.setConfig({ theme: yourTheme, });

TuTema.js

 import { create } from '@storybook/theming'; export default create({ base: 'light', colorPrimary: 'hotpink', colorSecondary: 'deepskyblue', // UI appBg: 'white', appContentBg: 'silver', appBorderColor: 'grey', appBorderRadius: 4, // Typography fontBase: '"Open Sans", sans-serif', fontCode: 'monospace', // Text colors textColor: 'black', textInverseColor: 'rgba(255,255,255,0.9)', // Toolbar default and active colors barTextColor: 'silver', barSelectedColor: 'black', barBg: 'hotpink', // Form colors inputBg: 'white', inputBorder: 'silver', inputTextColor: 'black', inputBorderRadius: 4, brandTitle: 'My custom storybook', brandUrl: 'https://example.com', brandImage: 'https://place-hold.it/350x150', });
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

¡Resolví el problema! Tuve que actualizar a la última versión de Storybook y ejecutar --no-manager-cache

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!