Skip to content

pretty much the same just some optimization#2

Merged
Getbricked merged 2 commits into
masterfrom
dev
Jun 5, 2026
Merged

pretty much the same just some optimization#2
Getbricked merged 2 commits into
masterfrom
dev

Conversation

@Getbricked

Copy link
Copy Markdown
Owner

No description provided.

@Getbricked Getbricked merged commit 1d82e69 into master Jun 5, 2026
1 check passed
@Getbricked Getbricked requested a review from Copilot June 5, 2026 11:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR refactors repeated theme styling primitives (border, radius, standard margins) into a shared panel() SCSS mixin and applies it across multiple theme modules, alongside a couple small CSS optimizations/refactors.

Changes:

  • Added @mixin panel(...) in the backend and re-exported it via src/backend/_index.scss.
  • Replaced repeated border / border-radius / margin-* declarations in many theme partials with @include panel(...).
  • Switched hover-slide animations from margin-left to transform: translateX(...) and refactored a few long selectors for readability.

Reviewed changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/backend/_mixins.scss Introduces panel() mixin to centralize common panel styling (border/radius/margins).
src/backend/_index.scss Re-exports the new mixin module via @forward 'mixins'.
src/theme/_voicecall.scss Uses panel() to reduce duplicated panel styling in voice call UI.
src/theme/_settings.scss Uses panel() for settings content/sidebar panel styling.
src/theme/_serverboost.scss Uses panel() for server boost container styling.
src/theme/_server.scss Replaces repeated border/radius/margin patterns with panel() across server views.
src/theme/_search.scss Uses panel() for search results wrapper panel styling.
src/theme/_quest.scss Uses panel() for quest claimed container styling.
src/theme/_profilev2.scss Uses panel() for profile v2 panel borders/radius.
src/theme/_home.scss Uses panel() for DM/friends/shop panels and margins.
src/theme/_global.scss Uses panel() for several global popout/panel border/radius rules.
src/theme/_forum.scss Uses panel() for forum container/header panels.
src/theme/_embed.scss Uses panel() for embed-related panel borders/radius.
src/theme/_chat.scss Uses panel() for chat UI panels (jump bar, search results, thread panels, etc.).
src/theme/_activities.scss Uses panel() for activities panel/container/button radius/border/margins.
src/special/_on-hover.scss Switches hover animations to transform transitions for improved animation performance.
src/discord+.scss Refactors complex :has(...) selector lists into multiple equivalent selectors.
src/aki-edition/_dm.scss Narrows DM transition scope from all to color.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/special/_on-hover.scss
Comment thread src/backend/_mixins.scss
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.

2 participants