element/packages/theme-chalk
Simona 340da2ff61 Image: fix ssr and object-fit compatibility. (#15346)
* fix: Image is not defined during ssr

Delay loadImage to mounted hook and add $isServer check

* fix(image): simulate object-fit behavior to compatible with IE11 and other browsers which not suppor

fix #15278

* fix: image inline-flex with overflow will still extend its parent element
2019-05-07 11:57:37 +08:00
..
src Image: fix ssr and object-fit compatibility. (#15346) 2019-05-07 11:57:37 +08:00
.gitignore scaffolding chalk (#6643) 2017-08-23 18:07:14 +08:00
README.md scaffolding chalk (#6643) 2017-08-23 18:07:14 +08:00
gulpfile.js chore: upgrade gulp (#14745) 2019-03-18 16:15:18 +08:00
package.json [build] 2.8.2 2019-04-25 20:12:17 +08:00

README.md

element-theme-chalk

element component chalk theme.

Installation

npm i element-theme-chalk -S

Usage

Use Sass import

@import 'element-theme-chalk';

Or Use webpack

import 'element-theme-chalk';

Or

<link rel="stylesheet" href="path/to/node_modules/element-theme-chalk/lib/index.css">

Import on demand

import 'element-theme-chalk/lib/input.css';
import 'element-theme-chalk/lib/select.css';

// ...