forked from tari-project/tari
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add color variables to gradients where possible
- Loading branch information
Showing
2 changed files
with
7 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,16 @@ | ||
import colors from './colors' | ||
|
||
/** | ||
* Gradient palette | ||
*/ | ||
|
||
export const gradients = { | ||
tari: 'linear-gradient(239.91deg, #9330FF 0%, #593A9B 131%)', | ||
const gradients = { | ||
tari: `linear-gradient(239.91deg, ${colors.tari.purple} 0%, #593A9B 131%)`, | ||
tariDark: 'linear-gradient(239.91deg, #3D1061 0%, #593A9B 131%)', | ||
monero: 'linear-gradient(239.91deg, #ED695E 0%, #D24F43 131%)', | ||
merged: 'linear-gradient(238.06deg, #6838B4 0%, #DA574B 99.74%)', | ||
baseNodeDark: 'linear-gradient(238.06deg, #55208E 0%, #455E5B 99.74%)', | ||
warning: 'linear-gradient(264.94deg, #D87740 21.86%, #D18A18 80.58%)' | ||
warning: `linear-gradient(264.94deg, #D87740 21.86%, ${colors.secondary.warningText} 80.58%)` | ||
} | ||
|
||
export default gradients |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters