# dtools-style

> 集成通用的样式、初始化设置以及预编译方法

Latest version **0.0.1** (published 2021-03-13) · ISC license · 0 weekly downloads

## Install

```sh
npm install dtools-style
pnpm add dtools-style
yarn add dtools-style
bun add dtools-style
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2021-03-13 |
| First published | 2021-03-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Fangyu Du |
| Maintainers | dufy |
| Keywords | less, scss, css, normalize-css |

## Links

- npm: https://www.npmjs.com/package/dtools-style
- npm.io page: https://npm.io/package/dtools-style

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2021-03-13

## README

# DTOOLS-STYLE

by @FangyuDu

集成常用的样式初始化、通用样式以及一些预编译方法。

## 模块
- `normalize` 样式初始化
- `common` 通用样式
- `scss/mixin` scss 常用的方法

## 使用
安装
```
npm install dtools-style --save
```
`normalize`、`common` 引入
```js
// css 样式充值
import 'dtools-style/css/normalize.css';
// 常用样式
import 'dtools-style/css/common.css';
```

`scss/mixin` 引入
```scss
// scss 文件中引入
@import 'dtools/scss/_mixin';

// 示例
.app-header {
  @include height-s(50px);
}
```

## 其他工具
- `dtools-regexp` 常用的正则验证
- `dtools-js` 常用的JS方法库

---
_Source: https://npm.io/package/dtools-style · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
