From f99e0aba70efad0deb907d8e27f09fc9f527c8a4 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Fri, 17 Feb 2023 17:07:50 +0700 Subject: Refactor --- tailwind.config.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tailwind.config.js') diff --git a/tailwind.config.js b/tailwind.config.js index 03b05823..1f71fb92 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,9 +1,7 @@ /** @type {import('tailwindcss').Config} */ module.exports = { content: [ - "./src/pages/**/*.{js,ts,tsx}", - "./src/components/**/*.{js,ts,tsx}", - "./src/helpers/**/*.{js,ts,tsx}", + "./src/**/*.{js,ts,jsx,tsx}", ], theme: { extend: { @@ -101,5 +99,7 @@ module.exports = { } }, }, - plugins: [], + plugins: [ + require('@tailwindcss/line-clamp'), + ], } -- cgit v1.2.3 From f66b12fd1d0b83af0d7230d7b1565fbe00afbe3c Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Wed, 22 Feb 2023 11:03:34 +0700 Subject: prettier --- tailwind.config.js | 34 +++++++++++++++------------------- 1 file changed, 15 insertions(+), 19 deletions(-) (limited to 'tailwind.config.js') diff --git a/tailwind.config.js b/tailwind.config.js index 1f71fb92..e25c9203 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -1,12 +1,10 @@ /** @type {import('tailwindcss').Config} */ module.exports = { - content: [ - "./src/**/*.{js,ts,jsx,tsx}", - ], + content: ['./src/**/*.{js,ts,jsx,tsx}'], theme: { extend: { fontFamily: { - 'sans': ['Inter', 'sans-serif'] + sans: ['Inter', 'sans-serif'] }, fontSize: { 'display-lg': ['56px', '100%'], @@ -23,10 +21,10 @@ module.exports = { 'paragraph-1': ['15px', '140%'], 'paragraph-2': ['14px', '140%'], 'caption-1': ['13px', '121%'], - 'caption-2': ['12px', '121%'], + 'caption-2': ['12px', '121%'] }, colors: { - 'green_r': { + green_r: { 1: '#fbfefc', 2: '#f2fcf5', 3: '#e9f9ee', @@ -38,9 +36,9 @@ module.exports = { 9: '#30a46c', 10: '#299764', 11: '#18794e', - 12: '#153226', + 12: '#153226' }, - 'yellow_r': { + yellow_r: { 1: '#fdfdf9', 2: '#fffce8', 3: '#fffbd1', @@ -52,9 +50,9 @@ module.exports = { 9: '#f5d90a', 10: '#f7ce00', 11: '#946800', - 12: '#35290f', + 12: '#35290f' }, - 'gray_r': { + gray_r: { 1: '#fcfcfc', 2: '#f8f8f8', 3: '#f3f3f3', @@ -66,9 +64,9 @@ module.exports = { 9: '#8f8f8f', 10: '#858585', 11: '#6f6f6f', - 12: '#171717', + 12: '#171717' }, - 'red_r': { + red_r: { 1: '#fffcfc', 2: '#fff8f8', 3: '#ffefef', @@ -80,9 +78,9 @@ module.exports = { 9: '#e5484d', 10: '#dc3d43', 11: '#cd2b31', - 12: '#381316', + 12: '#381316' }, - 'sand_r': { + sand_r: { 1: '#fdfdfc', 2: '#f9f9f8', 3: '#f3f3f2', @@ -94,12 +92,10 @@ module.exports = { 9: '#90908c', 10: '#868682', 11: '#706f6c', - 12: '#1b1b18', + 12: '#1b1b18' } } - }, + } }, - plugins: [ - require('@tailwindcss/line-clamp'), - ], + plugins: [require('@tailwindcss/line-clamp')] } -- cgit v1.2.3