sanman1k98 / www

Source code for my website
https://nicesandeep.com
MIT License
2 stars 0 forks source link

Use the `define:vars` directive on `<style>` tags #17

Closed sanman1k98 closed 1 year ago

sanman1k98 commented 1 year ago

I forgot that you can define CSS variables from the component frontmatter using the define:vars directive. You can also pass an object of CSS properties to the style attribute to style HTML elements inline.

I really need to clean up this mess.

sanman1k98 commented 1 year ago

No need to use the define:vars directive; defined all values within the page's <style> element for the masonry layout (#21).

Closing this issue.