Skip to content

Commit

Permalink
Feature: Bump Tailwind
Browse files Browse the repository at this point in the history
Because:
* The dependabot bump was previously failing because of an import duplication error.

This commit:
* Remove our layout gradient class, it was causing the build to fail because it [duplicates an import](tailwindlabs/tailwindcss#11473). We were only using this class in one place so I just moved the styles to the element.
* Bump to latest version of Tailwind.
  • Loading branch information
KevinMulhern committed Jul 10, 2023
1 parent 4aecfec commit 771c427
Show file tree
Hide file tree
Showing 4 changed files with 131 additions and 86 deletions.
4 changes: 0 additions & 4 deletions app/javascript/stylesheets/layout.css
Expand Up @@ -4,10 +4,6 @@
}

@layer utilities {
.gradient {
@apply bg-gradient-to-b from-white to-gray-100;
}

.highlight-white {
box-shadow: inset 0 1px 0 0 hsl(0deg 0% 100% / 5%);
}
Expand Down
2 changes: 1 addition & 1 deletion app/views/static_pages/home/_success_stories.html.erb
@@ -1,4 +1,4 @@
<div class="w-full gradient dark:bg-gray-800/30 dark:bg-none">
<div class="w-full bg-gradient-to-b from-white to-gray-100 dark:bg-gray-800/30 dark:bg-none">
<div class="page-container py-20">
<div class="text-center">
<h2 class="font-medium text-3xl text-gray-800 dark:text-gray-200">Success Stories</h2>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -63,7 +63,7 @@
"stimulus-use": "^0.51.3",
"stimulus-validation": "^1.0.1-beta.3",
"style-loader": "^3.3.3",
"tailwindcss": "^3.2.7",
"tailwindcss": "^3.3.2",
"terser-webpack-plugin": "5",
"webpack": "5",
"webpack-assets-manifest": "5",
Expand Down

0 comments on commit 771c427

Please sign in to comment.