Skip to content

Commit

Permalink
Release v1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Saltssaumure committed May 16, 2024
1 parent d744b45 commit 2d0b7c9
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 11 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release

on:
push:
tags:
- "v*"

jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout theme
uses: actions/checkout@v4

- name: Release .theme.css
uses: ncipollo/release-action@v1
with:
artifacts: "*.theme.css"
makeLatest: true
generateReleaseNotes: true
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
[![Theme GitHub downloads][shield-bd-dl]][release-bd-gh]
[![Total repository size][shield-repo-size]][github]

***A Discord recolor based on your system color.***
***Recolours Discord based on your system colour.***

| Dark mode | Light mode |
| -------------------------------------------------- | ---------------------------------------------------- |
Expand All @@ -42,7 +42,6 @@
### [Vencord][Vencord] (recommended)
#### Local
1. Download `SystemColor.theme.css`:
- [BetterDiscord store][release-bd]
- [GitHub][release-bd-gh]
2. Place the file in the themes folder:
- `Settings` > `Vencord` > `Themes` > `Local Themes` > `Open Themes Folder`
Expand All @@ -61,9 +60,9 @@ BetterDiscord does not currently detect your system color, however this theme ca

## Customisation

| Variable name | Valid values | Default value (Vencord) | Default value (Other) |
| -------------------- | ----------------------- | ------------------------ | --------------------- |
| `--systemcolor-base` | Any [color][css-color]. | `var(--os-accent-color)` | `cyan` |
| Variable name | Valid values | Default value (Vencord) | Default value (Other) |
| -------------------- | ------------------------ | ------------------------ | --------------------- |
| `--systemcolor-base` | Any [colour][css-color]. | `var(--os-accent-color)` | `cyan` |

### Vencord
#### Local
Expand All @@ -72,7 +71,7 @@ BetterDiscord does not currently detect your system color, however this theme ca
3. Edit the variable values and save.
#### Online
1. `Enable Custom CSS` in `Settings` > `Vencord` > `Vencord` and click `Open QuickCSS File`.
2. Copy and paste lines 15-20 of [`SystemColor.theme.css`][.theme.css].
2. Copy and paste lines 15-18 of [`SystemColor.theme.css`][.theme.css].
3. Edit the variable values.

### BetterDiscord
Expand Down
6 changes: 3 additions & 3 deletions SystemColor.theme.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
* @name SystemColor
* @author Saltssaumure
* @authorLink https://github.com/Saltssaumure
* @description Recolor based on your system color.
* @description Recolour based on your system colour.
* @license MIT
* @version 0.1
* @version 1.0
* @invite uy8nKQVatp
* @source https://github.com/MiniDiscordThemes/SystemColor
* @donate https://ko-fi.com/saltssaumure
*/

@import url("https://minidiscordthemes.github.io/SystemColor/sys.min.css");

/* See https://github.com/MiniDiscordThemes/Template#customisation for customisation settings. */
/* See https://github.com/MiniDiscordThemes/SystemColor#customisation for customisation settings. */
:root {
--systemcolor-base: var(--os-accent-color);
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "systemcolor-discord-theme",
"version": "0.1.0",
"description": "A Discord recolor based on your system color.",
"version": "1.0.0",
"description": "Recolours Discord based on your system colour.",
"repository": "github:MiniDiscordThemes/SystemColor",
"author": "Saltssaumure <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 2d0b7c9

Please sign in to comment.