Skip to content
This repository has been archived by the owner on Jul 22, 2023. It is now read-only.

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
bug fixes
  • Loading branch information
CorellanStoma committed Jan 9, 2022
1 parent b651ae2 commit cb683ea
Show file tree
Hide file tree
Showing 23 changed files with 94 additions and 86 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# v1.0.1

* structure changes
* bug fixes
3 changes: 0 additions & 3 deletions clients/betterdiscord.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
/* ║ Context Icons adds icons to the discord context menu's. ║ */
/* ║ This theme was created by CorellanStoma#1996. ║ */
/* ║ ║ */
/* ║ If you need support join our Creative Community: ║ */
/* ║ ● https://discord.gg/8W8E39Z ║ */
/* ║ ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

/* 🧪 Experimental
Expand Down
3 changes: 0 additions & 3 deletions clients/powercord.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
/* ║ Context Icons adds icons to the discord context menu's. ║ */
/* ║ This theme was created by CorellanStoma#1996. ║ */
/* ║ ║ */
/* ║ If you need support join our Creative Community: ║ */
/* ║ ● https://discord.gg/8W8E39Z ║ */
/* ║ ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

/* 🧪 Experimental
Expand Down
3 changes: 0 additions & 3 deletions clients/vizality.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
/* ║ Context Icons adds icons to the discord context menu's. ║ */
/* ║ This theme was created by CorellanStoma#1996. ║ */
/* ║ ║ */
/* ║ If you need support join our Creative Community: ║ */
/* ║ ● https://discord.gg/8W8E39Z ║ */
/* ║ ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

/* 🧪 Experimental
Expand Down
3 changes: 0 additions & 3 deletions clients/web.css
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
/* ║ Context Icons adds icons to the discord context menu's. ║ */
/* ║ This theme was created by CorellanStoma#1996. ║ */
/* ║ ║ */
/* ║ If you need support join our Creative Community: ║ */
/* ║ ● https://discord.gg/8W8E39Z ║ */
/* ║ ║ */
/* ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝ */

