1.1.0 • Published 8 months ago

astro-material-design v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
8 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

8 months ago

1.0.9

8 months ago

1.0.8

8 months ago

1.0.7

8 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago

1.0.0

9 months ago