palette

[CSS] Switching theme in Tailwind

Basic Knowledge: CSS, HTML, JS, React Preface Tailwind provide dark mode to set dark theme style individually by adding keyword dark: in front of any CSS class: <div class="text-black dark:text-white"> <!-- ... --> </div> If we want to make a theme switcher, it seems feasible by using dark:. But it will be restricted to only TWO themes. Another disadvantage is, since we use dark: syntax in CSS class on HTML...

Oct 14, 2022 Published · Oct 3, 2024 Updated · 2 min · Inori Inuyama

E2E Testing Oriented Developing Process

One day, we got a mockup from designer. Then we start crafting the page. At first, we might work on making UI and UX of components. That’s the main part. E2E testing is not a concern at the moment. When developing, if we were luckily get the test case from QAs (or whoever wrote it), should we consider it when crafting our components? (And yeah only if we have enough...

Aug 27, 2022 Published · Oct 3, 2024 Updated · 3 min · Inori Inuyama