Skip to content

Commit

Permalink
Merge pull request #553 from AlexDavies8/master
Browse files Browse the repository at this point in the history
DGGTweaker Features - Link Hitbox Scaling, RustleSearch button and Lucide Icons
  • Loading branch information
11k authored Nov 16, 2024
2 parents c86d965 + a7c948d commit 1e16139
Show file tree
Hide file tree
Showing 29 changed files with 121 additions and 65 deletions.
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

0 comments on commit 1e16139

Please sign in to comment.