|
1 | 1 |  |
2 | | -<p align="center"> |
3 | | - <a href="#"><img align="center" alt="GitHub repo size" src="https://img.shields.io/github/repo-size/Discord-Theme-Addons/gradientbuttons-v2?color=D577F0&style=for-the-badge&logo=github"> |
4 | | - <a href="#"><img align ="center" alt="Version" src="https://img.shields.io/static/v1?label=version&message=2.2.5&color=C279F0&style=for-the-badge&logo=data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAA7MK6iAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHpFAACAgwAA/FcAAIDoAAB5FgAA8QEAADtfAAAcheDStWoAAAGwSURBVHja7JcxSBxBFIa/Pa%2BQECuFFClNsLWRgGJSpEgn1oJosDIcFpbWKcTC47TKHbEVzpRRsLVOtEkKG2MTxO7QECUH%2BW3mcG7ZvX1j9nLNPVjY2Xn7f/Nm5g1vIkkYbBTYB0aAtB8ioAHMAt%2ByBIvY7AUwZvAbBl5ZwAUj%2BDd2%2B2VxsoIVAFae4NytD%2B6Dew6%2BCNC8tDgVEwYyAQx4%2BSjgZQB4yh2dBe8o/Qt8BZr32S75zyd1zw59Vnyqz7u4rD/az7f2iJG02YVoq3FOEhhJ5RyhtSRGGjivyKtp%2Bp3A/xp5rZN2FhhJlQdAP2bpWsCh016zaFrBVnjVqhe5Yu8ZMAc8ilUQEXAM1F27Aqyk5OkOsOTeZ4DJBK1bYA/4jqSnkm4yIillRO5HumiYmedI%2BmBcuzS4D10watWRdBawcZY9yLobQKs97/ldS/osqeHaB5JOvf6fOKcQKyVslvj0rrnvG5Iu3PsTr/%2Bq6Bb8ccBhvw2Muw0nd3N4F/N5DXxxF4Eh4I3bbC1rRpKOgOn/XICcFIByDyqfrVYevwfeAoOBt4YQi4A/wC6wejcAIWlEHq3bJrMAAAAASUVORK5CYII%3D"> |
5 | | - <a href="https://github.com/Discord-Theme-Addons/gradientbuttons-v2/stargazers"><img align="center" alt="Stars" src="https://img.shields.io/github/stars/Discord-Theme-Addons/gradientbuttons-v2?color=8980F0&style=for-the-badge&logo=data%3Aimage/png%3Bbase64%2CiVBORw0KGgoAAAANSUhEUgAAAB4AAAAdCAYAAAC9pNwMAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAIGNIUk0AAHpFAACAgwAA/FcAAIDoAAB5FgAA8QEAADtfAAAcheDStWoAAAHISURBVHjavJS/a1NRGIafm7RaaGJ1KR0MQUVNBiOhtKLg6GKXItRJVwc3M%2BpW%2Bg/4Fwid3LRLBydBHARBiqSiqcY2UOgipopBQnxdzpXr5dyb5iQnHxw49/z4nvOe7543kIRjPAFywIrL5sARPAF0TT8P/Bw0QcZR7cNIf3VcirNG4ZT5/mOuvONb8YMINMzxyLfiLNAGpmPjPVPrji/F9y3Q8EA1n4oPgNmEuUNgxofitRQowAng8bCKTwFF4CxQBq4BN4%2BY8wXwCvgAfAb2gG828C3gDHDOgIpAIaGWLvELaAG7QBNoAF8DSV8MeJxxkAEWgfoYoU1gPqzxceANcNkztAEsAO3wr/5tBt55hH4C5o0B/fecusBVT/CPpqQ//o1IircJSW81utiWlItzkt5xAGwBl4ZUugNUbB6eZplFU5djjtAeUAXeu3h1CzjtCG4DJ128eq6PN/eLPHDeBVwd4prD3FUXcGkEz%2BiCC/jiCMAlH%2BAN4JmrYpuBhG0/wRCeSqpE1pUkrSes/S5p0pY/CVqwJNmUdD3loFckPbfsKw8CXo5sfC1pKQUYbzckvYzsvzMI%2BJ7x2LsDAOPttqS6pJpt/u8AK65O%2Bt9ReEMAAAAASUVORK5CYII%3D"></a> |
6 | | -</p> |
7 | 2 |
|
8 | | -# GradientButtons v2 |
| 3 | +# GradientButtons (v2) |
9 | 4 | Add some spice to your buttons.. with gradients! |
10 | 5 |
|
11 | 6 |  |
12 | 7 |  |
13 | 8 |  |
14 | 9 |
|
15 | | -# Installation |
16 | | -For Powercord or Vizality installation, go to **Themes -> Open CMD / Powershell / Terminal / Gitbash**, and enter the following: |
| 10 | +## Installation |
| 11 | +For **[Powercord](http://powercord.dev/)** or **[Vizality](https://vizality.com/)** installation, **locate and head over to your themes folder, open a terminal of choice, and enter the following:** |
17 | 12 | ``` |
18 | 13 | git clone https://github.com/Discord-Theme-Addons/gradientbuttons-v2 |
19 | 14 | ``` |
20 | 15 |
|
21 | | -**For BetterDiscord:** |
22 | | -- [Direct Download](https://betterdiscord.net/ghdl?id=3486) |
23 | | -- [View Source](https://raw.githack.com/Discord-Theme-Addons/gradientbuttons-v2/main/src/support/GradientButtons.theme.css) |
| 16 | +**For [BetterDiscord](http://betterdiscord.app/):** |
| 17 | +- [Direct Download](https://github.com/Discord-Theme-Addons/gradientbuttons-v2/releases/download/2.2.6/GradientButtons.theme.css) |
| 18 | +- [View Source](https://discord-theme-addons.github.io/gradientbuttons-v2/src/support/compiled.css) |
24 | 19 |
|
25 | | -**For Browser / Web:** |
| 20 | +**For [Stylus](https://github.com/openstyles/stylus):** |
26 | 21 | 1. Install the Stylus extension for [Chrome](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne) / [Firefox](https://addons.mozilla.org/en-US/firefox/addon/styl-us/) / [Opera](https://github.com/openstyles/stylus/wiki/Opera,-Outdated-Stylus). |
27 | | -2. After installing, head over to [this link](https://raw.githack.com/Discord-Theme-Addons/gradientbuttons-v2/main/src/support/GradientButtons.user.css). |
| 22 | +2. After installing, head over to [this link](https://discord-theme-addons.github.io/gradientbuttons-v2/src/support/GradientButtons.user.css). |
28 | 23 | 3. Press the "Install Style" button. |
29 | 24 |
|
30 | | -# Disabling Transitions |
31 | | -If you dislike the transitions on hover, you have the ability to disable them. On Powercord or Vizality, open `./src/_root.scss`. On BetterDiscord or Web, open the file and locate where `:root` is. Below where it says `/* Transitions */`, paste the following: |
| 25 | +## Disabling Transitions |
| 26 | +If you dislike the transitions on hover, you can simply just disable them using the variables. Head over to the root and paste the following under `/* Transitions */`. |
32 | 27 | ```css |
33 | | ---font-normal: 500; |
34 | | ---font-hover: var(--font-normal); |
35 | | ---font-size-hover: 14px; |
36 | | ---hover-transition: none; |
37 | | ---transform-normal: none; |
38 | | ---hover-transform: var(--transform-normal); |
39 | | ---setting-hover-transform: var(--transform-normal); |
40 | | ---button-hover-transform: var(--transform-normal); |
| 28 | +:root { |
| 29 | + /* Transitions */ |
| 30 | + --button-transition: none; |
| 31 | + --font-default: 500; |
| 32 | + --font-hover: var(--font-default); |
| 33 | + --fontsize-hover: 14px; |
| 34 | + --transform-normal: scale(1); |
| 35 | + --transform-hover: var(--transform-normal); |
| 36 | + --button-transform-hover: var(--transform-normal); |
| 37 | +} |
41 | 38 | ``` |
42 | 39 |
|
43 | | -Here is a basic GIF tutorial on how to do that if you don't understand: |
44 | | - |
45 | | - |
46 | 40 | # Credits |
47 | 41 | A big thank you to everyone who helped with this! |
48 | | -- **[Hoofer](https://github.com/HooferDevelops)** for the original code, aka Gradient Buttons v1. He never published the code, so I decided to and make it my own (with permission ofc). |
49 | | -- **[botato](https://github.com/bototo2)** for teaching me that I could use #id instead of [id=""]. |
| 42 | +- **[Hoofer](https://github.com/HooferDevelops)** for the original code, aka Gradient Buttons v1. He didn't publish the code, so I asked if I could with extra stuff. |
| 43 | +- **[botato](https://github.com/bototo2)** for letting me know that I can use #id instead of [id=""]. |
0 commit comments