1.0.4 • Published 8 months ago

@marketgoo/ola-emails v1.0.4

Weekly downloads
123
License
MIT
Repository
github
Last release
8 months 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.2

9 months ago

1.0.1

10 months ago

1.0.0

10 months ago

1.0.4

8 months ago

1.0.3

8 months ago

0.7.0

10 months ago

0.6.0

1 year ago

0.4.9

1 year ago

0.5.0

1 year ago

0.4.8

2 years ago

0.4.7

2 years ago

0.4.6

2 years ago

0.4.5

2 years ago

0.3.13

2 years ago

0.4.4

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.4.3

2 years ago

0.4.2

2 years ago

0.3.12

3 years ago

0.3.11

3 years ago

0.3.10

3 years ago

0.3.9

3 years ago

0.3.8

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.1-beta.2

4 years ago