2.0.0 • Published 1 year ago

@lameuler/ler-astro v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

ler-astro

Astro components I use across some of my personal projects and sites.

These components are not intended to be used elsewhere, but anyway here's a proper README for my future self and anyone else who sees this.

Installation

To install the components, run

npm install @lameuler/ler-astro

You will need to set the default text color with the CSS variable --text.

html {
	--text: 0, 0, 0;
}
html.dark {
	--text: 255, 255, 255;
}

Then, you can import and use the components:

import { Header, Footer, ThemeSwitch, Head, HeadImgLinks, Year } from '@lameuler/ler-astro'

For the icons to display properly, you will also need to import icon.css. Note that this will apply styles to all svgs with the class icon.

import '@lameuler/ler-astro/icon.css'
1.5.0

1 year ago

2.3.0

1 year ago

2.2.1

1 year ago

2.2.0

1 year ago

2.5.0

1 year ago

2.4.1

1 year ago

2.4.0

1 year ago

2.2.2

1 year ago

2.5.1

1 year ago

2.1.0

1 year ago

2.0.0

1 year ago

1.4.0

2 years ago

1.3.0

2 years ago

1.2.4

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago