New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@bolt/settings-font-size

Package Overview
Dependencies
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bolt/settings-font-size - npm Package Compare versions

Comparing version 0.2.0-alpha.40b17e25 to 0.2.0

18

package.json

@@ -11,4 +11,15 @@ {

],
"version": "0.2.0-alpha.40b17e25",
"author": "Mike Mai",
"version": "0.2.0",
"maintainers": [
{
"name": "Salem Ghoweri",
"email": "me@salemghoweri.com",
"web": "https://github.com/sghoweri"
},
{
"name": "Mike Mai",
"email": "boss@mikemai.net",
"web": "http://mikemai.net/"
}
],
"homepage": "https://boltdesignsystem.com",

@@ -26,3 +37,4 @@ "license": "MIT",

"access": "public"
}
},
"private": false
}

@@ -1,3 +0,55 @@

---
title: Font Size Settings
---
# @bolt/settings-font-size
Standardized font sizes in Bolt.
- [Sass Docs](https://www.boltdesignsystem.com/docs/#settings: font-size)
## Install
```bash
npm install @bolt/settings-font-size --save
```
## Basic usage
```scss
@import 'node_modules/@bolt/settings-font-size';
```
<!--
## Usage with [node-sass-magic-importer](https://github.com/maoberlehner/node-sass-magic-importer)
Using [node-sass](https://github.com/sass/node-sass) (or a plugin for Grunt, gulp or webpack which is using node-sass) in combination with the [node-sass-magic-importer](https://github.com/maoberlehner/node-sass-magic-importer) custom importer, can make importing CSS dependencies from `node_modules` a much nicer experience.
```scss
// Import the main file.
@import '~@avalanche/setting-font-sizes';
```
## Usage
```scss
// Function.
.selector {
font-size: setting-font-size(m);
}
// Map.
.selector {
font-size: map-get($font-sizes, m);
}
```
## Settings
```scss
/// Default font sizes.
/// @type Map
$font-sizes: (
xs: 0.64em,
s: 0.8em,
m: 1em,
l: 1.25em,
xl: 1.563em,
xxl: 1.953em,
xxxl: 2.441em,
) !default;
```
-->
### License
MIT

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc