Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Learn More

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

I want to make a dynamic theme that changes when switching macOS between Light and Dark modes. Any way to examine System theme's code?

  • Відповіді відсутні
  • 1 має цю проблему
  • 10 переглядів
more options

Is there any way I can get ahold of the code for System theme - for example, is it stored somewhere on my computer? I'm reading up on dynamic themes, but the example code is for automatic theme changing based on time of day. I'm hoping that, if I can get the code for triggering a theme change by switching between Light and Dark modes, whether from System theme or from another source, I can save myself a lot of time.

Is there any way I can get ahold of the code for System theme - for example, is it stored somewhere on my computer? I'm reading up on dynamic themes, but the example code is for automatic theme changing based on time of day. I'm hoping that, if I can get the code for triggering a theme change by switching between Light and Dark modes, whether from System theme or from another source, I can save myself a lot of time.