Skip to content

Chore(frontend)/upgrade tailwind #78

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

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

alcercu
Copy link
Collaborator

@alcercu alcercu commented Feb 10, 2025

Summary by CodeRabbit

  • Chores

    • Upgraded key styling dependencies (including Tailwind CSS and related plugins) to improve compatibility and performance.
    • Revised build configurations and global style theming to align with the new dependency versions.
  • Style

    • Reordered and adjusted utility class sequences across numerous UI elements to ensure consistent and refined visual presentation.
    • Made minor layout and spacing tweaks to maintain design integrity without affecting overall functionality.

Copy link
Contributor

coderabbitai bot commented Feb 10, 2025

Walkthrough

The changes update dependencies and adjust the Tailwind CSS configuration while reordering CSS class names throughout numerous frontend components. The dependency updates include adding @tailwindcss/postcss and updating other Tailwind-related packages. Most modifications are cosmetic, involving a reordering of class names in JSX elements across various pages and components, without impacting functionality. Additionally, global styling has been restructured using a theme-based approach, and the old Tailwind configuration file was removed.

Changes

File(s) Change Summary
frontend/package.json
frontend/postcss.config.mjs
Added dependency @tailwindcss/[email protected], updated prettier-plugin-tailwindcss and tailwindcss; updated PostCSS config to reference @tailwindcss/postcss.
frontend/src/app/for-lawyers/components/... Reordered CSS class names in components (e.g., Card, Flowchart, Hero, etc.) for styling consistency; no functional changes.
frontend/src/app/home/components/...
frontend/src/app/layout.tsx
Adjusted Tailwind CSS class order in JSX to refine spacing, typography, and layout styling.
frontend/src/components/BrandAssets/...
frontend/src/components/Community/...
frontend/src/components/Cooperative/...
frontend/src/components/{CtaBox,CtaCard,Divider}.tsx
frontend/src/components/DownloadButton.tsx
Cosmetic reordering of styling classes; in DownloadButton, replaced rounded with rounded-sm.
frontend/src/components/Dropdown/...
frontend/src/components/Earn/...
frontend/src/components/ExternalLink.tsx
frontend/src/components/Footer.tsx
frontend/src/components/Navbar/...
Reordered classes in dropdowns, external links, footer, and navbar; minor adjustments including CSS variable utilization for max widths and positioning.
frontend/src/components/PNKToken/...
frontend/src/components/ResearchDevelopment/...
frontend/src/components/{Tab,Tag}.tsx
Cosmetic reordering of class names across token and research components; no change to component behavior.
frontend/src/styles/globals.css
frontend/tailwind.config.ts
Restructured global CSS by replacing Tailwind directives with an @import and introducing theme-based CSS variables; removed the Tailwind config file.

Suggested reviewers

  • Harman-singh-waraich

Poem

I'm a rabbit hopping with delight,
In code and classes shining bright.
With CSS reordered in a neat array,
Dependencies updated to guide our way.
I nibble on bugs and cheer the change—hip, hip, hooray!
🥕✨

✨ Finishing Touches
  • 📝 Generate Docstrings (Beta)

🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai or @coderabbitai title anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link

netlify bot commented Feb 10, 2025

Deploy Preview for kleros-website-v2 ready!

Name Link
🔨 Latest commit decac94
🔍 Latest deploy log https://app.netlify.com/sites/kleros-website-v2/deploys/67a9dedd2e29b800084a95f6
😎 Deploy Preview https://deploy-preview-78--kleros-website-v2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
frontend/src/styles/globals.css (1)

3-46: Introduction of Custom @theme Block for Global Theming
A comprehensive theming block has been introduced using @theme to define various CSS custom properties (e.g., text sizes, line heights, and color variables). Note the following:

  • The property name --text-* (line 4) is unconventional since * is not typically allowed in custom property names. If this is intentional (perhaps used by a custom PostCSS plugin), please verify that your tooling supports it; otherwise, consider renaming it.
  • A number of static analysis warnings (e.g., unexpected characters and missing commas) are reported for these lines. These may be false positives if the syntax is valid within your custom configuration.

Consider documenting the rationale behind using the @theme directive and any custom naming conventions so that future maintainers (and tools) understand the extended syntax.

🧰 Tools
🪛 Biome (1.9.4)

[error] 4-4: expected , but instead found *

Remove *

(parse)


[error] 4-4: expected , but instead found ;

Remove ;

(parse)


[error] 5-5: expected , but instead found --text-sm

Remove --text-sm

(parse)


[error] 5-5: Unexpected value or character.

Expected one of:

(parse)


[error] 5-5: expected , but instead found rem

Remove rem

(parse)


[error] 5-5: expected , but instead found ;

Remove ;

(parse)


[error] 6-6: expected , but instead found --text-sm--line-height

Remove --text-sm--line-height

(parse)


[error] 6-6: Unexpected value or character.

Expected one of:

(parse)


[error] 6-6: expected , but instead found rem

Remove rem

(parse)


[error] 6-6: expected , but instead found ;

Remove ;

(parse)


[error] 7-7: expected , but instead found --text-base

Remove --text-base

(parse)


[error] 7-7: Unexpected value or character.

Expected one of:

(parse)


[error] 7-7: expected , but instead found rem

Remove rem

(parse)


[error] 7-7: expected , but instead found ;

Remove ;

(parse)


[error] 8-8: expected , but instead found --text-base--line-height

Remove --text-base--line-height

(parse)


[error] 8-8: Unexpected value or character.

Expected one of:

(parse)


[error] 8-8: expected , but instead found rem

Remove rem

(parse)


[error] 8-8: expected , but instead found ;

Remove ;

(parse)


[error] 9-9: expected , but instead found --text-lg

Remove --text-lg

(parse)


