1.1.7 • Published 12 months ago

dantesco v1.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

Dantesco

A Web Component's library for esaramago.

How to use in your project

Include in your project

Install and import via npm

npm install dantesco --save
// main.js
import '/node_modules/dantesco/dist/dantesco/core.css'
import '/node_modules/dantesco/dist/dantesco/core.esm.js'

Include via cdn

<!-- index.html -->

<link rel="stylesheet" href="https://unpkg.com/dantesco@1.0.1/dist/dantesco/core.css">

<script type="module" src="https://unpkg.com/dantesco@1.0.1/dist/dantesco/core.esm.js"></script>

Theme

The following css custom properties are from the default theme. Add them to your project, if you want to change them

:host {
  --color-main-500: #333;
  --color-secondary-500: #666;

  --gap: 1.6rem;

  --font-size: 1.5rem;
}

Layout example

<d-header name="..."></d-header>
<main d-container d-stack>
  ...
</main>

Run storybook

npm run storybook

How to continue developing Dantesco

How to publish this library

  1. Run npm run build
  2. Update library version in package.json
  3. Run npm publish --access=public

To Do

  • Create web component's library
  • Publish library to npm
  • Create a Storybook
  • Start using the library
1.1.7

12 months ago

1.1.6

12 months ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago

0.1.15

1 year ago

0.1.14

1 year ago

0.1.13

1 year ago

0.1.12

1 year ago

0.1.11

1 year ago