From 80e6cb37c4cbce83b1a508a8c8b238d1ba01af18 Mon Sep 17 00:00:00 2001 From: Nulo Date: Wed, 28 Jun 2023 23:14:46 -0300 Subject: [PATCH] prettier tailwind plugin + cambios --- package.json | 1 + pnpm-lock.yaml | 64 ++++++++++++++++++++++++++++++++++++++++++++++ prettier.config.js | 3 +++ src/index.html | 13 ++++++---- tailwind.config.js | 4 +-- 5 files changed, 78 insertions(+), 7 deletions(-) create mode 100644 prettier.config.js diff --git a/package.json b/package.json index 62374bc..1b4c0f9 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "license": "ISC", "devDependencies": { "@11ty/eleventy": "^2.0.1", + "prettier-plugin-tailwindcss": "^0.3.0", "tailwindcss": "^3.3.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3cabcca..1864e98 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,6 +8,9 @@ devDependencies: '@11ty/eleventy': specifier: ^2.0.1 version: 2.0.1 + prettier-plugin-tailwindcss: + specifier: ^0.3.0 + version: 0.3.0(prettier@2.8.8) tailwindcss: specifier: ^3.3.2 version: 3.3.2 @@ -1278,6 +1281,67 @@ packages: posthtml-render: 3.0.0 dev: true + /prettier-plugin-tailwindcss@0.3.0(prettier@2.8.8): + resolution: {integrity: sha512-009/Xqdy7UmkcTBpwlq7jsViDqXAYSOMLDrHAdTMlVZOrKfM2o9Ci7EMWTMZ7SkKBFTG04UM9F9iM2+4i6boDA==} + engines: {node: '>=12.17.0'} + peerDependencies: + '@ianvs/prettier-plugin-sort-imports': '*' + '@prettier/plugin-pug': '*' + '@shopify/prettier-plugin-liquid': '*' + '@shufo/prettier-plugin-blade': '*' + '@trivago/prettier-plugin-sort-imports': '*' + prettier: '>=2.2.0' + prettier-plugin-astro: '*' + prettier-plugin-css-order: '*' + prettier-plugin-import-sort: '*' + prettier-plugin-jsdoc: '*' + prettier-plugin-marko: '*' + prettier-plugin-organize-attributes: '*' + prettier-plugin-organize-imports: '*' + prettier-plugin-style-order: '*' + prettier-plugin-svelte: '*' + prettier-plugin-twig-melody: '*' + peerDependenciesMeta: + '@ianvs/prettier-plugin-sort-imports': + optional: true + '@prettier/plugin-pug': + optional: true + '@shopify/prettier-plugin-liquid': + optional: true + '@shufo/prettier-plugin-blade': + optional: true + '@trivago/prettier-plugin-sort-imports': + optional: true + prettier-plugin-astro: + optional: true + prettier-plugin-css-order: + optional: true + prettier-plugin-import-sort: + optional: true + prettier-plugin-jsdoc: + optional: true + prettier-plugin-marko: + optional: true + prettier-plugin-organize-attributes: + optional: true + prettier-plugin-organize-imports: + optional: true + prettier-plugin-style-order: + optional: true + prettier-plugin-svelte: + optional: true + prettier-plugin-twig-melody: + optional: true + dependencies: + prettier: 2.8.8 + dev: true + + /prettier@2.8.8: + resolution: {integrity: sha512-tdN8qQGvNjw4CHbY+XXk0JgCXn9QiF21a55rBe5LJAU+kDyC4WQn4+awm2Xfk2lQMk5fKup9XgzTZtGkjBdP9Q==} + engines: {node: '>=10.13.0'} + hasBin: true + dev: true + /promise-each@2.2.0: resolution: {integrity: sha512-67roqt1k3QDA41DZ8xi0V+rF3GoaMiX7QilbXu0vXimut+9RcKBNZ/t60xCRgcsihmNUsEjh48xLfNqOrKblUg==} dependencies: diff --git a/prettier.config.js b/prettier.config.js new file mode 100644 index 0000000..d83c995 --- /dev/null +++ b/prettier.config.js @@ -0,0 +1,3 @@ +module.exports = { + plugins: [require('prettier-plugin-tailwindcss')], +} \ No newline at end of file diff --git a/src/index.html b/src/index.html index b87d032..ee8731f 100644 --- a/src/index.html +++ b/src/index.html @@ -10,15 +10,18 @@ +
-
-
asdf
-
asd
+
asdf
+
asd
-
-

Nuevos saberes

+
+

Nuevos saberes

+
+
+
diff --git a/tailwind.config.js b/tailwind.config.js index 9d67686..a9e59cd 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -4,8 +4,8 @@ module.exports = { theme: { extend: {}, colors: { - white: "#fff5e8", - orange: "#ff4e1f", + blanco: "#fff5e8", + naranja: "#ff4e1f", celeste: "#b9d7ea", }, },