Skip to content

Commit 4376f0c

Browse files
committed
add transparency information in README
1 parent ab7a004 commit 4376f0c

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,20 @@ Run `discocss`
1919

2020
# Notes
2121

22+
## Transparency
23+
24+
If you want your window to be transparent, you have to change the `--background-` css variables to have an alpha value. You can add alpha to a hex color by appending 2 extra hex digits to it. Example from my theme (44 is the hex alpha value):
25+
26+
```css
27+
.theme-light {
28+
--background-primary: #f3f4f644;
29+
--background-primary-alt: #eeeff244;
30+
--background-secondary: #e5e7eb44;
31+
--background-secondary-alt: #d1d5db44;
32+
--background-tertiary: #dfe2e744;
33+
}
34+
```
35+
36+
## Persistence
37+
2238
If after an update your theme doesn't work anymore, close and run `discocss` again. Discord might be running in the background without you knowing, so if it still doesn't work, use `pkill`.

0 commit comments

Comments
 (0)