[error] 9-9: Unexpected value or character.

Expected one of:

(parse)


[error] 9-9: expected , but instead found rem

Remove rem

(parse)


[error] 9-9: expected , but instead found ;

Remove ;

(parse)


[error] 10-10: expected , but instead found --text-lg--line-height

Remove --text-lg--line-height

(parse)


[error] 10-10: Unexpected value or character.

Expected one of:

(parse)


[error] 10-10: expected , but instead found rem

Remove rem

(parse)


[error] 10-10: expected , but instead found ;

Remove ;

(parse)


[error] 11-11: expected , but instead found --text-xl

Remove --text-xl

(parse)


[error] 11-11: Unexpected value or character.

Expected one of:

(parse)


[error] 11-11: expected , but instead found rem

Remove rem

(parse)


[error] 11-11: expected , but instead found ;

Remove ;

(parse)


[error] 12-12: expected , but instead found --text-xl--line-height

Remove --text-xl--line-height

(parse)


[error] 12-12: Unexpected value or character.

Expected one of:

(parse)


[error] 12-12: expected , but instead found rem

Remove rem

(parse)


[error] 12-12: expected , but instead found ;

Remove ;

(parse)


[error] 13-13: expected , but instead found --text-2xl

Remove --text-2xl

(parse)


[error] 13-13: Unexpected value or character.

Expected one of:

(parse)


[error] 13-13: expected , but instead found rem

Remove rem

(parse)


[error] 13-13: expected , but instead found ;

Remove ;

(parse)


[error] 14-14: expected , but instead found --text-2xl--line-height

Remove --text-2xl--line-height

(parse)


[error] 14-14: Unexpected value or character.

Expected one of:

(parse)


[error] 14-14: expected , but instead found rem

Remove rem

(parse)


[error] 14-14: expected , but instead found ;

Remove ;

(parse)


[error] 15-15: expected , but instead found --text-3xl

Remove --text-3xl

(parse)


[error] 15-15: Unexpected value or character.

Expected one of:

(parse)


[error] 15-15: expected , but instead found rem

Remove rem

(parse)


[error] 15-15: expected , but instead found ;

Remove ;

(parse)


[error] 16-16: expected , but instead found --text-3xl--line-height

Remove --text-3xl--line-height

(parse)


[error] 16-16: Unexpected value or character.

Expected one of:

(parse)


[error] 16-16: expected , but instead found rem

Remove rem

(parse)


[error] 16-16: expected , but instead found ;

Remove ;

(parse)


[error] 17-17: expected , but instead found --text-4xl

Remove --text-4xl

(parse)


[error] 17-17: Unexpected value or character.

Expected one of:

(parse)


[error] 17-17: expected , but instead found rem

Remove rem

(parse)


[error] 17-17: expected , but instead found ;

Remove ;

(parse)


[error] 18-18: expected , but instead found --text-4xl--line-height

Remove --text-4xl--line-height

(parse)


[error] 18-18: Unexpected value or character.

Expected one of:

(parse)


[error] 18-18: expected , but instead found rem

Remove rem

(parse)


[error] 18-18: expected , but instead found ;

Remove ;

(parse)


[error] 20-20: expected , but instead found --color-background

Remove --color-background

(parse)


[error] 20-20: expected , but instead found (

Remove (

(parse)


[error] 20-20: expected , but instead found --background

Remove --background

(parse)


[error] 20-20: expected , but instead found )

Remove )

(parse)


[error] 21-21: expected , but instead found --color-foreground

Remove --color-foreground

(parse)


[error] 21-21: expected , but instead found (

Remove (

(parse)


[error] 21-21: expected , but instead found --foreground

Remove --foreground

(parse)


[error] 21-21: expected , but instead found )

Remove )

(parse)


[error] 22-22: expected , but instead found --color-primary-text

Remove --color-primary-text

(parse)


[error] 22-22: Unexpected value or character.

Expected one of:

(parse)


[error] 22-22: expected , but instead found ;

Remove ;

(parse)


[error] 23-23: expected , but instead found --color-secondary-text

Remove --color-secondary-text

(parse)


[error] 23-23: Unexpected value or character.

Expected one of:

(parse)


[error] 23-23: expected , but instead found ;

Remove ;

(parse)


[error] 24-24: expected , but instead found --color-stroke

Remove --color-stroke

(parse)


[error] 24-24: Unexpected value or character.

Expected one of:

(parse)


[error] 24-24: Expected an identifier but instead found '42498'.

Expected an identifier here.

(parse)


[error] 24-24: expected , but instead found f

Remove f

(parse)


[error] 24-24: expected , but instead found ;

Remove ;

(parse)


[error] 25-25: expected , but instead found --color-primary-purple

Remove --color-primary-purple

(parse)


[error] 25-25: Unexpected value or character.

Expected one of:

(parse)


[error] 25-25: Expected an identifier but instead found '9747'.

Expected an identifier here.

(parse)


[error] 25-25: expected , but instead found ff

Remove ff

(parse)


[error] 25-25: expected , but instead found ;

Remove ;

(parse)


[error] 26-26: expected , but instead found --color-secondary-purple

Remove --color-secondary-purple

(parse)


[error] 26-26: Unexpected value or character.

Expected one of:

(parse)


[error] 26-26: expected , but instead found ;

Remove ;

(parse)


[error] 27-27: expected , but instead found --color-dark-purple

Remove --color-dark-purple

(parse)


[error] 27-27: Unexpected value or character.

Expected one of:

(parse)


[error] 27-27: Expected an identifier but instead found '230079'.

Expected an identifier here.

(parse)


[error] 28-28: expected , but instead found --color-primary-blue

Remove --color-primary-blue

(parse)


[error] 28-28: Unexpected value or character.

