fix: css tw

This commit is contained in:
Filipe Medeiros 2021-12-14 19:48:47 +00:00
parent fc5442e035
commit 000d8c4176
3 changed files with 9 additions and 17 deletions

View file

@ -54,7 +54,7 @@
"lint-staged": "^12.0.2",
"postcss": "^8.3.5",
"prettier-eslint": "^13.0.0",
"tailwindcss": "^3.0.1",
"tailwindcss": "^3.0.2",
"typescript": "^4.5.3"
},
"browserslist": {

View file

@ -16,27 +16,24 @@ html {
@tailwind components;
@tailwind utilities;
/* todo turn this into a plugin */
@layer utilities {
.-rotate-child-90 > *:first-child {
@apply origin-center;
--tw-rotate: -90deg;
transform: var(--tw-transform);
transform-origin: center;
}
.-rotate-child-180 > *:first-child {
@apply origin-center;
--tw-rotate: -180deg;
transform: var(--tw-transform);
transform-origin: center;
}
.origin-center-child > *:first-child {
transform-origin: center;
@apply origin-center;
}
.transition-transform-child > *:first-child {
transition-property: transform;
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
transition-duration: 150ms;
@apply transition-transform;
}
}

View file

@ -1601,11 +1601,6 @@ detective@^5.2.0:
defined "^1.0.0"
minimist "^1.1.1"
dexie-react-hooks@^1.0.7:
version "1.0.7"
resolved "https://registry.yarnpkg.com/dexie-react-hooks/-/dexie-react-hooks-1.0.7.tgz#50316a7829a6dfa013b8471f66b010cc77f00d3e"
integrity sha512-hqXGFbfgu1rdfcGHQUPwW2G0iWyupoNWnk3ODvqr+HdZt2ip3y1e/dcWIOsEnlUWWCWk6a3+ok0fvECU05eE2A==
didyoumean@^1.2.2:
version "1.2.2"
resolved "https://registry.yarnpkg.com/didyoumean/-/didyoumean-1.2.2.tgz#989346ffe9e839b4555ecf5666edea0d3e8ad037"
@ -4263,10 +4258,10 @@ table@^6.0.9:
string-width "^4.2.3"
strip-ansi "^6.0.1"
tailwindcss@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.0.1.tgz#bef72ff45d5cfed79bb648d30da952e521e98da4"
integrity sha512-EVDXVZkcueZ77/zfOJw7XkzCuxe5TCiT/S9pw9P183oRzSuwMZ7WO+W/L76jbJQA5qxGeUBJOVOLVBuAUfeZ3g==
tailwindcss@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/tailwindcss/-/tailwindcss-3.0.2.tgz#9eea4c6dbe8d6d2c11363d313f4a4eba2baeb652"
integrity sha512-i1KpjYnGYftjzdAth6jA5iMPjhxpUkk5L6DafhfnQs+KiiWaThYxmk47Weh4oFH1mZqP6MuiQNHxtoRVPOraLg==
dependencies:
arg "^5.0.1"
chalk "^4.1.2"