/* 🧪 Experimental
Expand Down
2 changes: 1 addition & 1 deletion context-icons.theme.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* @name CreArts | Context Icons
* @version 1.0.0
* @version 1.0.1
* @author CorellanStoma#1996
* @authorLink https://crearts-community.github.io
* @description Context Icons adds icons to the discord context menu's.
Expand Down
1 change: 0 additions & 1 deletion dev.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
// ╠══════════════════════════╩═════════════════════════════════════════════════════════════════════════════════════════╣
// ║ ║
// ║ Context Icons adds icons to the discord context menu's. ║
// ║ ║
// ║ This Project was created by CorellanStoma#1996. ║
// ║ ║
// ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CreArts | Context-Icons",
"version": "1.0.0",
"version": "1.0.1",
"author": "CorellanStoma#1996",
"description": "Context Icons adds icons to the discord context menu's.",
"license": "MIT",
Expand Down
8 changes: 4 additions & 4 deletions modules/plugins/betterdiscord.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
// Context Icon (Normal)
@mixin icon-normal($item-id, $url, $status:"") {
@if $status != "" {
.item-1tOPte##{$item-id}[aria-checked="#{$status}"]::before {
.item-1OdjEX##{$item-id}[aria-checked="#{$status}"]::before {
--icon: #{$url};
}
}
@else {
.item-1tOPte##{$item-id}::before {
.item-1OdjEX##{$item-id}::before {
--icon: #{$url};
}
}
Expand All @@ -19,12 +19,12 @@
// Context Icon (Extra)
@mixin icon-extra($item-id, $url, $status:"") {
@if $status != "" {
.item-1tOPte[id^=#{$item-id}][aria-checked="#{$status}"]::before {
.item-1OdjEX[id^=#{$item-id}][aria-checked="#{$status}"]::before {
--icon: #{$url};
}
}
@else {
.item-1tOPte[id^=#{$item-id}]::before {
.item-1OdjEX[id^=#{$item-id}]::before {
--icon: #{$url};
}
}
Expand Down
2 changes: 1 addition & 1 deletion modules/plugins/powercord.css

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions modules/plugins/powercord.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
// Context Icon (Normal)
@mixin icon-normal($item-id, $url, $status:"") {
@if $status != "" {
.item-1tOPte##{$item-id}[aria-checked="#{$status}"]::before {
.item-1OdjEX##{$item-id}[aria-checked="#{$status}"]::before {
--icon: #{$url};
}
}
@else {
.item-1tOPte##{$item-id}::before {
.item-1OdjEX##{$item-id}::before {
--icon: #{$url};
}
}
Expand All @@ -19,12 +19,12 @@
// Context Icon (Extra)
@mixin icon-extra($item-id, $url, $status:"") {
@if $status != "" {
.item-1tOPte[id^=#{$item-id}][aria-checked="#{$status}"]::before {
.item-1OdjEX[id^=#{$item-id}][aria-checked="#{$status}"]::before {
--icon: #{$url};
}
}
@else {
.item-1tOPte[id^=#{$item-id}]::before {
.item-1OdjEX[id^=#{$item-id}]::before {
--icon: #{$url};
}
}
Expand All @@ -33,20 +33,20 @@
// Context Icon (Addition)
@mixin icon-addition($item-id, $url, $status:"") {
@if $status != "" {
.item-1tOPte[id*=#{$item-id}][aria-checked="#{$status}"]::before {
.item-1OdjEX[id*=#{$item-id}][aria-checked="#{$status}"]::before {
--icon: #{$url};
}
}
@else {
.item-1tOPte[id*=#{$item-id}]::before {
.item-1OdjEX[id*=#{$item-id}]::before {
--icon: #{$url};
}
}
}

// Slider
@mixin icon-slider($item-id, $url) {
##{$item-id} .sliderContainer-2Nrll8::before {
##{$item-id} .sliderContainer-2nidiS::before {
--icon: #{$url};
width: 20px;
}
Expand Down
2 changes: 1 addition & 1 deletion powercord_manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "CreArts | Context-Icons",
"version": "1.0.0",
"version": "1.0.1",
"author": "CorellanStoma#1996",
"description": "Context Icons adds icons to the discord context menu's.",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/base/_actions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// ╚══════════════════════════╩═════════════════════════════════════════════════════════════════════════════════════════╝

// Background
.buttonContainer-DHceWr .wrapper-2aW0bm {
.buttonContainer-1502pf .wrapper-2vIMkT {
border-radius: var(--context-menu-radius);
background: var(--background-floating);
}
36 changes: 18 additions & 18 deletions src/base/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,33 @@
// ╚══════════════════════════╩═════════════════════════════════════════════════════════════════════════════════════════╝

// Menu Border Radius
.menu-3sdvDG{
.menu-1QACrS{
border-radius: var(--context-menu-radius);
}

// Menu Spacing
.item-1tOPte {
.item-1OdjEX {
margin-bottom: var(--context-menu-spacing);
margin-top: var(--context-menu-spacing);
}

// Menu Witdh
.layer-v9HyYc > .styleFlexible-wGDiIL {
.layer-2aCOJ3 > .styleFlexible-x0_sIC {
width: var(--context-menu-width);
}

// Sub Menu Witdh
.layer-v9HyYc > .submenuPaddingContainer-fiOCHc {
.layer-2aCOJ3 > .submenuPaddingContainer-_k62dJ {
min-width: var(--context-menu-width);
}

// Settings Menu Height
.scroller-3BxosC {
.scroller-1bVxF5 {
max-height: var(--context-settings-height);
}

// Icon
.item-1tOPte::before {
.item-1OdjEX::before {
content: "";
background: var(--context-icon-normal);
margin-right: var(--context-icon-spacing);
Expand All @@ -41,23 +41,23 @@
}

// Disabled
.disabled-1WRMNA {
.disabled-oOAXat {
opacity: var(--context-disabled-opacity);
}

// Seperator
.separator-2I32lJ {
.separator-1So4YB {
border-color: var(--context-separator);
margin: var(--separator-spacing-height) var(--separator-spacing-width) var(--separator-spacing-height) var(--separator-spacing-width);
}

// Menu Fix
.item-1tOPte[id^=now-playing-menu-]:not(#now-playing-menu-message, #now-playing-menu-play-undefined,
.item-1OdjEX[id^=now-playing-menu-]:not(#now-playing-menu-message, #now-playing-menu-play-undefined,
[id^=now-playing-menu-spotify-play], [id^=now-playing-menu-spotify-sync])::before,
#status-picker .item-1tOPte::before,
#channel-attach .item-1tOPte::before,
.submenuPaddingContainer-fiOCHc .item-1tOPte::before,
.item-1tOPte.hideInteraction-1iHO1O::before,
#status-picker .item-1OdjEX::before,
#channel-attach .item-1OdjEX::before,
.submenuPaddingContainer-_k62dJ .item-1OdjEX::before,
.item-1OdjEX.hideInteraction-1iHO1O::before,
#channel-context-900::before,
#channel-context-3600::before,
#channel-context-28800::before,
Expand All @@ -72,13 +72,13 @@
// ╚══════════════════════════╩═════════════════════════════════════════════════════════════════════════════════════════╝

// Reverse (Add Reaction)
.submenu-2-ysNh .item-1tOPte{
.submenu-1apzyU .item-1OdjEX{
flex-direction: row-reverse;
}

// Spacing (Add Reaction)
.submenu-2-ysNh .item-1tOPte .imageContainer-2fGqYU,
.submenu-2-ysNh .item-1tOPte .iconContainer-2-XQPY {
.submenu-1apzyU .item-1OdjEX .imageContainer-1wSPgI,
.submenu-1apzyU .item-1OdjEX .iconContainer-1-SsTR {
margin-left: 0px;
margin-right: 8px;
}
Expand All @@ -87,12 +87,12 @@
// ║ Base ║ Change icon (Group) ║
// ╚══════════════════════════╩═════════════════════════════════════════════════════════════════════════════════════════╝

.item-1tOPte#gdm-context-change-icon .labelContainer-1BLJti {
.item-1OdjEX#gdm-context-change-icon .labelContainer-2vJzYL {
padding: 0;
min-height: 0;
}

.item-1tOPte#gdm-context-change-icon {
.item-1OdjEX#gdm-context-change-icon {
display: flex;
padding: 6px 8px;
min-height: 32px;
Expand Down
12 changes: 6 additions & 6 deletions src/base/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

// Danger Background (Normal)
@mixin danger-background-normal($item-id) {
.item-1tOPte##{$item-id}.colorDefault-2K3EoJ {
.item-1OdjEX##{$item-id}.colorDefault-CDqZdO {
background: var(--danger-background-normal);
border-radius: var(--danger-background-radius);
color: var(--danger-text-normal);
Expand All @@ -13,7 +13,7 @@

// Danger Background (Hover)
@mixin danger-background-hover($item-id) {
.item-1tOPte##{$item-id}.colorDefault-2K3EoJ.focused-3afm-j {
.item-1OdjEX##{$item-id}.colorDefault-CDqZdO.focused-3qFvc8 {
background: var(--danger-background-hover);
border-radius: var(--danger-background-radius);
color: var(--danger-text-focused);
Expand All @@ -22,14 +22,14 @@

// Danger Icon (Normal)
@mixin danger-icon-normal($item-id) {
.item-1tOPte##{$item-id}.colorDefault-2K3EoJ::before {
.item-1OdjEX##{$item-id}.colorDefault-CDqZdO::before {
background: var(--danger-icon-normal);
}
}

// Danger Icon (Hover)
@mixin danger-icon-hover($item-id) {
.item-1tOPte##{$item-id}.colorDefault-2K3EoJ.focused-3afm-j::before {
.item-1OdjEX##{$item-id}.colorDefault-CDqZdO.focused-3qFvc8::before {
background: var(--danger-icon-focused);
}
}
Expand All @@ -38,12 +38,12 @@
// ║ Base ║ Button ║
// ╚══════════════════════════╩═════════════════════════════════════════════════════════════════════════════════════════╝

.colorDefault-2K3EoJ.focused-3afm-j {
.colorDefault-CDqZdO.focused-3qFvc8 {
border-radius: var(--context-button-radius);
color: var(--context-icon-focused);
}

.colorDefault-2K3EoJ.focused-3afm-j.item-1tOPte::before {
.colorDefault-CDqZdO.focused-3qFvc8.item-1OdjEX::before {
background: var(--context-icon-focused);
}

Expand Down
6 changes: 3 additions & 3 deletions src/base/_deactivated.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@

// Deactivated (Normal)
@mixin deactivated-normal($item-id) {
.item-1tOPte##{$item-id} .iconContainer-2-XQPY {
.item-1OdjEX##{$item-id} .iconContainer-1-SsTR {
display: none;
}
}

// Deactivated (Extra)
@mixin deactivated-extra($item-id) {
.item-1tOPte[id^=#{$item-id}] .iconContainer-2-XQPY {
.item-1OdjEX[id^=#{$item-id}] .iconContainer-1-SsTR {
display: none;
}
}
Expand All @@ -21,7 +21,7 @@
// ╚══════════════════════════╩═════════════════════════════════════════════════════════════════════════════════════════╝

// No Submenu
.submenuPaddingContainer-fiOCHc .item-1tOPte .label-22pbtT::before {
.submenuPaddingContainer-_k62dJ .item-1OdjEX .label-2gNW3x::before {
display: none !important;
}

Expand Down
Loading

0 comments on commit cb683ea

Please sign in to comment.