/** * Bitwarden Tailwind configuration to use with preflight enabled */ @import "./tw-theme.css"; @tailwind base; @tailwind components; @tailwind utilities; @layer base { body { @apply tw-text-base tw-text-main; } h1 { @apply tw-text-3xl tw-text-main tw-mb-2 tw-font-medium; } h2 { @apply tw-text-2xl tw-text-main tw-mb-2 tw-font-medium; } h3 { @apply tw-text-xl tw-text-main tw-mb-2 tw-font-medium; } h4 { @apply tw-text-lg tw-text-main tw-mb-2 tw-font-medium; } h5 { @apply tw-text-base tw-text-main tw-mb-1.5 tw-font-medium; } h6 { @apply tw-text-sm tw-text-main tw-mb-1.5 tw-font-medium; } code { @apply tw-text-code; } p { @apply tw-mb-4; } ul { @apply tw-mb-4 tw-list-disc tw-ps-10; } ul ul, ul ol { @apply tw-mb-0; } /* Bootstrap considered this to have higher priority than classes */ [hidden]:where(:not([hidden="until-found"])) { display: none !important; } dl { @apply tw-mb-4; } dt { @apply tw-font-medium; } hr { border-color: rgba(0, 0, 0, 0.1); } html.theme_dark hr { border-color: #4c525f; } select { appearance: none; } /* overriding preflight since the apps were built assuming svgs are inline */ svg { display: inline; } th { @apply tw-font-medium; } b { @apply tw-font-medium; } strong { @apply tw-font-medium; } }