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

Commit

Permalink
lint:fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kritishd8 committed Aug 6, 2023
1 parent a986a5c commit bfd2557
Show file tree
Hide file tree
Showing 60 changed files with 15,519 additions and 3,706 deletions.
33 changes: 15 additions & 18 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,20 @@
{
"liveSassCompile.settings.formats":[
{
"format": "compressed",
"extensionName": ".css",
"savePath": null
}
],

"liveSassCompile.settings.excludeList": [
"/.vscode/**",
"/dev.scss",
],

"liveSassCompile.settings.generateMap": false,
"liveSassCompile.settings.autoprefix": [
"defaults"
]
"liveSassCompile.settings.formats": [
{
"format": "expanded",
"extensionName": ".css",
"savePath": null
}
],
"liveSassCompile.settings.excludeList": [
"/.vscode/**",
"/dev.scss",
],
"liveSassCompile.settings.generateMap": false,
"liveSassCompile.settings.autoprefix": [
"defaults"
]
}

// expanded
// compressed
// nested
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Lavender",
"version": "3.1.0",
"version": "3.1.1",
"description": "Lavender",
"engines": {
"node": ">=18.0.0",
Expand All @@ -15,12 +15,12 @@
},
"keywords": [],
"author": "kritishd8",
"license": "ISC",
"license": "MIT",
"devDependencies": {
"@parcel/config-default": "^2.9.3",
"@parcel/core": "^2.9.3",
"@types/node": "^18.17.1",
"prettier": "^2.8.8",
"replugged": "^4.5.1"
}
}
}
62 changes: 31 additions & 31 deletions src/clients/betterdiscord.css
Original file line number Diff line number Diff line change
@@ -1,34 +1,34 @@
/* This is a temporary file to display a outdated notification for lavender v2 users */

#app-mount:before {
content: "You version of Lavender is outdated, please download the latest version from the source. (Source can be found in your theme settings)" !important;
display: block;
background-color: var(--brand-experiment);
color: #fff;
flex-grow: 0;
flex-shrink: 0;
font-size: 16px;
font-weight: 700;
height: auto;
line-height: 16px;
opacity: 1;
padding: 10px;
padding-left: 20px;
padding-right: 20px;
position: relative;
text-align: center;
visibility: unset;
white-space: pre-wrap;
top: 0;
left: 0;
bottom: unset;
right: unset;
max-width: 2000px;
min-width: unset;
max-height: unset;
min-height: unset;
transform: unset;
animation: unset;
z-index: 999999;
pointer-events: none
}
content: "You version of Lavender is outdated, please download the latest version from the source. (Source can be found in your theme settings)" !important;
display: block;
background-color: var(--brand-experiment);
color: #fff;
flex-grow: 0;
flex-shrink: 0;
font-size: 16px;
font-weight: 700;
height: auto;
line-height: 16px;
opacity: 1;
padding: 10px;
padding-left: 20px;
padding-right: 20px;
position: relative;
text-align: center;
visibility: unset;
white-space: pre-wrap;
top: 0;
left: 0;
bottom: unset;
right: unset;
max-width: 2000px;
min-width: unset;
max-height: unset;
min-height: unset;
transform: unset;
animation: unset;
z-index: 999999;
pointer-events: none;
}
4 changes: 0 additions & 4 deletions src/clients/lavender.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,28 +78,24 @@
!===============================================================================================================================
*/


/*? ====== Removed Stuff ======*/
@import url("https://lavender-discord.github.io/Lavender/design/removed/removed.css");
/* Removes few of the elements from discord, remove this import to get them back */


/*? ====== User Action Buttons (Mute, Deafen, Settings) ======*/
@import url("https://lavender-discord.github.io/Lavender/design/user-actions/vertical.css");
/* Vertical allignment on the left side in server list */

/* @import url("https://lavender-discord.github.io/Lavender/design/user-actions/vertical-connected.css"); /* */
/* Vertical allignment on the left side in server list, buttons are connected in this one */


/*? ====== Status Indicators ======*/
@import url("https://lavender-discord.github.io/Lavender/design/status-indicators/top-right.css");
/* Moves the status indicators to the upper right side of the user avatar */

/* @import url("https://lavender-discord.github.io/Lavender/design/status-indicators/radial.css"); /* */
/* Radial statuses for lavender, made by gibbu, must disable the top-right status import to make this work */


