Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/marketempower/axiom.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJhaura Wachsman <jw@jhaurawachsman.com>2020-09-23 20:21:11 +0300
committerJhaura Wachsman <jw@jhaurawachsman.com>2020-09-23 20:21:11 +0300
commitb1b38954ad89fc7c44157c0f445d681cd5aa74a0 (patch)
treea2be24a7f4a4cefa7e5e1a981bf42bc2a7f1998a
parentc47e011e66e89cf39173860a06fdeac1ef5937eb (diff)
Update Tailwind CSS config file for v2.0
-rw-r--r--tailwind.config.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tailwind.config.js b/tailwind.config.js
index 3116eec..82e0c44 100644
--- a/tailwind.config.js
+++ b/tailwind.config.js
@@ -1,6 +1,10 @@
const defaultTheme = require('tailwindcss/defaultTheme')
module.exports = {
+ future: {
+ purgeLayersByDefault: true,
+ removeDeprecatedGapUtilities: true,
+ },
target: ['relaxed', {
transform: 'ie11',
backgroundColor: 'ie11',
@@ -10,6 +14,7 @@ module.exports = {
divideColor: 'ie11',
}],
purge: {
+ layers: ['components', 'utilities'],
content: ['./*(layouts|content|data|static)/**/*.*(html|toml|md)'],
options: {
whitelist: ['static', 'relative', 'absolute', 'block', 'hidden', 'inline-block', 'inline-block', 'inline', 'flex', 'flex-none', 'flex-1', 'flex-grow', 'justify-center', 'table', 'float-left', 'float-right', 'text-left', 'text-center', 'text-right', 'text-justify', 'font-basic-sans', 'font-content-sans', 'font-content-serif', 'font-content-title', 'text-sm', 'text-base', 'text-lg', 'text-xl', 'text-2xl', 'text-40', 'lowercase', 'uppercase', 'tracking-default', 'align-text-bottom', 'font-sans', 'font-serif', 'font-mono', 'font-light', 'font-normal', 'font-medium', 'font-semibold', 'font-bold', 'leading-tight', 'mt-0', 'mt-1', 'mt-3', 'mt-4', 'mt-8', 'mt-9', 'mt-10', 'mx-4', 'mx-8', 'ml-3', 'ml-4', 'mr-3', 'mr-4', 'max-w-680', 'max-w-2xl', 'max-w-3xl', 'max-w-4xl', 'max-w-5xl', 'max-w-6xl', 'min-w-0', 'w-auto', 'fill-current', 'text-gray-500', 'text-gray-600', 'text-raven-800', 'text-raven-900a', 'first:mt-0', 'sm:mt-0', 'sm:ml-4', 'sm:ml-8', 'sm:mr-4', 'sm:mr-8', 'sm:flex', 'sm:flex-grow', 'sm:justify-center', 'sm:max-w-680', 'sm:max-w-2xl', 'sm:max-w-3xl', 'sm:max-w-4xl', 'sm:max-w-5xl', 'sm:max-w-6xl'],