{"version":3,"sources":["../../../src/govuk/settings/_colours-palette.scss"],"names":[],"mappings":"AAAA,uBAAuB;;AAEvB,4EAA4E;AAC5E,gCAAgC;;AAEhC,GAAG;AACH,0BAA0B;AAC1B,GAAG;;AAEH,8BAA8B;AAC9B,EAAE;AACF,2EAA2E;AAC3E,4EAA4E;AAC5E,uDAAuD;AACvD,EAAE;AACF,gBAAgB;AAChB,iBAAiB;AACjB,8EAA8E;AAC9E,8BAA8B;;AAE9B;;;;;;;;UAQU;;AAEV,gFAAgF;AAChF,+DAA+D;AAC/D;;;;EAIE;gEAC8D;AAChE;;AAEA,wBAAwB;AACxB,EAAE;AACF,qEAAqE;AACrE,kEAAkE;AAClE,mDAAmD;AACnD,EAAE;AACF,kBAAkB;;AAElB;;;;;;;;;;;;;;;;;;;;;;;CAuBC;;AAED,wBAAwB;AACxB,EAAE;AACF,qEAAqE;AACrE,kEAAkE;AAClE,mDAAmD;AACnD,EAAE;AACF,kBAAkB;;AAElB;;;;;;;;;;;;;;;;;;;;;;;CAuBC;;AAED,iBAAiB;AACjB,EAAE;AACF,YAAY;AACZ,EAAE;AACF,6EAA6E;AAC7E,wDAAwD;AACxD,EAAE;AACF,iBAAiB;;AAEjB;;;;UAIU","file":"_colours-palette.scss","sourcesContent":["@import \"compatibility\";\n\n// stylelint-disable value-list-max-empty-lines -- allow empty lines in lists\n// in this file to allow grouping\n\n////\n/// @group settings/colours\n////\n\n/// Use 'legacy' colour palette\n///\n/// Whether or not to use the colour palette from GOV.UK Elements / Frontend\n/// Toolkit, for teams that are migrating to GOV.UK Frontend and may be using\n/// components from both places in a single application.\n///\n/// @type Boolean\n/// @access public\n/// @deprecated Will be removed in v5.0 with the rest of the compatibility mode\n/// suite of tools and settings\n\n$govuk-use-legacy-palette: if(\n (\n $govuk-compatibility-govukfrontendtoolkit or\n $govuk-compatibility-govuktemplate or\n $govuk-compatibility-govukelements\n ),\n true,\n false\n) !default;\n\n// Only show the deprecation warning if user is setting $govuk-use-legacy-palette\n// manually instead of automatically via compatibility variables\n@if $govuk-use-legacy-palette == true and\n $govuk-compatibility-govukfrontendtoolkit == false and\n $govuk-compatibility-govuktemplate == false and\n $govuk-compatibility-govukelements == false {\n @include _warning(legacy-palette, \"$govuk-use-legacy-palette is deprecated. \" +\n \"Only the modern colour palette will be supported from v5.0.\");\n}\n\n/// Modern colour palette\n///\n/// This exists only because you cannot easily set a !default variable\n/// conditionally (thanks to the way scope works in Sass) so we set\n/// `$govuk-colour-palette` using the `if` function.\n///\n/// @access private\n\n$_govuk-colour-palette-modern: (\n \"red\": #d4351c,\n \"yellow\": #ffdd00,\n \"green\": #00703c,\n \"blue\": #1d70b8,\n \"dark-blue\": #003078,\n \"light-blue\": #5694ca,\n \"purple\": #4c2c92,\n\n \"black\": #0b0c0c,\n \"dark-grey\": #505a5f,\n \"mid-grey\": #b1b4b6,\n \"light-grey\": #f3f2f1,\n \"white\": #ffffff,\n\n \"light-purple\": #6f72af,\n \"bright-purple\": #912b88,\n \"pink\": #d53880,\n \"light-pink\": #f499be,\n \"orange\": #f47738,\n \"brown\": #b58840,\n \"light-green\": #85994b,\n \"turquoise\": #28a197\n);\n\n/// Legacy colour palette\n///\n/// This exists only because you cannot easily set a !default variable\n/// conditionally (thanks to the way scope works in Sass) so we set\n/// `$govuk-colour-palette` using the `if` function.\n///\n/// @access private\n\n$_govuk-colour-palette-legacy: (\n \"purple\": #2e358b,\n \"light-purple\": #6f72af,\n \"bright-purple\": #912b88,\n \"pink\": #d53880,\n \"light-pink\": #f499be,\n \"red\": #b10e1e,\n \"bright-red\": #df3034,\n \"orange\": #f47738,\n \"brown\": #b58840,\n \"yellow\": #ffbf47,\n \"light-green\": #85994b,\n \"green\": #006435,\n \"turquoise\": #28a197,\n \"light-blue\": #2b8cc4,\n \"blue\": #005ea5,\n\n \"black\": #0b0c0c,\n \"grey-1\": #6f777b,\n \"grey-2\": #bfc1c3,\n \"grey-3\": #dee0e2,\n \"grey-4\": #f8f8f8,\n \"white\": #ffffff\n);\n\n/// Colour palette\n///\n/// @type Map\n///\n/// @prop $colour - Representation for the given $colour, where $colour is the\n/// friendly name for the colour (e.g. \"red\": #ff0000);\n///\n/// @access public\n\n$govuk-colours: if(\n $govuk-use-legacy-palette,\n $_govuk-colour-palette-legacy,\n $_govuk-colour-palette-modern\n) !default;\n"]}