:root {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
}

/* After the heading rule so .font-display wins on headings */
.font-display {
  font-family: var(--font-display);
  font-weight: 400;
}

code, pre, kbd, samp,
.font-mono {
  font-family: var(--font-mono);
}

/* Remove default browser styling from color inputs */
input[type="color"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  cursor: pointer;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: none;
  border-radius: 0.125rem; /* matches Tailwind rounded-sm */
}

input[type="color"]::-moz-color-swatch {
  border: none;
  border-radius: 0.125rem; /* matches Tailwind rounded-sm */
}
