mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-21 02:56:40 -08:00
move into preview
This commit is contained in:
parent
6ea725b7e5
commit
c7cd2562e6
|
@ -1,48 +0,0 @@
|
|||
# element-theme-n8n
|
||||
|
||||
> element component chalk theme by css variable.
|
||||
|
||||
[Online preview](https://n8n-io.github.io/element-theme-n8n/)
|
||||
|
||||
## Compatibility
|
||||
|
||||
CSS Variable
|
||||
https://caniuse.com/css-variables
|
||||
|
||||
## Installation
|
||||
|
||||
```shell
|
||||
npm i element-theme-n8n -S
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Use Sass import
|
||||
|
||||
```css
|
||||
@import 'element-theme-n8n';
|
||||
```
|
||||
|
||||
Or Use webpack
|
||||
|
||||
```javascript
|
||||
import 'element-theme-n8n';
|
||||
```
|
||||
|
||||
Or
|
||||
|
||||
```html
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="path/to/node_modules/element-theme-chalk/css-variable/lib/index.css"
|
||||
/>
|
||||
```
|
||||
|
||||
## Import on demand
|
||||
|
||||
```javascript
|
||||
import 'element-theme-n8n/dist/input.css';
|
||||
import 'element-theme-n8n/dist/select.css';
|
||||
|
||||
// ...
|
||||
```
|
|
@ -1,13 +1,12 @@
|
|||
<!DOCTYPE html>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Element UI Theme CSS Variable</title>
|
||||
<title>Deprecated - Element UI Theme CSS Variable</title>
|
||||
<!-- import CSS -->
|
||||
<link rel="stylesheet" href="./dist/index.css" />
|
||||
<link rel="stylesheet" href="../dist/index.css" />
|
||||
<link rel="stylesheet" href="./docs.css" />
|
||||
</head>
|
||||
|
||||
|
@ -176,9 +175,9 @@
|
|||
<div class="title">Example body text</div>
|
||||
<p
|
||||
class="paragraph"
|
||||
:style="{
|
||||
:style="{
|
||||
fontSize: font_size_base,
|
||||
fontWeight: font_weight_primary,
|
||||
fontWeight: font_weight_primary,
|
||||
lineHeight: font_line_height_primary
|
||||
}"
|
||||
>
|
||||
|
@ -192,9 +191,9 @@
|
|||
<div class="title">Example small text</div>
|
||||
<p
|
||||
class="paragraph"
|
||||
:style="{
|
||||
:style="{
|
||||
fontSize: font_size_small,
|
||||
fontWeight: font_weight_secondary,
|
||||
fontWeight: font_weight_secondary,
|
||||
lineHeight: font_line_height_secondary
|
||||
}"
|
||||
>
|
Loading…
Reference in a new issue