JSFiddle - React, Tailwind, and code Playground

by Fabio Dan

HTML

<!DOCTYPE html>
<html lang="en" class="bodega">
<head>
  <meta charset="UTF-8">
  <title>Document</title>
</head>
<body>
  <button>Label</button>
</body>
</html>

CSS

:root {
  --primary-background: blue;
  --text-color: white;
}

:root.bodega {
  --primary-background: green;
  --text-color: yellow;
}

button {
  background: var(--primary-background);
  color: var(--text-color);
}