Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
ember-cli-mdc-typography
Advanced tools
Readme
ember-cli addon for @material/typography
.
ember install ember-cli-mdc-typography
The {{mdc-typography}}
modifier, when applied to an element, adds a typography
attribute
to the component. The typography attribute allows you to programmatically customize
the typography of the component.
<div {{mdc-typography name}}></div>
The typography
value must be one of the following values:
headline1
headline2
headline3
headline4
headline5
headline6
subtitle1
subtitle2
body1
body2
caption
button
overline
The typography package automatically adds the mdc-typography
class to the
root of the ember application.
By default, this is the body
HTML element. You an change the root element
by changing the rootElement
property in config/environment.js
.
You can disable automatic typography integration by setting the ember-cli-mdc.typography.disabled
property in config/environment.js
.
let ENV = {
// ...
'ember-cli-mdc': {
typography: {
disabled: true, // disable adding .mdc-typography class to root element
autoLinkFont: false // disable adding <link> tag for Roboto font
}
}
};
The typography package automatically includes links to the Roboto fonts in your application.
When building a Corber application, the Roboto fonts are bundled with the application. This prevents the application from needing to download the fonts.
FAQs
ember-cli addon for @material/typography
The npm package ember-cli-mdc-typography receives a total of 127 weekly downloads. As such, ember-cli-mdc-typography popularity was classified as not popular.
We found that ember-cli-mdc-typography demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.