-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
chore: update tailwind and related dependencies to latest versions #7984
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
71efe78
437581c
b4005b1
b475841
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,5 @@ | ||
| "use strict"; | ||
|
|
||
| module.exports = { | ||
| plugins: [require("tailwindcss"), require("autoprefixer")], | ||
| plugins: ["@tailwindcss/postcss", "autoprefixer"], | ||
| }; |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,8 @@ | |
| margin: 0; | ||
| padding: 0; | ||
| font-size: inherit; | ||
| display: flex; | ||
| align-items: center; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why we added this?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| } | ||
| } | ||
|
|
||
|
|
@@ -21,6 +23,7 @@ | |
| } | ||
|
|
||
| .dropdown__arrow { | ||
| line-height: 1; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why we added this?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| &:before { | ||
| content: "\25be"; | ||
| } | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,5 @@ | ||
| @use "../../styles/partials/vars" as *; | ||
| @use "sass:color"; | ||
| @use "../../styles/partials/mixins" as *; | ||
| @use "../../styles/partials/functions" as *; | ||
|
|
||
|
|
@@ -63,6 +65,7 @@ | |
|
|
||
| img { | ||
| width: auto; | ||
| display: inline-block; | ||
| height: 100%; | ||
| } | ||
| } | ||
|
|
@@ -94,12 +97,16 @@ | |
|
|
||
| img { | ||
| width: auto; | ||
| display: inline-block; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why we added this?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| height: 100%; | ||
| margin-left: 1rem; | ||
| } | ||
| } | ||
|
|
||
| .footer__top { | ||
| a { | ||
| color: $text-color-highlight; | ||
| } | ||
| max-width: 900px; | ||
| margin: 0 auto; | ||
| text-align: center; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -125,6 +125,7 @@ $topHeightMobileWithBanner: $bannerHeight + $topHeightMobile; | |
| ul, | ||
| ol { | ||
| padding-left: 30px; | ||
| list-style: revert; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why we added this?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
|
|
||
| &:first-child { | ||
| margin-top: 0; | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -240,7 +240,7 @@ function Navigation({ links, pathname, hash = "", toggleSidebar }) { | |
| > | ||
| {link.children.map((child) => { | ||
| const classNames = | ||
| "text-blue-400 py-5 text-sm capitalize hover:text-black dark:hover:text-white"; | ||
| "text-blue-400 dark:text-[#69a8ee] py-5 text-sm capitalize hover:text-black dark:hover:text-white"; | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why we added this? |
||
| const isActive = location.pathname.startsWith(child.url); | ||
| return ( | ||
| <NavLink | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,7 +14,7 @@ import "./SplashViz.scss"; | |
| export default class SplashViz extends Component { | ||
| render() { | ||
| return ( | ||
| <section className="splash-viz dark:bg-gray-900"> | ||
| <section className="splash-viz dark:bg-gray-900!"> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please describe all CSS changes to understand why it was changed, thanks
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it 👍 |
||
| <h1 className="splash-viz__heading"> | ||
| <span> bundle your</span> | ||
| <TextRotator delay={5000} repeatDelay={5000} maxWidth={110}> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,23 +1,52 @@ | ||
| @import "tailwindcss/base"; | ||
| /* @import "tailwindcss/components"; */ | ||
| @import "tailwindcss/utilities"; | ||
| @import "tailwindcss"; | ||
| @layer base { | ||
| @import "../styles/reset.css"; | ||
| } | ||
|
|
||
| @theme { | ||
| --breakpoint-md: 768px; | ||
| --breakpoint-lg: 1024px; | ||
| --text-14: 14px; | ||
| --color-white: #fff; | ||
| --color-black: #000; | ||
| --color-transparent: transparent; | ||
| --color-blue-200: #8dd6f9; | ||
| --color-blue-400: #1d78c1; | ||
| --color-blue-600: #465e69; | ||
| --color-blue-800: #2b3a42; | ||
| --color-gray-100: #f2f2f2; | ||
| --color-gray-200: #dedede; | ||
| --color-gray-300: #999; | ||
| --color-gray-500: #666; | ||
| --color-gray-600: #535353; | ||
| --color-gray-700: #333; | ||
| --color-gray-800: #222; | ||
| --color-gray-900: #101619; | ||
| --spacing-5: 5px; | ||
| --spacing-10: 10px; | ||
| --spacing-20: 20px; | ||
| --grid-template-columns-contributors: repeat(auto-fit, 36px); | ||
| } | ||
|
|
||
| @variant dark (&:where([data-theme="dark"], [data-theme="dark"] *)); | ||
| @variant hover (&:hover); | ||
|
|
||
| /* doc search */ | ||
| :root { | ||
| --docsearch-primary-color: #1d78c1 !important; | ||
| } | ||
| .DocSearch-Button { | ||
| @apply bg-transparent lg:bg-gray-500 transition duration-200 lg:rounded-full !important; | ||
| @apply bg-transparent! lg:bg-gray-500! transition! duration-200! lg:rounded-full!; | ||
| } | ||
| .DocSearch-Button-Placeholder { | ||
| @apply hidden lg:font-light lg:text-sm lg:block lg:text-gray-200 lg:dark:text-gray-300 transition duration-200 !important; | ||
| @apply hidden! lg:font-light! lg:text-sm! lg:block! lg:text-gray-200! lg:dark:text-gray-300! transition! duration-200!; | ||
| } | ||
| .DocSearch-Button:hover .DocSearch-Button-Placeholder { | ||
| @apply lg:text-gray-100 !important; | ||
| @apply lg:text-gray-100!; | ||
| } | ||
| .DocSearch-Button-Keys { | ||
| @apply hidden lg:flex !important; | ||
| @apply hidden! lg:flex!; | ||
| } | ||
| .DocSearch-Button .DocSearch-Search-Icon { | ||
| @apply text-white lg:text-gray-100 !important; | ||
| @apply text-white! lg:text-gray-100!; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,12 +35,7 @@ export default (env) => | |
| }, | ||
| }, | ||
| }, | ||
| minimizer: [ | ||
| "...", | ||
| new CssMinimizerPlugin({ | ||
| minify: CssMinimizerPlugin.lightningCssMinify, | ||
| }), | ||
| ], | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it doesn't support the new media query syntax in v4
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we need to update it or look at options, maybe we need to enable something here |
||
| minimizer: ["...", new CssMinimizerPlugin()], | ||
| }, | ||
| plugins: [ | ||
| new InjectManifest({ | ||
|
|
||






There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove ignore too, we don't have modules to ignore anymore