<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>guides on Ainab's Journal</title><link>https://www.ainab.site/categories/guides/</link><description>Recent content in guides on Ainab's Journal</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><lastBuildDate>Sat, 05 Mar 2022 00:00:00 +0000</lastBuildDate><atom:link href="https://www.ainab.site/categories/guides/index.xml" rel="self" type="application/rss+xml"/><item><title>Vue.js with dark mode while taking system preference and user preference into account</title><link>https://www.ainab.site/posts/vue-js-with-dark-mode-while-taking-system-preference-and-user-preference-into-account/</link><pubDate>Sat, 05 Mar 2022 00:00:00 +0000</pubDate><guid>https://www.ainab.site/posts/vue-js-with-dark-mode-while-taking-system-preference-and-user-preference-into-account/</guid><description>tl;dr - A vue.js example of adding dark mode support to your website that takes system preference and user preference into account. See link image/svg+xml for source.
When you are developing a website with dark-mode support, there are usually two paths you can take:
Use the [prefers-color-scheme](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme) CSS media feature and thereby use the system preference. Use a website setting to set a .</description></item><item><title>Log errors to Azure Application Insights from an Angular app</title><link>https://www.ainab.site/posts/log-errors-to-azure-application-insights-from-an-angular-app/</link><pubDate>Sat, 06 Nov 2021 00:00:00 +0000</pubDate><guid>https://www.ainab.site/posts/log-errors-to-azure-application-insights-from-an-angular-app/</guid><description>As there is no software without bugs, we must always assume there are bugs in our software. Subsequently, it would be very nice if we would be aware of those bugs as well. We cannot always be aware of all the bugs in our software, but we can be aware of all exceptions that occur in our software, using logging and telemetrics services.
One of those services is Azure&amp;rsquo;s Application Insights which, among doing many other things, can collect browser exceptions coming from Javascript-based single page applications and provide much useful information about them.</description></item></channel></rss>