/*? ====== Server List allignment ======*/
/* @import url("https://lavender-discord.github.io/Lavender/design/server-list/bottom.css"); /* */
/* Puts the server list on the bottom */
Expand Down
99 changes: 47 additions & 52 deletions src/clients/lavender.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,113 +10,108 @@
==/UserStyle== */

@-moz-document domain("discord.com") {

/*
/*
!===============================================================================================================================
! ⚠️ IMPORTANT
! Important theme files, don't remove anything here
!===============================================================================================================================
*/

@import url("https://lavender-discord.github.io/Lavender/src/source.css");
/* ⚠️ Main theme file — Do not remove */
@import url("https://lavender-discord.github.io/Lavender/src/source.css");
/* ⚠️ Main theme file — Do not remove */

@import url("https://lavender-discord.github.io/Lavender/skins/skin-loader/skin-loader.css");
/* ⚠️ The file responsible for all the colors and skin loading */
@import url("https://lavender-discord.github.io/Lavender/skins/skin-loader/skin-loader.css");
/* ⚠️ The file responsible for all the colors and skin loading */

/*
/*
!===============================================================================================================================
! 🎨 SKINS
! The color scheme of the whole UI, make sure you only have one skin enabled to avoid bugs
!===============================================================================================================================
*/

/* Imports your desired color scheme of Lavender */
/* Imports your desired color scheme of Lavender */

@import url("https://lavender-discord.github.io/Lavender/skins/layout/lavender.css");
/* Default color scheme */
@import url("https://lavender-discord.github.io/Lavender/skins/layout/lavender.css");
/* Default color scheme */

/**? Put your skin import links here and comment out the import for default color scheme above ?**/
/**? Put your skin import links here and comment out the import for default color scheme above ?**/

/*
/*
!===============================================================================================================================
! 💻 Code Blocks Skins
! The color scheme for codeblocks
!===============================================================================================================================
*/

/* Import your desired color scheme for codeblocks - Works best with better codeblocks plugin */
/* Import your desired color scheme for codeblocks - Works best with better codeblocks plugin */

@import url("https://lavender-discord.github.io/Lavender/skins/codeblock/tokyo-night.css");
/* Default color scheme */
@import url("https://lavender-discord.github.io/Lavender/skins/codeblock/tokyo-night.css");
/* Default color scheme */

/**? Put your codeblock skin import links here and comment out the import for default color scheme above ?**/
/**? Put your codeblock skin import links here and comment out the import for default color scheme above ?**/

/*
/*
!===============================================================================================================================
! 🔌 Extensions
! Extensions are the third party mini themes used by lavender (eg: Friends grid, iconsax iconpax)
!===============================================================================================================================
*/

@import url("https://lavender-discord.github.io/Lavender/extensions/context-iconsax.css");
/* Context icons for menus */
@import url("https://lavender-discord.github.io/Lavender/extensions/context-iconsax.css");
/* Context icons for menus */

@import url("https://lavender-discord.github.io/Lavender/extensions/emoji-replace.css");
/* Replaces all discord emojis with the microsoft ones */
@import url("https://lavender-discord.github.io/Lavender/extensions/emoji-replace.css");
/* Replaces all discord emojis with the microsoft ones */

@import url("https://lavender-discord.github.io/Lavender/extensions/friends-grid.css");
/* Makes the friends tab layout a 3 row grid */
@import url("https://lavender-discord.github.io/Lavender/extensions/friends-grid.css");
/* Makes the friends tab layout a 3 row grid */

@import url("https://lavender-discord.github.io/Lavender/extensions/iconsax.css");
/* Replaces all discord icons with modern ones */
@import url("https://lavender-discord.github.io/Lavender/extensions/iconsax.css");
/* Replaces all discord icons with modern ones */

@import url("https://lavender-discord.github.io/Lavender/extensions/settings-iconsax.css");
/* Adds iconsax icons next to sidebar items in settings */
@import url("https://lavender-discord.github.io/Lavender/extensions/settings-iconsax.css");
/* Adds iconsax icons next to sidebar items in settings */

/*
/*
!===============================================================================================================================
! 🖌️ Design
! Change the design of certain elements of lavender,
! more will be added in the future, join the support server to stay updated
!===============================================================================================================================
*/

/*? ====== Removed Stuff ======*/
@import url("https://lavender-discord.github.io/Lavender/design/removed/removed.css");
/* Removes few of the elements from discord, remove this import to get them back */

/*? ====== Removed Stuff ======*/
@import url("https://lavender-discord.github.io/Lavender/design/removed/removed.css");
/* Removes few of the elements from discord, remove this import to get them back */


/*? ====== User Action Buttons (Mute, Deafen, Settings) ======*/
@import url("https://lavender-discord.github.io/Lavender/design/user-actions/vertical.css");
/* Vertical allignment on the left side in server list */

@import url("https://lavender-discord.github.io/Lavender/design/user-actions/vertical-connected.css");
/* Vertical allignment on the left side in server list, buttons are connected in this one */

/*? ====== User Action Buttons (Mute, Deafen, Settings) ======*/
@import url("https://lavender-discord.github.io/Lavender/design/user-actions/vertical.css");
/* Vertical allignment on the left side in server list */

/*? ====== Status Indicators ======*/
@import url("https://lavender-discord.github.io/Lavender/design/status-indicators/top-right.css");
/* Moves the status indicators to the upper right side of the user avatar */
@import url("https://lavender-discord.github.io/Lavender/design/user-actions/vertical-connected.css");
/* Vertical allignment on the left side in server list, buttons are connected in this one */

/* @import url("https://lavender-discord.github.io/Lavender/design/status-indicators/radial.css"); /* */
/* Radial statuses for lavender, made by gibbu, must disable the top-right status import to make this work */
/*? ====== Status Indicators ======*/
@import url("https://lavender-discord.github.io/Lavender/design/status-indicators/top-right.css");
/* Moves the status indicators to the upper right side of the user avatar */

/* @import url("https://lavender-discord.github.io/Lavender/design/status-indicators/radial.css"); /* */
/* Radial statuses for lavender, made by gibbu, must disable the top-right status import to make this work */

/*? ====== Server List allignment ======*/
/* @import url("https://lavender-discord.github.io/Lavender/design/server-list/bottom.css"); /* */
/* Puts the server list on the bottom */
/*? ====== Server List allignment ======*/
/* @import url("https://lavender-discord.github.io/Lavender/design/server-list/bottom.css"); /* */
/* Puts the server list on the bottom */

/* @import url("https://lavender-discord.github.io/Lavender/design/server-list/top.css"); /* */
/* Puts the server list on the top */
/* @import url("https://lavender-discord.github.io/Lavender/design/server-list/top.css"); /* */
/* Puts the server list on the top */

/*
/*
!===============================================================================================================================
! 🧪 Experiments / Snippets
! Well if you dont like the quick css / custom css feature then put ur snippets below here
! Also remember this: line of code starting with '@import' should always be above other code
! Code block starting with ':root' should be below @imports but above all other code
!===============================================================================================================================
*/
}
}
22 changes: 11 additions & 11 deletions src/design/removed/removed.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* Nitro Button in server list */
.scroller-3X7KbA>[aria-label]+.listItem-3SmSlK,
.tutorialContainer-1pL9QS+.listItem-3SmSlK>.pill-1NRFie~*,
.tree-3agP2X+.fixedBottomList-1yrBla {
display: none;
.scroller-3X7KbA > [aria-label] + .listItem-3SmSlK,
.tutorialContainer-1pL9QS + .listItem-3SmSlK > .pill-1NRFie ~ *,
.tree-3agP2X + .fixedBottomList-1yrBla {
display: none;
}

/* Nitro & Boost */
Expand Down Expand Up @@ -33,25 +33,25 @@
[aria-label*="ギフトを贈る"],
[aria-label*="發送禮物"],
[aria-label*="선물 보내기"] {
display: none !important;
display: none !important;
}

/* Stickers Button */
.expression-picker-chat-input-button:nth-of-type(2) {
display: none;
display: none;
}

/* Gif button */
.expression-picker-chat-input-button:nth-of-type(1) {
display: none;
display: none;
}

/* Explore */
.tutorialContainer-2jwoiB+div {
display: none;
.tutorialContainer-2jwoiB + div {
display: none;
}

/* Slash command button in attachment popout */
#channel-attach-SLASH_COMMAND {
display: none !important;
}
display: none !important;
}
Loading

0 comments on commit bfd2557

Please sign in to comment.