Sha256: a6a4adfdf397d09145cf72a2ec7efb58916efcd0096ea2f60f57c4ec352d886d

Contents?: true

Size: 817 Bytes

Versions: 50

Compression:

Stored size: 817 Bytes

Contents

{"version":3,"sources":["../../../src/govuk/tools/_px-to-rem.scss"],"names":[],"mappings":"AAAA,GAAG;AACH,+BAA+B;AAC/B,GAAG;;AAEH,wBAAwB;AACxB,EAAE;AACF,8EAA8E;AAC9E,wEAAwE;AACxE,EAAE;AACF,4CAA4C;AAC5C,kCAAkC;AAClC,iBAAiB;;AAEjB;EACE;IACE,oBAAoB;EACtB;;EAEA,6CAA6C;AAC/C","file":"_px-to-rem.scss","sourcesContent":["////\n/// @group tools/unit-conversion\n////\n\n/// Convert pixels to rem\n///\n/// The $govuk-root-font-size (defined in settings/_typography-responsive.scss)\n/// must be configured to match the font-size of your root (html) element\n///\n/// @param {Number} $value - Length in pixels\n/// @return {Number} Length in rems\n/// @access public\n\n@function govuk-px-to-rem($value) {\n  @if unitless($value) {\n    $value: $value * 1px;\n  }\n\n  @return $value / $govuk-root-font-size * 1rem;\n}\n"]}

Version data entries

50 entries across 50 versions & 2 rubygems

Version Path
govuk_publishing_components-46.0.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.10.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.9.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.8.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.7.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.6.1 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.6.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.5.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.4.1 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.4.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.3.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.2.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.1.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-45.0.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-44.11.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-44.10.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-44.9.1 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-44.9.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-44.8.0 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map
govuk_publishing_components-44.7.1 node_modules/govuk-frontend/dist/govuk/tools/_px-to-rem.scss.map