FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
ui-react/src/utils/variables.ts at develop · solved-ac/ui-react · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
solved-ac
/
ui-react
Public
Notifications
You must be signed in to change notification settings
Fork
4
Star
41
Code
Issues
2
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
ui-react
/
src
/
utils
/
variables.ts
Copy path
More file actions
More file actions
Latest commit
History
History
History
20 lines (18 loc) · 848 Bytes
Breadcrumbs
ui-react
/
src
/
utils
/
variables.ts
Copy path
File metadata and controls
20 lines (18 loc) · 848 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import
{
transparentize
}
from
'polished'
import
{
SolvedTheme
}
from
'../styles'
import
{
computeHoverColor
as
h
}
from
'./color'
export
const
cardHoverTemplate
=
{
backgroundColor
:
(
theme
:
SolvedTheme
)
=>
theme
.
color
.
background
.
card
.
main
,
textColor
:
(
theme
:
SolvedTheme
)
=>
theme
.
color
.
text
.
primary
.
main
,
hoverBackgroundColor
:
(
theme
:
SolvedTheme
)
=>
h
(
theme
.
color
.
background
.
card
.
main
)
,
hoverTextColor
:
(
theme
:
SolvedTheme
)
=>
theme
.
color
.
text
.
primary
.
main
,
}
export
const
transparentHoverTemplate
=
{
backgroundColor
:
(
theme
:
SolvedTheme
)
=>
transparentize
(
1
,
theme
.
color
.
background
.
card
.
main
)
,
textColor
:
(
theme
:
SolvedTheme
)
=>
theme
.
color
.
text
.
primary
.
main
,
hoverBackgroundColor
:
(
theme
:
SolvedTheme
)
=>
theme
.
color
.
background
.
card
.
main
,
hoverTextColor
:
(
theme
:
SolvedTheme
)
=>
theme
.
color
.
text
.
primary
.
main
,
}
Back
|
FazBrowse Home
|
New Git URL