Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
interface
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
LuckySwap
interface
Commits
acbcd376
Unverified
Commit
acbcd376
authored
Feb 10, 2022
by
Zach Pomerantz
Committed by
GitHub
Feb 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: update type sizes (#3292)
parent
01c467b4
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
4 deletions
+5
-4
Output.tsx
src/lib/components/Swap/Output.tsx
+2
-2
TokenInput.tsx
src/lib/components/Swap/TokenInput.tsx
+1
-0
Widget.tsx
src/lib/components/Widget.tsx
+1
-1
type.tsx
src/lib/theme/type.tsx
+1
-1
No files found.
src/lib/components/Swap/Output.tsx
View file @
acbcd376
...
...
@@ -83,9 +83,9 @@ export default function Output({ disabled, focused, children }: PropsWithChildre
<
DynamicThemeProvider
color=
{
color
}
>
<
OutputColumn
hasColor=
{
hasColor
}
gap=
{
0.5
}
>
<
Row
>
<
ThemedText
.
Subhead
2
color=
"secondary"
>
<
ThemedText
.
Subhead
1
color=
"secondary"
>
<
Trans
>
For
</
Trans
>
</
ThemedText
.
Subhead
2
>
</
ThemedText
.
Subhead
1
>
</
Row
>
<
TokenInput
currency=
{
swapOutputCurrency
}
...
...
src/lib/components/Swap/TokenInput.tsx
View file @
acbcd376
...
...
@@ -16,6 +16,7 @@ const TokenInputRow = styled(Row)`
const
ValueInput
=
styled
(
DecimalInput
)
<
{
$loading
:
boolean
}
>
`
color:
${({
theme
})
=>
theme
.
primary
}
;
height: 1em;
:hover:not(:focus-within) {
color:
${({
theme
})
=>
theme
.
onHover
(
theme
.
primary
)}
;
...
...
src/lib/components/Widget.tsx
View file @
acbcd376
...
...
@@ -28,7 +28,7 @@ const WidgetWrapper = styled.div<{ width?: number | string }>`
font-size: 16px;
font-smooth: always;
font-variant: none;
height: 34
6
px;
height: 34
8
px;
min-width: 300px;
padding: 0.25em;
position: relative;
...
...
src/lib/theme/type.tsx
View file @
acbcd376
...
...
@@ -20,7 +20,7 @@ export function H1(props: TextProps) {
}
export
function
H2
(
props
:
TextProps
)
{
return
<
TextWrapper
className=
"headline headline-2"
fontSize=
{
24
}
fontWeight=
{
400
}
lineHeight=
"32px"
{
...
props
}
/>
return
<
TextWrapper
className=
"headline headline-2"
fontSize=
{
32
}
fontWeight=
{
400
}
lineHeight=
"32px"
{
...
props
}
/>
}
export
function
H3
(
props
:
TextProps
)
{
...
...
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