Skip to content
Snippets Groups Projects
Commit 3c5042e5 authored by Konrad Mohrfeldt's avatar Konrad Mohrfeldt :koala:
Browse files

fix(tailwind-integration): work-around missing tailwind base module

We currently don’t include the tailwind base module because it would
interfere with the bootstrap styles.

Unfortunately the tailwind base module also contains a lot of CSS
properties that are used in various utility classes to allow
fine-grained manipulation like `tw-translate-x-2` which would only set
the `tw-translate-x` CSS property and all the real work happening in the
`tw-transform` class which applies all these properties in a single
`transform` rule.

As we can’t include the tailwind base module because of said conflict,
we should at least define some of the missing CSS properties.
parent 459e176e
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,15 @@ ...@@ -6,6 +6,15 @@
:root { :root {
--primary: theme('colors.gray.800'); --primary: theme('colors.gray.800');
--info: theme('colors.aura.purple'); --info: theme('colors.aura.purple');
/* TODO: remove these once we include the tailwind base module */
--tw-translate-x: 0;
--tw-translate-y: 0;
--tw-rotate: 0;
--tw-skew-x: 0;
--tw-skew-y: 0;
--tw-scale-x: 1;
--tw-scale-y: 1;
} }
header a, header a,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment