Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobrreed committed Apr 5, 2024
0 parents commit b89d8a5
Show file tree
Hide file tree
Showing 25 changed files with 2,241 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/sassbuild.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
on: [push, workflow_dispatch]

jobs:
build_css:
runs-on: ubuntu-latest

steps:
- name: Checkout source Git branch
uses: actions/checkout@v2
with:
ref: ${{ github.ref }}

- name: Compile CSS
uses: AAGaming00/sass-build@master
with:
source: eldritch.scss
destination: BetterDiscord/source.css

- name: Add and Commit changes
run: |
git config --local user.email '[email protected]'
git config --local user.name 'GitHub Action'
git add BetterDiscord/source.css
git diff-index --quiet HEAD || git commit -m 'updated betterdiscord version'
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.vscode/
12 changes: 12 additions & 0 deletions BetterDiscord/eldritch.theme.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/**
* @name Eldritch
* @description A theme for the Ancient Ones! (BetterDiscord)
* @author Eldritch
* @version 1.3.2
* @authorId 336678828233588736
* @website https://github.com/eldritch-theme/betterdiscord
* @source https://github.com/eldritch-theme/betterdiscord/blob/main/eldritch.scss
*/

@import url("https://eldritch-theme.github.io/betterdiscord/BetterDiscord/source.css");
@import url("https://mulverinex.github.io/legacy-settings-icons/dist-native.css");
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2024 Eldritch

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
25 changes: 25 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!-- DO NOT CHANGE THIS -->
<p align="center">
<img src="https://raw.github.com/eldritch-theme/eldritch/master/assets/logo/logo.png" width=100>
</p>
<p>
Eldritch is a community-driven dark theme inspired by Lovecraftian horror. With tones from the dark abyss and an emphasis on green and blue, it caters to those who appreciate the darker side of life.
</p>

