-module(glaze_oat). -compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]). -define(FILEPATH, "src/glaze_oat.gleam"). -export([register/1]). -file("src/glaze_oat.gleam", 7). -spec register(binary()) -> lustre@vdom@vnode:element(any()). register(Version) -> lustre@element:fragment( [lustre@element@html:link( [lustre@attribute:rel(<<"stylesheet"/utf8>>), lustre@attribute:href( <<<<"https://unpkg.com/@knadh/oat@"/utf8, Version/binary>>/binary, "/oat.min.css"/utf8>> )] ), lustre@element@html:script( [lustre@attribute:attribute(<<"defer"/utf8>>, <<"defer"/utf8>>), lustre@attribute:src( <<<<"https://unpkg.com/@knadh/oat@"/utf8, Version/binary>>/binary, "/oat.min.js"/utf8>> )], <<""/utf8>> ), lustre@element@html:style( [], <<" @layer utilities { :is(ul, ol, a).unstyled { list-style: none; text-decoration: none; padding: 0; } } "/utf8>> )] ).