Expected one of:

(parse)


[error] 28-28: Expected an identifier but instead found '27'.

Expected an identifier here.

(parse)


[error] 28-28: expected , but instead found cdfe

Remove cdfe

(parse)


[error] 28-28: expected , but instead found ;

Remove ;

(parse)


[error] 29-29: expected , but instead found --color-secondary-blue

Remove --color-secondary-blue

(parse)


[error] 29-29: Unexpected value or character.

Expected one of:

(parse)


[error] 29-29: Expected an identifier but instead found '7'.

Expected an identifier here.

(parse)


[error] 29-29: expected , but instead found ce2ff

Remove ce2ff

(parse)


[error] 29-29: expected , but instead found ;

Remove ;

(parse)


[error] 30-30: expected , but instead found --color-background-1

Remove --color-background-1

(parse)


[error] 30-30: Unexpected value or character.

Expected one of:

(parse)


[error] 30-30: Expected an identifier but instead found '1'.

Expected an identifier here.

(parse)


[error] 30-30: expected , but instead found b003f

Remove b003f

(parse)


[error] 30-30: expected , but instead found ;

Remove ;

(parse)


[error] 31-31: expected , but instead found --color-background-2

Remove --color-background-2

(parse)


[error] 31-31: Unexpected value or character.

Expected one of:

(parse)


[error] 31-31: Expected an identifier but instead found '220050'.

Expected an identifier here.

(parse)


[error] 32-32: expected , but instead found --color-background-dark

Remove --color-background-dark

(parse)


[error] 32-32: Unexpected value or character.

Expected one of:

(parse)


[error] 32-32: Expected an identifier but instead found '13002'.

Expected an identifier here.

(parse)


[error] 32-32: expected , but instead found d

Remove d

(parse)


[error] 32-32: expected , but instead found ;

Remove ;

(parse)


[error] 33-33: expected , but instead found --color-background-translucent

Remove --color-background-translucent

(parse)


