Skip to content

Commit

Permalink
Update source
Browse files Browse the repository at this point in the history
  • Loading branch information
CapnKitten committed Aug 21, 2023
1 parent 6965bd3 commit a2c9c6d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 22 deletions.
18 changes: 12 additions & 6 deletions Themes/Material-Discord/src/_selectorPlaceholders.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8875,14 +8875,20 @@ pre {
.vc-plugins-filter-controls {
@extend %vencordPluginsFilterControls !optional;
}
.vc-plugins-card {
@extend %vencordPluginsCard !optional;
.vc-addon-card {
@extend %vencordAddonCard !optional;
}
.vc-plugins-card-header {
@extend %vencordPluginsCardHeader !optional;
.vc-addon-header {
@extend %vencordAddonHeader !optional;
}
.vc-plugins-name {
@extend %vencordPluginsCardName !optional;
.vc-addon-name-author {
@extend %vencordAddonNameAuthor !optional;
}
.vc-addon-name {
@extend %vencordAddonName !optional;
}
.vc-addon-note {
@extend %vencordAddonNote !optional;
}
.vc-settings-theme-links {
@extend %vencordThemeLinks !optional;
Expand Down
46 changes: 30 additions & 16 deletions Themes/Material-Discord/src/clients/vencord/_vcSettings.scss
Original file line number Diff line number Diff line change
Expand Up @@ -96,27 +96,14 @@
}
}

%vencordPluginsCard {
padding: 16px !important;
background-color: var(--card-color-filled) !important;
border-radius: var(--card-radius-big) !important;
%vencordAddonCard {
@include card-format(true, 16px, true);

&:hover {
box-shadow: none !important;
transform: none !important;
}

%vencordPluginsCardHeader {
height: auto !important;
justify-content: flex-start !important;

%vencordPluginsCardName {
overflow: hidden;
font-size: 1.25em !important;
font-weight: 400;
}
}

%switchContainer {
%switchSlider {
transform: translate(-2px, -50%) !important;
Expand All @@ -125,12 +112,39 @@

&%switchContainerChecked {
%switchSlider {
transform: translate(11px, -50%) !important;
transform: translate(calc(100% - 7px), -50%) !important;
}
}
}
}

%vencordAddonHeader {
height: auto !important;
margin-bottom: 12px !important;
justify-content: flex-start !important;

%vencordAddonNameAuthor {
overflow: hidden;
font-size: 1.1em !important;
font-weight: 400;

%vencordAddonName {
font-size: inherit !important;
font-weight: inherit !important;
}
}
}

%vencordAddonNote {
&:not(:last-child) {
margin-bottom: 0.875em !important;
}

+ div:not([class]) {
font-size: 14px;
}
}

/* VENCORD SETTINGS -> THEMES */

%vencordThemeLinks {
Expand Down

0 comments on commit a2c9c6d

Please sign in to comment.