Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102853081
typography.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 24, 21:08
Size
907 B
Mime Type
text/x-java
Expires
Wed, Feb 26, 21:08 (1 d, 19 h)
Engine
blob
Format
Raw Data
Handle
24441668
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
typography.js
View Options
import
style
from
'./style'
;
import
compose
from
'./compose'
;
export
var
fontFamily
=
style
({
prop
:
'fontFamily'
,
themeKey
:
'typography'
});
export
var
fontSize
=
style
({
prop
:
'fontSize'
,
themeKey
:
'typography'
});
export
var
fontStyle
=
style
({
prop
:
'fontStyle'
,
themeKey
:
'typography'
});
export
var
fontWeight
=
style
({
prop
:
'fontWeight'
,
themeKey
:
'typography'
});
export
var
letterSpacing
=
style
({
prop
:
'letterSpacing'
});
export
var
textTransform
=
style
({
prop
:
'textTransform'
});
export
var
lineHeight
=
style
({
prop
:
'lineHeight'
});
export
var
textAlign
=
style
({
prop
:
'textAlign'
});
export
var
typographyVariant
=
style
({
prop
:
'typography'
,
cssProperty
:
false
,
themeKey
:
'typography'
});
var
typography
=
compose
(
typographyVariant
,
fontFamily
,
fontSize
,
fontStyle
,
fontWeight
,
letterSpacing
,
lineHeight
,
textAlign
,
textTransform
);
export
default
typography
;
Event Timeline
Log In to Comment