Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@jamescoyle/paper-css
Advanced tools
An opinionated, lightweight CSS framework based on the Material Design 2 specification.
An opinionated, lightweight CSS framework based on the Material Design 2 specification. This is intended to provide helper classes and base styles which can be utilised by component libraries to build more complex components.
Install using your prefered package manager.
Yarn
yarn add @jamescoyle/paper-css
NPM
npm install @jamescoyle/paper-css
Webpack
@import '~@jamescoyle/paper-css/index';
@import '~@jamescoyle/paper-css/layout/[layout-type]';
@import '~@jamescoyle/paper-css/component/[component-type]';
SASS
@import '[path-to-node-modules]/@jamescoyle/paper-css/index';
@import '[path-to-node-modules]/@jamescoyle/paper-css/layout/[layout-type]';
@import '[path-to-node-modules]/@jamescoyle/paper-css/component/[component-type]';
HTML - Not recommended for production
<link rel="stylesheet" href="[path-to-node-modules]/@jamescoyle/dist/index.css" />
<link rel="stylesheet" href="[path-to-node-modules]/@jamescoyle/dist/layout/[layout-type].css" />
<link rel="stylesheet" href="[path-to-node-modules]/@jamescoyle/dist/component/[component-type].css" />
The base folder contains base styles which are included in index.scss
. These styles do not need importing into your project.
Each file in this folder is responsible for styling a paricular UI component and often require specific markup. These files need to be imported into your project in order to use them.
The dist folder provides compiled versions of the scss files. It is not recommended that you use these files in production but they may be useful for quick prototyping and testing.
Each file in this folder is responsible for a particular aspect of document layout. As with the components, you need to import these files in order to use them in your project.
This folder contains mixins which help to define certain styles. These are for internal use but you are free to import them into your own SASS projects if they are helpful.
The public folder contains the code for the paper-css documentation website. You shouldn't need to touch anything in here unless you are contributing to the documentation.
The vars folder contains collections of CSS custom properties that are imported into base.scss
and set on the :root
element making them available anywhere. You do not need to import these manually.
FAQs
An opinionated, lightweight CSS framework based on the Material Design 2 specification.
We found that @jamescoyle/paper-css demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.