1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- @config './tailwind.desktop.js';
- @tailwind base;
- @tailwind components;
- @tailwind utilities;
- @layer base {
- /* Override autofill styles in Firefox. */
- :-moz-autofill {
- background: transparent;
- }
- /* Override autofill styles in Webkit-based browsers. */
- :-webkit-autofill {
- -webkit-text-fill-color: theme('colors.black');
- -webkit-background-clip: text;
- caret-color: theme('colors.black');
- }
- [data-theme='dark'] :-webkit-autofill {
- -webkit-text-fill-color: theme('colors.white');
- caret-color: theme('colors.white');
- }
- /* No-op animation for hooking into autofill mechanism in Webkit-based browsers. */
- :-webkit-autofill {
- animation-name: onAutoFillStart;
- }
- :not(:-webkit-autofill) {
- animation-name: onAutoFillEnd;
- }
- @keyframes onAutoFillStart {
- from {
- }
- to {
- }
- }
- @keyframes onAutoFillEnd {
- from {
- }
- to {
- }
- }
- }
- @layer components {
- input::placeholder,
- textarea::placeholder {
- @apply text-stone-200 dark:text-neutral-500;
- }
- .required::after {
- @apply inline-block font-extrabold content-['•'] ltr:ml-1 rtl:mr-1 text-yellow-600;
- }
- /* Compatibility layer for object attributes and form columns. */
- .form-group .formkit-outer {
- @apply col-span-2;
- &.form-group-single-column {
- @apply col-span-1;
- }
- }
- /*
- TODO: Dirty mark styling within the field.
- .form-group.form-group-mark-dirty .formkit-outer[data-dirty]::before {}
- */
- }
- @layer utilities {
- .group-block {
- @apply p-5 bg-white dark:bg-gray-500 text-black dark:text-white rounded-3xl;
- }
- }
|