From 6e14a03cc88df43379146d11efda5f451ff92005 Mon Sep 17 00:00:00 2001 From: Peer Richelsen Date: Mon, 16 Aug 2021 22:48:06 +0200 Subject: [PATCH] reversed tailwind config --- tailwind.config.js | 26 +++----------------------- yarn.lock | 22 +++++++++++++++++----- 2 files changed, 20 insertions(+), 28 deletions(-) diff --git a/tailwind.config.js b/tailwind.config.js index ccdace05..73d36b92 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -95,28 +95,22 @@ module.exports = { inter: ["Inter", "sans-serif"], kollektif: ["Kollektif", "sans-serif"], }, - maxHeight: (theme, { breakpoints }) => ({ + maxHeight: (theme) => ({ 0: "0", 97: "25rem", ...theme("spacing"), - ...breakpoints(theme("screens")), - ...theme("screens"), full: "100%", screen: "100vh", }), - minHeight: (theme, { breakpoints }) => ({ + minHeight: (theme) => ({ 0: "0", ...theme("spacing"), - ...breakpoints(theme("screens")), - ...theme("screens"), full: "100%", screen: "100vh", }), - minWidth: (theme, { breakpoints }) => ({ + minWidth: (theme) => ({ 0: "0", ...theme("spacing"), - ...breakpoints(theme("screens")), - ...theme("screens"), full: "100%", screen: "100vw", }), @@ -124,23 +118,9 @@ module.exports = { 0: "0", ...theme("spacing"), ...breakpoints(theme("screens")), - ...theme("screens"), full: "100%", screen: "100vw", }), - opacity: { - 0: "0", - 8: "0.08", - 10: "0.10", - 20: "0.20", - 40: "0.40", - 60: "0.60", - 80: "0.80", - 25: "0.25", - 50: "0.5", - 75: "0.75", - 100: "1", - }, }, }, variants: { diff --git a/yarn.lock b/yarn.lock index cd0b23bd..bf60e634 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2437,6 +2437,13 @@ debug@4, debug@^4.0.1, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1: dependencies: ms "2.1.2" +debug@^4.3.2: + version "4.3.2" + resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.2.tgz#f0a49c18ac8779e31d4a0c6029dfb76873c7428b" + integrity sha512-mOp8wKcvj7XxC78zLgw/ZA+6TSgkoE2C/ienthhRD298T7UNwAg9diBpLRxC0mOezLl4B0xV7M0cCO6P/O0Xhw== + dependencies: + ms "2.1.2" + decimal.js@^10.2.1: version "10.3.1" resolved "https://registry.yarnpkg.com/decimal.js/-/decimal.js-10.3.1.tgz#d8c3a444a9c6774ba60ca6ad7261c3a94fd5e783" @@ -6559,15 +6566,20 @@ ts-pnp@^1.1.6: resolved "https://registry.yarnpkg.com/ts-pnp/-/ts-pnp-1.2.0.tgz#a500ad084b0798f1c3071af391e65912c86bca92" integrity sha512-csd+vJOb/gkzvcCHgTGSChYpy5f1/XKNsmvBGO4JXS+z1v2HobugDz4s1IeFXM3wZB44uczs+eazB5Q/ccdhQw== +tsdav@^1.0.2: + version "1.0.3" + resolved "https://registry.yarnpkg.com/tsdav/-/tsdav-1.0.3.tgz#251bfc1d6fa6c931b5a97392162f7831a954dc49" + integrity sha512-2i5YoTIwQ801VbsOgZepydg90AL5pc3RtbqkbcIW0EHah1RaS5ZDSHIzWPyLvLaFWYwwJgcXGlwrVB7DznM6qQ== + dependencies: + base-64 "^1.0.0" + cross-fetch "^3.1.4" + debug "^4.3.2" + xml-js "^1.6.11" + tslib@2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.0.1.tgz#410eb0d113e5b6356490eec749603725b021b43e" integrity sha512-SgIkNheinmEBgx1IUNirK0TUD4X9yjjBRTqqjggWCU3pUEqIk3/Uwl3yRixYKT6WjQuGiwDv4NomL3wqRCj+CQ== - dependencies: - base-64 "^1.0.0" - cross-fetch "^3.1.4" - debug "^4.3.1" - xml-js "^1.6.11" tslib@^1.0.0, tslib@^1.8.1, tslib@^1.9.0, tslib@^1.9.3: version "1.14.1"