Main Theme repo can be found [here](https://github.com/eldritch-theme/eldritch)

### Showcase
<!-- Your screenshot should go here -->
<img src="screenshot.png" alt="Screenshot"/><br/>

## Installation

- ### [BetterDiscord](https://github.com/BetterDiscord/BetterDiscord)

- download the theme file [here](TODO)
- place it in the BetterDiscord themes folder
- enable Eldritch in the themes tab

- ### [Vencord](https://github.com/Vendicated/Vencord)
- go to vencord themes tab
- paste `https://raw.githubusercontent.com/eldritch-theme/betterdiscord/main/BetterDiscord/eldritch.theme.css` into the box
1 change: 1 addition & 0 deletions addons/apple-emojis.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@import url(https://eldritch-theme.github.io/addons/apple/base.css);
105 changes: 105 additions & 0 deletions addons/better-channel-indicators.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
/* Better Channel Indicators by LuckFire*/

:root {
/* better channel indicators variables */
--unread-badge: rgba(255, 255, 255, 0.6);
--unread-bg: rgba(255, 255, 255, 0);
--selected-badge: var(--eldritch-accent);
--selected-bg: var(--eldritch-accent-alpha);
--selected-bg-hover: var(--eldritch-accent-alpha-alt);
--hovered-bg: rgba(79, 84, 92, 0.2);
--bg-rounding: 2px;
--indicators-border-info: 2px solid;
}

.content-1gYQeQ,
.channel-1Shao0 > .layout-1qmrhw {
background: none !important;
}

.modeSelected-3DmyhH::before,
.modeUnread-3Cxepe::before {
content: "";
position: absolute;
height: 34px;
top: 0;
}
.channel-1Shao0.selected-1-Z6gm::before {
content: "";
position: absolute;
height: 44px;
top: 0;
}

.modeSelected-3DmyhH,
.channel-1Shao0.selected-1-Z6gm {
background: var(--selected-bg);
border-radius: var(--bg-rounding);
}
.modeSelected-3DmyhH:hover,
.channel-1Shao0.selected-1-Z6gm:hover {
background: var(--selected-bg-hover);
}
.modeSelected-3DmyhH::before,
.channel-1Shao0.selected-1-Z6gm::before {
border-left: var(--indicators-border-info) var(--selected-badge);
}

.content-1gYQeQ,
.channel-1Shao0 > .layout-1qmrhw {
background: none !important;
}

.modeSelected-3DmyhH::before,
.modeUnread-3Cxepe::before {
content: "";
position: absolute;
height: 34px;
top: 0;
}
.channel-1Shao0.selected-1-Z6gm::before {
content: "";
position: absolute;
height: 44px;
top: 0;
}

.modeSelected-3DmyhH,
.channel-1Shao0.selected-1-Z6gm {
background: var(--selected-bg);
border-radius: var(--bg-rounding);
}
.modeSelected-3DmyhH:hover,
.channel-1Shao0.selected-1-Z6gm:hover {
background: var(--selected-bg-hover);
}
.modeSelected-3DmyhH::before,
.channel-1Shao0.selected-1-Z6gm::before {
border-left: var(--indicators-border-info) var(--selected-badge);
}

.modeUnread-3Cxepe {
background: var(--unread-bg);
border-radius: var(--bg-rounding);
}
.modeUnread-3Cxepe::before {
border-left: var(--indicators-border-info) var(--unread-badge);
}
.unread-36eUEm {
display: none;
}

.modeUnread-3Cxepe:hover,
.wrapper-NhbLHG:hover:not(.modeSelected-3DmyhH),
.channel-1Shao0.container-1oeRFJ:hover:not(.selected-1-Z6gm) {
background: var(--hovered-bg);
border-radius: var(--bg-rounding);
}

.channel-1Shao0.container-1oeRFJ {
margin-left: 0;
max-width: 233px;
}
#private-channels > div > .channel-1Shao0 > div > .avatar-6qzftW {
margin-left: 4px;
}
5 changes: 5 additions & 0 deletions addons/better-embeds.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.embedWrapper-1MtIDg.embedFull-1HGV2S {
border-radius: 4px;
border-left: 4px solid var(--background-tertiary);
box-shadow: var(--elevation-high);
}
21 changes: 21 additions & 0 deletions addons/better-quotes.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
:root {
--quotes-background-border: var(--eldritch-secondary);
--quotes-divider: var(--eldritch-accent);
--quotes-text: #fff;
}

.blockquoteContainer-3VtvI1 {
padding: 2px 0 2px 0;
}
.blockquoteContainer-3VtvI1 blockquote {
background-color: var(--quotes-background-border);
border: 1px solid var(--quotes-background-border);
color: var(--quotes-text);
border-radius: 0 4px 4px 0;
padding: 4px 11px 4px;
}

.blockquoteContainer-3VtvI1 > .blockquoteDivider-363utW {
background-color: var(--quotes-divider);
border-radius: 4px 0 0 4px;
}
14 changes: 14 additions & 0 deletions addons/colored-mentions.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
$mentioned: rgb(189, 147, 249);

.mentioned-Tre-dv {
background: rgba($mentioned, 0.1) !important;
&:before {
background: $mentioned !important;
}
&:hover {
background: rgba($mentioned, 0.2) !important;
}
}
.numberBadge-37OJ3S.base-3IDx3L {
background-color: var(--eldritch-accent) !important;
}
11 changes: 11 additions & 0 deletions addons/colored-replies.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
$replies: rgb(189, 147, 249);

.replying-eZ7p5z {
background: rgba($replies, 0.1) !important;
&:before {
background-color: $replies !important;
}
&::hover {
background: rgba($replies, 0.2) !important;
}
}
8 changes: 8 additions & 0 deletions addons/disappearing-icons.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* hide msg box icons until hover */
.buttons-uaqb-5 {
opacity: 0;
transition: opacity 0.2s;
}
.channelTextArea-1FufC0:hover .buttons-uaqb-5 {
opacity: 1;
}
2 changes: 2 additions & 0 deletions addons/discolored.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/* Discolored by Nyria#3863 */
@import "https://nyri4.github.io/Discolored/main.css";
44 changes: 44 additions & 0 deletions addons/dusk-to-dawn-settings.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
/* Dusk To Dawn Settings - taken from Dusk to Dawn by Asteria */

:root {
--width2: 60%;
--height2: 85%;
}

.layers-OrUESM {
align-items: center;
justify-content: center;
}
.layers-OrUESM > .layer-86YKbF:first-child {
opacity: 1 !important;
transform: none !important;
}
.layers-OrUESM > .layer-86YKbF.stop-animations:first-child {
z-index: 1;
transition: 250ms ease-in;
}
.layers-OrUESM > .layer-86YKbF:nth-child(2)::before {
content: "";
position: absolute;
top: calc((100% - var(--height2)) / -1);
left: calc((100% - var(--width2)) / -1);
padding: calc(100% - var(--height2)) calc(100% - var(--width2));
background: black;
z-index: 2;
opacity: 0.6;
width: 100%;
height: 100%;
transition: opacity 350ms ease;
}
.layers-OrUESM > .layer-86YKbF:nth-child(2) {
width: var(--width2);
height: var(--height2);
top: unset;
bottom: unset;
right: unset;
left: unset;
display: block;
overflow: visible;
transform: translateZ(0);
z-index: 3;
}
Loading

0 comments on commit b89d8a5

Please sign in to comment.