Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
frontend
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
frontend
Commits
67fb2313
Commit
67fb2313
authored
Dec 23, 2022
by
isstuev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gray to black alpha for better transition
parent
420bfd15
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
15 additions
and
15 deletions
+15
-15
Popover.ts
theme/components/Popover.ts
+1
-1
Table.ts
theme/components/Table.ts
+1
-1
getOutlinedFieldStyles.ts
theme/utils/getOutlinedFieldStyles.ts
+1
-1
LatestBlocksItem.tsx
ui/home/LatestBlocksItem.tsx
+1
-1
LatestBlocksItemSkeleton.tsx
ui/home/LatestBlocksItemSkeleton.tsx
+1
-1
LatestTxsItem.tsx
ui/home/LatestTxsItem.tsx
+1
-1
LatestTxsItemSkeleton.tsx
ui/home/LatestTxsItemSkeleton.tsx
+1
-1
useColors.ts
ui/snippets/navigation/useColors.ts
+1
-1
useColors.ts
ui/snippets/networkMenu/useColors.ts
+2
-2
ProfileMenuContent.tsx
ui/snippets/profileMenu/ProfileMenuContent.tsx
+2
-2
TxAdditionalInfo.tsx
ui/txs/TxAdditionalInfo.tsx
+1
-1
TxsFilters.tsx
ui/txs/TxsFilters.tsx
+1
-1
TxsTableItem.tsx
ui/txs/TxsTableItem.tsx
+1
-1
No files found.
theme/components/Popover.ts
View file @
67fb2313
...
@@ -19,7 +19,7 @@ const baseStylePopper = defineStyle({
...
@@ -19,7 +19,7 @@ const baseStylePopper = defineStyle({
const
baseStyleContent
=
defineStyle
((
props
)
=>
{
const
baseStyleContent
=
defineStyle
((
props
)
=>
{
const
bg
=
mode
(
'
white
'
,
'
gray.900
'
)(
props
);
const
bg
=
mode
(
'
white
'
,
'
gray.900
'
)(
props
);
const
shadowColor
=
mode
(
'
gray
.200
'
,
'
whiteAlpha.300
'
)(
props
);
const
shadowColor
=
mode
(
'
blackAlpha
.200
'
,
'
whiteAlpha.300
'
)(
props
);
return
{
return
{
[
$popperBg
.
variable
]:
`colors.
${
bg
}
`
,
[
$popperBg
.
variable
]:
`colors.
${
bg
}
`
,
...
...
theme/components/Table.ts
View file @
67fb2313
...
@@ -15,7 +15,7 @@ const variantSimple = definePartsStyle((props) => {
...
@@ -15,7 +15,7 @@ const variantSimple = definePartsStyle((props) => {
return
{
return
{
th
:
{
th
:
{
border
:
0
,
border
:
0
,
color
:
mode
(
'
gray.6
00
'
,
'
whiteAlpha.700
'
)(
props
),
color
:
mode
(
'
blackAlpha.7
00
'
,
'
whiteAlpha.700
'
)(
props
),
backgroundColor
:
mode
(
'
blackAlpha.100
'
,
'
whiteAlpha.200
'
)(
props
),
backgroundColor
:
mode
(
'
blackAlpha.100
'
,
'
whiteAlpha.200
'
)(
props
),
...
transitionProps
,
...
transitionProps
,
},
},
...
...
theme/utils/getOutlinedFieldStyles.ts
View file @
67fb2313
...
@@ -24,7 +24,7 @@ export default function getOutlinedFieldStyles(props: StyleFunctionProps) {
...
@@ -24,7 +24,7 @@ export default function getOutlinedFieldStyles(props: StyleFunctionProps) {
},
},
_disabled
:
{
_disabled
:
{
opacity
:
1
,
opacity
:
1
,
backgroundColor
:
mode
(
'
gray
.200
'
,
'
whiteAlpha.200
'
)(
props
),
backgroundColor
:
mode
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
)(
props
),
borderColor
:
'
transparent
'
,
borderColor
:
'
transparent
'
,
cursor
:
'
not-allowed
'
,
cursor
:
'
not-allowed
'
,
_hover
:
{
_hover
:
{
...
...
ui/home/LatestBlocksItem.tsx
View file @
67fb2313
...
@@ -36,7 +36,7 @@ const LatestBlocksItem = ({ block, h }: Props) => {
...
@@ -36,7 +36,7 @@ const LatestBlocksItem = ({ block, h }: Props) => {
transitionTimingFunction=
"linear"
transitionTimingFunction=
"linear"
borderRadius=
"12px"
borderRadius=
"12px"
border=
"1px solid"
border=
"1px solid"
borderColor=
{
useColorModeValue
(
'
gray
.200
'
,
'
whiteAlpha.200
'
)
}
borderColor=
{
useColorModeValue
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
)
}
p=
{
6
}
p=
{
6
}
h=
{
`${ h }px`
}
h=
{
`${ h }px`
}
minWidth=
{
{
base
:
'
100%
'
,
lg
:
'
280px
'
}
}
minWidth=
{
{
base
:
'
100%
'
,
lg
:
'
280px
'
}
}
...
...
ui/home/LatestBlocksItemSkeleton.tsx
View file @
67fb2313
...
@@ -15,7 +15,7 @@ const LatestBlocksItemSkeleton = () => {
...
@@ -15,7 +15,7 @@ const LatestBlocksItemSkeleton = () => {
minWidth=
{
{
base
:
'
100%
'
,
lg
:
'
280px
'
}
}
minWidth=
{
{
base
:
'
100%
'
,
lg
:
'
280px
'
}
}
borderRadius=
"12px"
borderRadius=
"12px"
border=
"1px solid"
border=
"1px solid"
borderColor=
{
useColorModeValue
(
'
gray
.200
'
,
'
whiteAlpha.200
'
)
}
borderColor=
{
useColorModeValue
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
)
}
p=
{
6
}
p=
{
6
}
>
>
<
Flex
justifyContent=
"space-between"
alignItems=
"center"
mb=
{
3
}
>
<
Flex
justifyContent=
"space-between"
alignItems=
"center"
mb=
{
3
}
>
...
...
ui/home/LatestTxsItem.tsx
View file @
67fb2313
...
@@ -37,7 +37,7 @@ type Props = {
...
@@ -37,7 +37,7 @@ type Props = {
}
}
const
LatestBlocksItem
=
({
tx
}:
Props
)
=>
{
const
LatestBlocksItem
=
({
tx
}:
Props
)
=>
{
const
borderColor
=
useColorModeValue
(
'
gray
.200
'
,
'
whiteAlpha.200
'
);
const
borderColor
=
useColorModeValue
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
);
const
iconColor
=
useColorModeValue
(
'
blue.600
'
,
'
blue.300
'
);
const
iconColor
=
useColorModeValue
(
'
blue.600
'
,
'
blue.300
'
);
const
dataTo
=
tx
.
to
?
tx
.
to
:
tx
.
created_contract
;
const
dataTo
=
tx
.
to
?
tx
.
to
:
tx
.
created_contract
;
...
...
ui/home/LatestTxsItemSkeleton.tsx
View file @
67fb2313
...
@@ -9,7 +9,7 @@ import {
...
@@ -9,7 +9,7 @@ import {
import
React
from
'
react
'
;
import
React
from
'
react
'
;
const
LatestTxsItemSkeleton
=
()
=>
{
const
LatestTxsItemSkeleton
=
()
=>
{
const
borderColor
=
useColorModeValue
(
'
gray
.200
'
,
'
whiteAlpha.200
'
);
const
borderColor
=
useColorModeValue
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
);
return
(
return
(
<
Box
<
Box
...
...
ui/snippets/navigation/useColors.ts
View file @
67fb2313
...
@@ -12,7 +12,7 @@ export default function useColors() {
...
@@ -12,7 +12,7 @@ export default function useColors() {
active
:
useColorModeValue
(
'
blue.50
'
,
'
gray.800
'
),
active
:
useColorModeValue
(
'
blue.50
'
,
'
gray.800
'
),
},
},
border
:
{
border
:
{
'
default
'
:
useColorModeValue
(
'
gray
.200
'
,
'
whiteAlpha.200
'
),
'
default
'
:
useColorModeValue
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
),
active
:
useColorModeValue
(
'
blue.50
'
,
'
gray.800
'
),
active
:
useColorModeValue
(
'
blue.50
'
,
'
gray.800
'
),
},
},
};
};
...
...
ui/snippets/networkMenu/useColors.ts
View file @
67fb2313
...
@@ -7,7 +7,7 @@ export default function useColors({ hasIcon }: {hasIcon: boolean}) {
...
@@ -7,7 +7,7 @@ export default function useColors({ hasIcon }: {hasIcon: boolean}) {
return
{
return
{
text
:
{
text
:
{
'
default
'
:
useColorModeValue
(
'
gray.600
'
,
'
gray.400
'
),
'
default
'
:
useColorModeValue
(
'
gray.600
'
,
'
gray.400
'
),
active
:
useColorModeValue
(
'
gray.7
00
'
,
'
whiteAlpha.900
'
),
active
:
useColorModeValue
(
'
blackAlpha.9
00
'
,
'
whiteAlpha.900
'
),
hover
:
useColorModeValue
(
'
blue.600
'
,
'
blue.400
'
),
hover
:
useColorModeValue
(
'
blue.600
'
,
'
blue.400
'
),
},
},
icon
:
{
icon
:
{
...
@@ -19,7 +19,7 @@ export default function useColors({ hasIcon }: {hasIcon: boolean}) {
...
@@ -19,7 +19,7 @@ export default function useColors({ hasIcon }: {hasIcon: boolean}) {
active
:
useColorModeValue
(
'
blue.50
'
,
'
gray.800
'
),
active
:
useColorModeValue
(
'
blue.50
'
,
'
gray.800
'
),
},
},
border
:
{
border
:
{
'
default
'
:
useColorModeValue
(
'
gray
.200
'
,
'
whiteAlpha.200
'
),
'
default
'
:
useColorModeValue
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
),
active
:
useColorModeValue
(
'
blue.50
'
,
'
gray.800
'
),
active
:
useColorModeValue
(
'
blue.50
'
,
'
gray.800
'
),
},
},
};
};
...
...
ui/snippets/profileMenu/ProfileMenuContent.tsx
View file @
67fb2313
...
@@ -12,8 +12,8 @@ type Props = UserInfo;
...
@@ -12,8 +12,8 @@ type Props = UserInfo;
const
ProfileMenuContent
=
({
name
,
nickname
,
email
}:
Props
)
=>
{
const
ProfileMenuContent
=
({
name
,
nickname
,
email
}:
Props
)
=>
{
const
{
accountNavItems
,
profileItem
}
=
useNavItems
();
const
{
accountNavItems
,
profileItem
}
=
useNavItems
();
const
borderColor
=
useColorModeValue
(
'
gray
.200
'
,
'
whiteAlpha.200
'
);
const
borderColor
=
useColorModeValue
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
);
const
primaryTextColor
=
useColorModeValue
(
'
gray.6
00
'
,
'
whiteAlpha.800
'
);
const
primaryTextColor
=
useColorModeValue
(
'
blackAlpha.8
00
'
,
'
whiteAlpha.800
'
);
return
(
return
(
<
Box
>
<
Box
>
...
...
ui/txs/TxAdditionalInfo.tsx
View file @
67fb2313
...
@@ -12,7 +12,7 @@ import TextSeparator from 'ui/shared/TextSeparator';
...
@@ -12,7 +12,7 @@ import TextSeparator from 'ui/shared/TextSeparator';
import
Utilization
from
'
ui/shared/Utilization/Utilization
'
;
import
Utilization
from
'
ui/shared/Utilization/Utilization
'
;
const
TxAdditionalInfo
=
({
tx
}:
{
tx
:
Transaction
})
=>
{
const
TxAdditionalInfo
=
({
tx
}:
{
tx
:
Transaction
})
=>
{
const
sectionBorderColor
=
useColorModeValue
(
'
gray
.200
'
,
'
whiteAlpha.200
'
);
const
sectionBorderColor
=
useColorModeValue
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
);
const
sectionProps
=
{
const
sectionProps
=
{
borderBottom
:
'
1px solid
'
,
borderBottom
:
'
1px solid
'
,
borderColor
:
sectionBorderColor
,
borderColor
:
sectionBorderColor
,
...
...
ui/txs/TxsFilters.tsx
View file @
67fb2313
...
@@ -72,7 +72,7 @@ const TxsFilters = ({ onFiltersChange, filters, appliedFiltersNum }: Props) => {
...
@@ -72,7 +72,7 @@ const TxsFilters = ({ onFiltersChange, filters, appliedFiltersNum }: Props) => {
onClose
();
onClose
();
},
[
onClose
,
onFiltersChange
,
typeFilter
,
methodFilter
]);
},
[
onClose
,
onFiltersChange
,
typeFilter
,
methodFilter
]);
const
borderColor
=
useColorModeValue
(
'
gray
.200
'
,
'
whiteAlpha.200
'
);
const
borderColor
=
useColorModeValue
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
);
return
(
return
(
<
Popover
isOpen=
{
isOpen
}
onClose=
{
onClose
}
placement=
"bottom-start"
isLazy
>
<
Popover
isOpen=
{
isOpen
}
onClose=
{
onClose
}
placement=
"bottom-start"
isLazy
>
...
...
ui/txs/TxsTableItem.tsx
View file @
67fb2313
...
@@ -68,7 +68,7 @@ const TxsTableItem = ({ tx, showBlockInfo, currentAddress, enableTimeIncrement }
...
@@ -68,7 +68,7 @@ const TxsTableItem = ({ tx, showBlockInfo, currentAddress, enableTimeIncrement }
</
Address
>
</
Address
>
);
);
const
infoBorderColor
=
useColorModeValue
(
'
gray
.200
'
,
'
whiteAlpha.200
'
);
const
infoBorderColor
=
useColorModeValue
(
'
blackAlpha
.200
'
,
'
whiteAlpha.200
'
);
return
(
return
(
<
Tr
>
<
Tr
>
<
Td
pl=
{
4
}
>
<
Td
pl=
{
4
}
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment