1.1.0 • Published 10 months ago

astro-material-design v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
10 months ago

An Astro "integration" that gives all Material 3 guidelines, styles, and components for use in websites made with Astro.

Install the package and add the following to your projects tsconfig.json file:

"compilerOptions": {
    "paths": {
        "@material-components/*": ["node_modules/astro-material-design/components/*"]
    }
}

To use it, import any component by adding something similar to the following into your file. Ensure that you always have a <Styles /> component in your pages.

---
import Styles from '@material-components/styles.astro'
import TextField from '@material-components/text-field.astro'
---

<Styles hex="#FF0000" /> // this is required to index all the style variables including colors, typescales, motion, elevation, etc.
1.1.0

10 months ago

1.0.9

10 months ago

1.0.8

10 months ago

1.0.7

10 months ago

1.0.6

10 months ago

1.0.5

10 months ago

1.0.4

10 months ago

1.0.3

10 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago