Internal
Applies a theme identifier to a <style> element.
<style>
If the provided id is truthy, the element receives the attribute data-theme set to the given id. Otherwise, the element will get the attribute data-no-theme without any value.
id
data-theme
data-no-theme
The <style> element to apply the identifier to
Optional
The theme identifier
true, if the style element belongs to a theme
Applies a theme identifier to a
<style>
element.If the provided
id
is truthy, the element receives the attributedata-theme
set to the givenid
. Otherwise, the element will get the attributedata-no-theme
without any value.