_includes/shortcodes/internal-css

HTML <style> markup

Since:
  • 0.5.0
Source:
See:
Parameters:
NameTypeDescription
dataObject

Eleventy’s data object

Returns:
Type:
string

The rendered shortcode

Example
// In an Eleventy template
`${this.internalCSS(data)}`

Members

(inner) colors :string

File path for colors stylesheet

Source:
Type:
  • string

(inner) css :string

Placeholder for CSS to be added internally

Source:
Type:
  • string

(inner) fonts :string

File path for fonts stylesheet

Source:
Type:
  • string

(inner) layout :string

File path for layout stylesheet

Source:
Type:
  • string

(inner) numberingCSS :string

File path for numbering stylesheet

Source:
Type:
  • string

(inner) root :string

CSS custom properties

Source:
Type:
  • string

(inner) typography :string

File path for typography stylesheet

Source:
Type:
  • string