Skip to content
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

DGGTweaker Features - Link Hitbox Scaling, RustleSearch button and Lucide Icons #553

Merged
merged 14 commits into from
Nov 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/chat/css/chat/_toolbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ $toolbar-icons-map: (
display: flex;
position: relative;
user-select: none;
margin: 0 -0.25em;
}

.chat-tools-group {
Expand Down
6 changes: 4 additions & 2 deletions assets/chat/css/menus/_emote-tooltip.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,14 @@
transition: background-color 500ms;
height: 20px;
aspect-ratio: 1;
mask: url('../img/icon-favorite.svg');
mask-size: 20px;
mask-image: url('../img/icon-favorite.svg');
background-color: a.$text-color2;
}

&.favorited .btn-icon {
mask: url('../img/icon-favorite-fill.svg');
mask-size: 20px;
mask-image: url('../img/icon-favorite-fill.svg');
}

&:hover .btn-icon {
Expand Down
4 changes: 4 additions & 0 deletions assets/chat/css/menus/_user-info.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ $toolbar-icons-map: (
'whisper': 'whispers',
'ignore': 'ignore',
'unignore': 'unignore',
'rustle': 'rustle',
);

#chat-user-info {
Expand Down Expand Up @@ -57,6 +58,9 @@ $toolbar-icons-map: (
}
}

width: 2.75em;
height: 2.75em;

@each $id, $icon in $toolbar-icons-map {
&##{$id}-user-btn .btn-icon {
@include a.icon-background('../img/icon-#{$icon}.svg');
Expand Down
6 changes: 3 additions & 3 deletions assets/chat/css/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ hr {

.tippy-box[data-theme~='dgg'] {
text-align: center;
background-color: white;
color: #000;
background-color: a.$color-surface-dark4;
color: a.$color-chat-text1;
}

.tippy-box[data-theme~='dgg'] > .tippy-svg-arrow {
fill: white;
fill: a.$color-surface-dark4;
}

/* Small screen, non-retina */
Expand Down
2 changes: 1 addition & 1 deletion assets/chat/img/icon-ban.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions assets/chat/img/icon-close.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions assets/chat/img/icon-emotes.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions assets/chat/img/icon-favorite-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions assets/chat/img/icon-favorite.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/chat/img/icon-ignore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions assets/chat/img/icon-lock.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/chat/img/icon-logs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/chat/img/icon-mute.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 0 additions & 4 deletions assets/chat/img/icon-open-in-new.svg

This file was deleted.

5 changes: 1 addition & 4 deletions assets/chat/img/icon-pin.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions assets/chat/img/icon-rustle.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions assets/chat/img/icon-settings.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions assets/chat/img/icon-share.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion assets/chat/img/icon-unignore.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading