1.1.21 • Published 1 year ago

@marketgoo/ola-emails v1.1.21

Weekly downloads
123
License
MIT
Repository
github
Last release
1 year ago

Ola for emails

MJML implementation of Ola design system created by marketgoo.

Install

npm i @marketgoo/ola-emails

Usage

You can load the mjml code in three different ways:

ola-emails '<mjml>...</mjml>'
ola-emails --file 'email.mjml'
ola-emails < email.mjml

Options

  • --theme. The path of a json file with a theme tokens.
  • --validation. Validation level (strict, soft or skip). soft by default
  • --file. The file with the mjml code

Example

ola-emails --theme=./my-theme.json --file email.mjml > email.html

Documentation

Documentation page is available https://marketgoo.github.io/Ola-Emails/docs.html

You can document your new components (or edits) in the docs.js file at the root of project.

As you can see, there is a json with all of the components. The schema of each object is:

  • name: Name of component. Example OlaIcon
  • tag: Tag of component: Example ola-icon
  • attr: What attributes are avaibable in this component, with their types and allowed/default values.
  • parent: The tag name of the parent, if has.
  • subcomponents: Array with the tags of it children, if has.
  • example: An example of implementation of this componnent.
1.0.7

1 year ago

1.0.5

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.16

1 year ago

1.1.15

1 year ago

1.1.14

1 year ago

1.1.13

1 year ago

1.1.19

1 year ago

1.1.18

1 year ago

1.1.17

1 year ago

1.1.21

1 year ago

1.1.20

1 year ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

0.7.0

3 years ago

0.6.0

3 years ago

0.4.9

4 years ago

0.5.0

3 years ago

0.4.8

4 years ago

0.4.7

4 years ago

0.4.6

4 years ago

0.4.5

4 years ago

0.3.13

5 years ago

0.4.4

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.3.12

5 years ago

0.3.11

5 years ago

0.3.10

5 years ago

0.3.9

5 years ago

0.3.8

5 years ago

0.3.7

5 years ago

0.3.6

5 years ago

0.3.5

5 years ago

0.3.4

5 years ago

0.3.3

5 years ago

0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.1-beta.2

6 years ago