[error] 33-33: expected , but instead found (

Remove (

(parse)


[error] 33-33: Expected a relative selector but instead found '0'.

Expected a relative selector here.

(parse)


[error] 33-33: Expected a relative selector but instead found '80'.

Expected a relative selector here.

(parse)


[error] 33-33: Expected a relative selector but instead found '0.24);'.

Expected a relative selector here.

(parse)


[error] 34-34: expected , but instead found --color-success

Remove --color-success

(parse)


[error] 34-34: Unexpected value or character.

Expected one of:

(parse)


[error] 34-34: Expected an identifier but instead found '00'.

Expected an identifier here.

(parse)


[error] 34-34: expected , but instead found f068

Remove f068

(parse)


[error] 34-34: expected , but instead found ;

Remove ;

(parse)


[error] 36-36: expected , but instead found --animate-h-scroll

Remove --animate-h-scroll

(parse)


[error] 36-36: Expected a compound selector but instead found '10'.

Expected a compound selector here.

(parse)


[error] 36-36: expected , but instead found s

Remove s

(parse)


[error] 36-36: expected , but instead found ;

Remove ;

(parse)


[error] 38-38: expected , but instead found keyframes

Remove keyframes

(parse)


[error] 39-39: Expected a declaration, or an at rule but instead found '0% {'.

Expected a declaration, or an at rule here.

(parse)


[error] 42-42: Expected a declaration, or an at rule but instead found '100% {'.

Expected a declaration, or an at rule here.

(parse)


[error] 45-46: Expected a qualified rule, or an at rule but instead found '}
}'.

Expected a qualified rule, or an at rule here.

(parse)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 14d328e and decac94.

⛔ Files ignored due to path filters (1)
  • frontend/yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (89)
  • frontend/package.json (2 hunks)
  • frontend/postcss.config.mjs (1 hunks)
  • frontend/src/app/for-lawyers/components/Card.tsx (1 hunks)
  • frontend/src/app/for-lawyers/components/Flowchart.tsx (2 hunks)
  • frontend/src/app/for-lawyers/components/Hero.tsx (2 hunks)
  • frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/ArbitrationMethodTable/TabelCardContent.tsx (1 hunks)
  • frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/ArbitrationMethodTable/index.tsx (2 hunks)
  • frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/KlerosEscrowSection.tsx (1 hunks)
  • frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/ResearchSection.tsx (1 hunks)
  • frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/index.tsx (2 hunks)
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/DisputeResolutionProcess.tsx (1 hunks)
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/HighlightedText.tsx (2 hunks)
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/LemonCashSection.tsx (2 hunks)
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/MethodsTable/DesktopTable.tsx (5 hunks)
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/MethodsTable/MobileTable.tsx (1 hunks)
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/index.tsx (1 hunks)
  • frontend/src/app/for-lawyers/components/KlerosFellowSection/index.tsx (1 hunks)
  • frontend/src/app/for-lawyers/components/KlerosMediationSection/index.tsx (2 hunks)
  • frontend/src/app/for-lawyers/components/KlerosParticipateSection/index.tsx (1 hunks)
  • frontend/src/app/home/components/Hero.tsx (3 hunks)
  • frontend/src/app/home/components/HowKlerosWorks.tsx (1 hunks)
  • frontend/src/app/home/components/LearnPosts.tsx (1 hunks)
  • frontend/src/app/home/components/TokenStats.tsx (1 hunks)
  • frontend/src/app/home/components/TrustedBy.tsx (4 hunks)
  • frontend/src/app/home/components/UseCases.tsx (1 hunks)
  • frontend/src/app/layout.tsx (1 hunks)
  • frontend/src/components/BrandAssets/Hero.tsx (2 hunks)
  • frontend/src/components/BrandAssets/KlerosBadgesSection.tsx (1 hunks)
  • frontend/src/components/BrandAssets/KlerosColorsSection/index.tsx (1 hunks)
  • frontend/src/components/BrandAssets/KlerosFontsSection.tsx (1 hunks)
  • frontend/src/components/BrandAssets/KlerosLogoSection.tsx (1 hunks)
  • frontend/src/components/BrandAssets/LogosPackageSection.tsx (1 hunks)
  • frontend/src/components/BrandAssets/PnkTokenSection.tsx (1 hunks)
  • frontend/src/components/BrandAssets/StyledImagesSection.tsx (1 hunks)
  • frontend/src/components/Community/CommunitiesSection.tsx (1 hunks)
  • frontend/src/components/Community/CommunityCard.tsx (1 hunks)
  • frontend/src/components/Community/hero.tsx (2 hunks)
  • frontend/src/components/Cooperative/MemberSection/index.tsx (1 hunks)
  • frontend/src/components/Cooperative/ReportSection/DropdownContainer.tsx (2 hunks)
  • frontend/src/components/Cooperative/ReportSection/ReportCard.tsx (2 hunks)
  • frontend/src/components/Cooperative/hero.tsx (3 hunks)
  • frontend/src/components/CtaBox.tsx (1 hunks)
  • frontend/src/components/CtaCard.tsx (3 hunks)
  • frontend/src/components/Divider.tsx (1 hunks)
  • frontend/src/components/DownloadButton.tsx (1 hunks)
  • frontend/src/components/Dropdown/DropdownItemButton.tsx (1 hunks)
  • frontend/src/components/Dropdown/index.tsx (1 hunks)
  • frontend/src/components/Earn/Hero.tsx (3 hunks)
  • frontend/src/components/Earn/TabSection/CuratorTabContent/KlerosScoutSection.tsx (2 hunks)
  • frontend/src/components/Earn/TabSection/CuratorTabContent/index.tsx (2 hunks)
  • frontend/src/components/Earn/TabSection/JurorTabContent/EnterCourtSection.tsx (1 hunks)
  • frontend/src/components/Earn/TabSection/JurorTabContent/index.tsx (1 hunks)
  • frontend/src/components/ExternalLink.tsx (1 hunks)
  • frontend/src/components/Footer.tsx (2 hunks)
  • frontend/src/components/ForBuilders/Hero.tsx (2 hunks)
  • frontend/src/components/ForBuilders/UseCasesSection/DAOSection/Header.tsx (1 hunks)
  • frontend/src/components/ForBuilders/UseCasesSection/DAOSection/KeyChallenges/Header.tsx (1 hunks)
  • frontend/src/components/ForBuilders/UseCasesSection/DAOSection/KeyChallenges/HowKlerosSolvesIt.tsx (1 hunks)
  • frontend/src/components/ForBuilders/UseCasesSection/DAOSection/KeyChallenges/SafeSnap.tsx (2 hunks)
  • frontend/src/components/ForBuilders/UseCasesSection/index.tsx (1 hunks)
  • frontend/src/components/IntegrateSection/index.tsx (2 hunks)
  • frontend/src/components/LearnMore.tsx (1 hunks)
  • frontend/src/components/Navbar/AppsDropdownContent/Card.tsx (3 hunks)
  • frontend/src/components/Navbar/AppsDropdownContent/index.tsx (2 hunks)
  • frontend/src/components/Navbar/MobileMenu.tsx (1 hunks)
  • frontend/src/components/Navbar/ResourcesDropdownContent/index.tsx (2 hunks)
  • frontend/src/components/Navbar/index.tsx (2 hunks)
  • frontend/src/components/PNKToken/BuySection/FeaturedExchange.tsx (1 hunks)
  • frontend/src/components/PNKToken/BuySection/index.tsx (1 hunks)
  • frontend/src/components/PNKToken/Explorers.tsx (1 hunks)
  • frontend/src/components/PNKToken/Hero.tsx (2 hunks)
  • frontend/src/components/PNKToken/TokenNeedSection/index.tsx (1 hunks)
  • frontend/src/components/PNKToken/TokenomicsSection/Stat.tsx (1 hunks)
  • frontend/src/components/PNKToken/TokenomicsSection/TokenStatDisplay.tsx (1 hunks)
  • frontend/src/components/PNKToken/TokenomicsSection/index.tsx (1 hunks)
  • frontend/src/components/Pagination.tsx (1 hunks)
  • frontend/src/components/ResearchDevelopment/Hero.tsx (3 hunks)
  • frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/Fellows/FellowCard.tsx (2 hunks)
  • frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/WaitlistSection.tsx (1 hunks)
  • frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/index.tsx (1 hunks)
  • frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/KlerosBook.tsx (1 hunks)
  • frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/PublicationsSection/PublicationCard.tsx (1 hunks)
  • frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/PublicationsSection/index.tsx (1 hunks)
  • frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/ResearchSection/ResearchCard.tsx (1 hunks)
  • frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/ResearchSection/index.tsx (1 hunks)
  • frontend/src/components/Tab.tsx (1 hunks)
  • frontend/src/components/Tag.tsx (1 hunks)
  • frontend/src/styles/globals.css (1 hunks)
  • frontend/tailwind.config.ts (0 hunks)
💤 Files with no reviewable changes (1)
  • frontend/tailwind.config.ts
✅ Files skipped from review due to trivial changes (74)
  • frontend/src/app/home/components/TokenStats.tsx
  • frontend/src/app/home/components/UseCases.tsx
  • frontend/src/components/Divider.tsx
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/index.tsx
  • frontend/src/components/BrandAssets/PnkTokenSection.tsx
  • frontend/src/components/PNKToken/Explorers.tsx
  • frontend/src/components/DownloadButton.tsx
  • frontend/src/components/BrandAssets/LogosPackageSection.tsx
  • frontend/src/components/ForBuilders/UseCasesSection/index.tsx
  • frontend/src/components/Pagination.tsx
  • frontend/src/components/Dropdown/DropdownItemButton.tsx
  • frontend/src/components/ExternalLink.tsx
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/DisputeResolutionProcess.tsx
  • frontend/src/components/PNKToken/BuySection/FeaturedExchange.tsx
  • frontend/src/components/Dropdown/index.tsx
  • frontend/src/components/BrandAssets/KlerosColorsSection/index.tsx
  • frontend/src/components/PNKToken/TokenomicsSection/TokenStatDisplay.tsx
  • frontend/src/components/Navbar/MobileMenu.tsx
  • frontend/src/app/for-lawyers/components/Hero.tsx
  • frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/ResearchSection.tsx
  • frontend/src/components/Cooperative/ReportSection/DropdownContainer.tsx
  • frontend/src/components/Community/hero.tsx
  • frontend/src/components/Earn/TabSection/CuratorTabContent/KlerosScoutSection.tsx
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/LemonCashSection.tsx
  • frontend/src/components/Community/CommunitiesSection.tsx
  • frontend/src/components/Footer.tsx
  • frontend/src/app/home/components/HowKlerosWorks.tsx
  • frontend/src/components/Community/CommunityCard.tsx
  • frontend/src/components/IntegrateSection/index.tsx
  • frontend/src/app/home/components/LearnPosts.tsx
  • frontend/src/components/BrandAssets/KlerosFontsSection.tsx
  • frontend/src/components/Earn/Hero.tsx
  • frontend/src/components/PNKToken/TokenomicsSection/index.tsx
  • frontend/src/components/Earn/TabSection/JurorTabContent/EnterCourtSection.tsx
  • frontend/src/app/for-lawyers/components/KlerosParticipateSection/index.tsx
  • frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/PublicationsSection/index.tsx
  • frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/WaitlistSection.tsx
  • frontend/src/components/ResearchDevelopment/Hero.tsx
  • frontend/src/components/Navbar/AppsDropdownContent/index.tsx
  • frontend/src/components/BrandAssets/KlerosLogoSection.tsx
  • frontend/src/components/Tag.tsx
  • frontend/src/components/LearnMore.tsx
  • frontend/src/components/Navbar/AppsDropdownContent/Card.tsx
  • frontend/src/components/Tab.tsx
  • frontend/src/components/ForBuilders/UseCasesSection/DAOSection/Header.tsx
  • frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/ResearchSection/ResearchCard.tsx
  • frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/PublicationsSection/PublicationCard.tsx
  • frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/KlerosEscrowSection.tsx
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/HighlightedText.tsx
  • frontend/src/components/PNKToken/TokenomicsSection/Stat.tsx
  • frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/KlerosBook.tsx
  • frontend/src/components/Cooperative/ReportSection/ReportCard.tsx
  • frontend/src/components/PNKToken/BuySection/index.tsx
  • frontend/src/components/BrandAssets/KlerosBadgesSection.tsx
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/MethodsTable/DesktopTable.tsx
  • frontend/src/components/ForBuilders/UseCasesSection/DAOSection/KeyChallenges/Header.tsx
  • frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/ArbitrationMethodTable/TabelCardContent.tsx
  • frontend/src/components/PNKToken/TokenNeedSection/index.tsx
  • frontend/src/app/for-lawyers/components/KlerosEnterpriseSection/MethodsTable/MobileTable.tsx
  • frontend/src/app/for-lawyers/components/Card.tsx
  • frontend/src/components/Cooperative/MemberSection/index.tsx
  • frontend/src/components/CtaBox.tsx
  • frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/index.tsx
  • frontend/src/components/Earn/TabSection/JurorTabContent/index.tsx
  • frontend/src/components/ForBuilders/UseCasesSection/DAOSection/KeyChallenges/SafeSnap.tsx
  • frontend/src/app/for-lawyers/components/KlerosMediationSection/index.tsx
  • frontend/src/components/CtaCard.tsx
  • frontend/src/components/BrandAssets/StyledImagesSection.tsx
  • frontend/src/app/for-lawyers/components/Flowchart.tsx
  • frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/ArbitrationMethodTable/index.tsx
  • frontend/src/components/ResearchDevelopment/TabSection/FellowshipTabContent/Fellows/FellowCard.tsx
  • frontend/src/components/Navbar/index.tsx
  • frontend/src/components/Navbar/ResourcesDropdownContent/index.tsx
  • frontend/src/app/home/components/TrustedBy.tsx
🧰 Additional context used
🪛 Biome (1.9.4)
frontend/src/styles/globals.css

[error] 4-4: expected , but instead found *

Remove *

(parse)


[error] 4-4: expected , but instead found ;

Remove ;

(parse)


[error] 5-5: expected , but instead found --text-sm

Remove --text-sm

(parse)


[error] 5-5: Unexpected value or character.

Expected one of:

(parse)


[error] 5-5: expected , but instead found rem

Remove rem

(parse)


[error] 5-5: expected , but instead found ;

Remove ;

(parse)


[error] 6-6: expected , but instead found --text-sm--line-height

Remove --text-sm--line-height

(parse)


[error] 6-6: Unexpected value or character.

Expected one of:

(parse)


[error] 6-6: expected , but instead found rem

Remove rem

(parse)


[error] 6-6: expected , but instead found ;

Remove ;

(parse)


[error] 7-7: expected , but instead found --text-base

Remove --text-base

(parse)


[error] 7-7: Unexpected value or character.

Expected one of:

(parse)


[error] 7-7: expected , but instead found rem

Remove rem

(parse)


[error] 7-7: expected , but instead found ;

Remove ;

(parse)


[error] 8-8: expected , but instead found --text-base--line-height

Remove --text-base--line-height

(parse)


[error] 8-8: Unexpected value or character.

Expected one of:

(parse)


[error] 8-8: expected , but instead found rem

Remove rem

(parse)


[error] 8-8: expected , but instead found ;

Remove ;

(parse)


[error] 9-9: expected , but instead found --text-lg

Remove --text-lg

(parse)


[error] 9-9: Unexpected value or character.

Expected one of:

(parse)


[error] 9-9: expected , but instead found rem

Remove rem

(parse)


[error] 9-9: expected , but instead found ;

Remove ;

(parse)


[error] 10-10: expected , but instead found --text-lg--line-height

Remove --text-lg--line-height

(parse)


[error] 10-10: Unexpected value or character.

Expected one of:

(parse)


[error] 10-10: expected , but instead found rem

Remove rem

(parse)


[error] 10-10: expected , but instead found ;

Remove ;

(parse)


[error] 11-11: expected , but instead found --text-xl

Remove --text-xl

(parse)


[error] 11-11: Unexpected value or character.

Expected one of:

(parse)


[error] 11-11: expected , but instead found rem

Remove rem

(parse)


[error] 11-11: expected , but instead found ;

Remove ;

(parse)


[error] 12-12: expected , but instead found --text-xl--line-height

Remove --text-xl--line-height

(parse)


[error] 12-12: Unexpected value or character.

Expected one of:

(parse)


[error] 12-12: expected , but instead found rem

Remove rem

(parse)


[error] 12-12: expected , but instead found ;

Remove ;

(parse)


[error] 13-13: expected , but instead found --text-2xl

Remove --text-2xl

(parse)


[error] 13-13: Unexpected value or character.

Expected one of:

(parse)


[error] 13-13: expected , but instead found rem

Remove rem

(parse)


[error] 13-13: expected , but instead found ;

Remove ;

(parse)


[error] 14-14: expected , but instead found --text-2xl--line-height

Remove --text-2xl--line-height

(parse)


[error] 14-14: Unexpected value or character.

Expected one of:

(parse)


[error] 14-14: expected , but instead found rem

Remove rem

(parse)


[error] 14-14: expected , but instead found ;

Remove ;

(parse)


[error] 15-15: expected , but instead found --text-3xl

Remove --text-3xl

(parse)


[error] 15-15: Unexpected value or character.

Expected one of:

(parse)


[error] 15-15: expected , but instead found rem

Remove rem

(parse)


[error] 15-15: expected , but instead found ;

Remove ;

(parse)


[error] 16-16: expected , but instead found --text-3xl--line-height

Remove --text-3xl--line-height

(parse)


[error] 16-16: Unexpected value or character.

Expected one of:

(parse)


[error] 16-16: expected , but instead found rem

Remove rem

(parse)


[error] 16-16: expected , but instead found ;

Remove ;

(parse)


[error] 17-17: expected , but instead found --text-4xl

Remove --text-4xl

(parse)


[error] 17-17: Unexpected value or character.

Expected one of:

(parse)


[error] 17-17: expected , but instead found rem

Remove rem

(parse)


[error] 17-17: expected , but instead found ;

Remove ;

(parse)


[error] 18-18: expected , but instead found --text-4xl--line-height

Remove --text-4xl--line-height

(parse)


[error] 18-18: Unexpected value or character.

Expected one of:

(parse)


[error] 18-18: expected , but instead found rem

Remove rem

(parse)


[error] 18-18: expected , but instead found ;

Remove ;

(parse)


[error] 20-20: expected , but instead found --color-background

Remove --color-background

(parse)


[error] 20-20: expected , but instead found (

Remove (

(parse)


[error] 20-20: expected , but instead found --background

Remove --background

(parse)


[error] 20-20: expected , but instead found )

Remove )

(parse)


[error] 21-21: expected , but instead found --color-foreground

Remove --color-foreground

(parse)


[error] 21-21: expected , but instead found (

Remove (

(parse)


[error] 21-21: expected , but instead found --foreground

Remove --foreground

(parse)


[error] 21-21: expected , but instead found )

Remove )

(parse)


[error] 22-22: expected , but instead found --color-primary-text

Remove --color-primary-text

(parse)


[error] 22-22: Unexpected value or character.

Expected one of:

(parse)


[error] 22-22: expected , but instead found ;

Remove ;

(parse)


[error] 23-23: expected , but instead found --color-secondary-text

Remove --color-secondary-text

(parse)


[error] 23-23: Unexpected value or character.

Expected one of:

(parse)


[error] 23-23: expected , but instead found ;

Remove ;

(parse)


[error] 24-24: expected , but instead found --color-stroke

Remove --color-stroke

(parse)


[error] 24-24: Unexpected value or character.

Expected one of:

(parse)


[error] 24-24: Expected an identifier but instead found '42498'.

Expected an identifier here.

(parse)


[error] 24-24: expected , but instead found f

Remove f

(parse)


[error] 24-24: expected , but instead found ;

Remove ;

(parse)


[error] 25-25: expected , but instead found --color-primary-purple

Remove --color-primary-purple

(parse)


[error] 25-25: Unexpected value or character.

Expected one of:

(parse)


[error] 25-25: Expected an identifier but instead found '9747'.

Expected an identifier here.

(parse)


[error] 25-25: expected , but instead found ff

Remove ff

(parse)


[error] 25-25: expected , but instead found ;

Remove ;

(parse)


[error] 26-26: expected , but instead found --color-secondary-purple

Remove --color-secondary-purple

(parse)


[error] 26-26: Unexpected value or character.

Expected one of:

(parse)


[error] 26-26: expected , but instead found ;

Remove ;

(parse)


[error] 27-27: expected , but instead found --color-dark-purple

Remove --color-dark-purple

(parse)


[error] 27-27: Unexpected value or character.

Expected one of:

(parse)


[error] 27-27: Expected an identifier but instead found '230079'.

Expected an identifier here.

(parse)


[error] 28-28: expected , but instead found --color-primary-blue

Remove --color-primary-blue

(parse)


[error] 28-28: Unexpected value or character.

Expected one of:

(parse)


[error] 28-28: Expected an identifier but instead found '27'.

Expected an identifier here.

(parse)


[error] 28-28: expected , but instead found cdfe

Remove cdfe

(parse)


[error] 28-28: expected , but instead found ;

Remove ;

(parse)


[error] 29-29: expected , but instead found --color-secondary-blue

Remove --color-secondary-blue

(parse)


[error] 29-29: Unexpected value or character.

Expected one of:

(parse)


[error] 29-29: Expected an identifier but instead found '7'.

Expected an identifier here.

(parse)


[error] 29-29: expected , but instead found ce2ff

Remove ce2ff

(parse)


[error] 29-29: expected , but instead found ;

Remove ;

(parse)


[error] 30-30: expected , but instead found --color-background-1

Remove --color-background-1

(parse)


[error] 30-30: Unexpected value or character.

Expected one of:

(parse)


[error] 30-30: Expected an identifier but instead found '1'.

Expected an identifier here.

(parse)


[error] 30-30: expected , but instead found b003f

Remove b003f

(parse)


[error] 30-30: expected , but instead found ;

Remove ;

(parse)


[error] 31-31: expected , but instead found --color-background-2

Remove --color-background-2

(parse)


[error] 31-31: Unexpected value or character.

Expected one of:

(parse)


[error] 31-31: Expected an identifier but instead found '220050'.

Expected an identifier here.

(parse)


[error] 32-32: expected , but instead found --color-background-dark

Remove --color-background-dark

(parse)


[error] 32-32: Unexpected value or character.

Expected one of:

(parse)


[error] 32-32: Expected an identifier but instead found '13002'.

Expected an identifier here.

(parse)


[error] 32-32: expected , but instead found d

Remove d

(parse)


[error] 32-32: expected , but instead found ;

Remove ;

(parse)


[error] 33-33: expected , but instead found --color-background-translucent

Remove --color-background-translucent

(parse)


[error] 33-33: expected , but instead found (

Remove (

(parse)


[error] 33-33: Expected a relative selector but instead found '0'.

Expected a relative selector here.

(parse)


[error] 33-33: Expected a relative selector but instead found '80'.

Expected a relative selector here.

(parse)


[error] 33-33: Expected a relative selector but instead found '0.24);'.

Expected a relative selector here.

(parse)


[error] 34-34: expected , but instead found --color-success

Remove --color-success

(parse)


[error] 34-34: Unexpected value or character.

Expected one of:

(parse)


[error] 34-34: Expected an identifier but instead found '00'.

Expected an identifier here.

(parse)


[error] 34-34: expected , but instead found f068

Remove f068

(parse)


[error] 34-34: expected , but instead found ;

Remove ;

(parse)


[error] 36-36: expected , but instead found --animate-h-scroll

Remove --animate-h-scroll

(parse)


[error] 36-36: Expected a compound selector but instead found '10'.

Expected a compound selector here.

(parse)


[error] 36-36: expected , but instead found s

Remove s

(parse)


[error] 36-36: expected , but instead found ;

Remove ;

(parse)


[error] 38-38: expected , but instead found keyframes

Remove keyframes

(parse)


[error] 39-39: Expected a declaration, or an at rule but instead found '0% {'.

Expected a declaration, or an at rule here.

(parse)


[error] 42-42: Expected a declaration, or an at rule but instead found '100% {'.

Expected a declaration, or an at rule here.

(parse)


[error] 45-46: Expected a qualified rule, or an at rule but instead found '}
}'.

Expected a qualified rule, or an at rule here.

(parse)

⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: Redirect rules - kleros-website-v2
  • GitHub Check: Header rules - kleros-website-v2
  • GitHub Check: Pages changed - kleros-website-v2
🔇 Additional comments (27)
frontend/src/components/ForBuilders/UseCasesSection/DAOSection/KeyChallenges/HowKlerosSolvesIt.tsx (1)

14-14: LGTM! Class name reordering aligns with PR objectives.

The reordering of Tailwind class names is consistent with the broader effort to standardize class name ordering across components.

frontend/src/app/for-lawyers/components/KlerosDisputeResolutionSection/index.tsx (3)

39-39: LGTM!

The reordering of Tailwind classes aligns with the PR objectives.


42-42: LGTM!

The reordering of Tailwind classes aligns with the PR objectives.


52-52: LGTM!

The reordering of Tailwind classes aligns with the PR objectives.

frontend/src/components/Earn/TabSection/CuratorTabContent/index.tsx (3)

16-16: LGTM! Class names are well organized.

The class names are logically grouped by their purpose (spacing and responsive padding).


17-17: LGTM! Typography classes are well organized.

The class names are logically grouped by their purpose (text color, size, and weight).


31-31: LGTM! Typography and spacing classes are well organized.

The class names are logically grouped by their purpose (text color, padding, and responsive text size).

frontend/src/components/ResearchDevelopment/TabSection/ResearchTabContent/ResearchSection/index.tsx (3)

27-27: LGTM! Class names follow a logical ordering pattern.

The reordering of Tailwind classes follows a clear pattern: layout → spacing → padding → responsive variants.


28-28: LGTM! Class names follow a logical ordering pattern.

The reordering of Tailwind classes follows a clear pattern: text color → text size → font weight → responsive variants.


31-31: LGTM! Class names follow a logical ordering pattern.

The reordering of Tailwind classes follows a clear pattern: text color → text size → responsive variants.

frontend/postcss.config.mjs (1)

4-4: Verify the Tailwind v4 plugin configuration.

Let's confirm if @tailwindcss/postcss is the correct plugin for Tailwind v4.

✅ Verification successful

🌐 Web query:

What is the correct PostCSS plugin for Tailwind CSS v4?

💡 Result:

The correct PostCSS plugin for Tailwind CSS v4 is @tailwindcss/postcss, which replaces the previous tailwindcss PostCSS plugin used in earlier versions[7]. Here's how to implement it:

Key Steps for Setup

  1. Install required packages:

    npm install tailwindcss @tailwindcss/postcss postcss -D
  2. Configure PostCSS (in postcss.config.js):

    export default {
      plugins: {
        '@tailwindcss/postcss': {},
      }
    };
  3. Import Tailwind in your main CSS file:

    @import 'tailwindcss';

Important Changes in v4

  • Removes need for postcss-import and autoprefixer[7]
  • Handles CSS processing through Lightning CSS (vendor prefixing, nesting)[5][9]
  • Requires explicit installation of separate @tailwindcss/postcss package instead of built-in PostCSS support[7][9]

For projects migrating from v3, remove old references to tailwindcss in PostCSS config and replace them with @tailwindcss/postcss[7]. The new plugin works with modern build tools like Vite and Rsbuild while maintaining compatibility with existing workflows[1][5][9].

Citations:


Tailwind v4 Plugin Configuration Verified

The configuration using @tailwindcss/postcss is correct for Tailwind CSS v4 as per the upgrade guide. The usage in frontend/postcss.config.mjs properly replaces the older tailwindcss plugin.

frontend/src/app/layout.tsx (1)

26-26: LGTM! Good use of CSS variables for theming.

The changes look good:

  • Class reordering is cosmetic and maintains functionality
  • Using CSS variables (--breakpoint-2xl) for max-width aligns with theme-based approach

Also applies to: 29-29

frontend/src/components/BrandAssets/Hero.tsx (1)

16-16: LGTM! Cosmetic class reordering.

The changes maintain functionality while standardizing class ordering across components.

Also applies to: 35-35

frontend/src/components/PNKToken/Hero.tsx (1)

19-19: LGTM! Consistent class reordering.

The changes maintain functionality while following the same class ordering pattern as other Hero components.

Also applies to: 39-39

frontend/src/components/Cooperative/hero.tsx (1)

18-18: LGTM! Class name reordering aligns with Tailwind upgrade.

The reordering of Tailwind classes maintains the same visual styling while improving code organization.

Also applies to: 37-37, 46-46

frontend/src/components/ForBuilders/Hero.tsx (1)

17-17: LGTM! Consistent class name reordering.

The changes maintain the same pattern of class name reordering seen across other components.

Also applies to: 50-50

frontend/src/app/for-lawyers/components/KlerosFellowSection/index.tsx (1)

36-36: LGTM! Class name reordering follows established pattern.

The reordering of text-related classes aligns with the standardization effort.

frontend/src/app/home/components/Hero.tsx (1)

27-27: LGTM! Class name reordering maintains consistency.

The changes follow the same standardized pattern of class name reordering seen across other components.

Also applies to: 48-48, 57-57

frontend/package.json (3)

26-26: New Tailwind PostCSS Plugin Dependency Added
The addition of "@tailwindcss/postcss": "4.0.0" in the devDependencies is appropriate and aligns with the updated PostCSS configuration.


38-38: Updated Prettier Plugin for Tailwind CSS
The upgrade of "prettier-plugin-tailwindcss" from ^0.6.9 to ^0.6.11 is straightforward. Please ensure that formatted output remains consistent across the project.


39-39: Tailwind CSS Version Update – Exact Version Enforced
The Tailwind CSS dependency has been updated to "4.0.0", and the removal of the caret (^) enforces an exact version. Confirm that locking to version 4.0.0 is intentional for compatibility reasons.

frontend/src/styles/globals.css (6)

1-1: Tailwind Import Update
Using @import 'tailwindcss'; at the top of the file reflects the new integration approach for Tailwind CSS v4. Ensure that your build pipeline is set up to process this correctly.


48-55: Clear Documentation of Compatibility Styles
The updated comment block (lines 48–55) clearly explains the reason for including compatibility styles due to the Tailwind CSS v4 changes. This documentation is helpful for future reference and potential refactoring.


56-69: @layer base Customizations for Compatibility
The added @layer base block sets compatibility styles (e.g., border-color and cursor for interactive elements) to account for changes in Tailwind CSS v4 defaults. The implementation is straightforward; just ensure these styles still match the desired design outcomes.


71-73: Custom Utility: Text Balance
The @utility text-balance block introduces a utility to enable balanced text wrapping (text-wrap: balance;). As this CSS property has varying levels of browser support, please verify that its behavior meets your design requirements across target browsers.


75-81: Custom Utility: Hover Pause Child Animation
The @utility hover-pause-child-animation block is a creative addition to pause animations on child elements when their parent is hovered. This approach should improve user experience in animated contexts, provided it integrates well with your other animation utilities.


84-134: Enhanced @layer utilities Block for Global Styles and Scrollbar Customizations
Within the @layer utilities block, global defaults for background, foreground, scrollbar, and body styles are defined:

  • The CSS custom properties for --background and --foreground (lines 84–87) create a clear foundation for theming.
  • The scrollbar styles (lines 100–124) are detailed and maintain consistency with the design language.
    This block is well-organized; however, if the new theming variables are not being flagged by your static analysis tools in the future, consider adding a parser configuration note to suppress false positives related to custom syntax.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant