primary color replaced to theme primary color

This commit is contained in:
Daniel Shleifman
2021-06-20 22:43:21 +03:00
parent a026f05205
commit 033aa3153f
18 changed files with 158 additions and 122 deletions

View File

@@ -1,5 +1,6 @@
import { useState } from 'react'
import { useTranslation } from 'react-i18next'
import { themeColors } from 'style/colors'
import AddDialog from '../Add/AddDialog'
import IconWrapper from './style'
@@ -16,7 +17,7 @@ export default function AddFirstTorrent() {
<lord-icon
src='https://cdn.lordicon.com/bbnkwdur.json'
trigger='loop'
colors='primary:#121331,secondary:#00A572'
colors={`primary:#121331,secondary:${themeColors.primary}`}
stroke='26'
scale='60'
/>

View File

@@ -1,4 +1,5 @@
import { useTranslation } from 'react-i18next'
import { themeColors } from 'style/colors'
import IconWrapper from './style'
@@ -10,7 +11,7 @@ export default function NoServerConnection() {
<lord-icon
src='https://cdn.lordicon.com/wrprwmwt.json'
trigger='loop'
colors='primary:#121331,secondary:#00A572'
colors={`primary:#121331,secondary:${themeColors.primary}`}
stroke='26'
scale='60'
/>