Files
notifications-admin/app/assets/stylesheets/govuk-frontend/_all.scss
Katie Smith f9c551a558 Add and use textarea component from GOV.UK Frontend
For the "Something else" branding form we want the form label to be the
title. This brings in the textarea component from GOV.UK Frontend in
order to do this since that contains code to set a the textarea label as
the page heading in an accessible way.

The rest of the textarea fields have not been switched to use the new
component yet.
2022-02-03 09:59:21 +00:00

53 lines
1.9 KiB
SCSS

// Version of node_modules/govuk-frontend/components/all.scss specific to Notify
// Included to allow us to only include the components we need
// All imports come from node_modules/govuk-frontend
// turn on compatibility mode for all legacy frameworks
// https://github.com/alphagov/govuk-frontend/blob/master/docs/installation/compatibility.md#turn-on-compatibility-mode
// to be removed when these frameworks are removed.
$govuk-compatibility-govukfrontendtoolkit: true;
$govuk-compatibility-govukelements: true;
// set asset URL root to match that of application
$govuk-assets-path: "/static/";
@import "settings/all";
// update to focus styles, remove when upgrading to GOVUK Frontend 3.x.x
@import "./focus/settings";
@import "tools/all";
@import "helpers/all";
// update to focus styles, remove when upgrading to GOVUK Frontend 3.x.x
@import "./focus/helpers";
@import "core/all";
// update to focus styles, remove when upgrading to GOVUK Frontend 3.x.x
@import "./focus/core";
@import "objects/all";
// section replacing @import "components/all", specifying which components to include
@import "components/skip-link/_skip-link";
@import "components/header/_header";
@import "components/footer/_footer";
@import "components/back-link/_back-link";
@import "components/button/_button";
@import "components/details/_details";
@import "components/radios/_radios";
@import "components/checkboxes/_checkboxes";
@import "components/input/_input";
@import "components/inset-text/_inset-text";
@import "components/textarea/_textarea";
// update to focus styles, remove when upgrading to GOVUK Frontend 3.x.x
@import "./focus/components";
@import "utilities/all";
@import "overrides/all";
// Styles extending those from GOV.UK Frontend
@import "./extensions";
// update to focus styles, remove when upgrading to GOVUK Frontend 3.x.x
@import "./focus/extensions";
// Styles for GOV.UK Frontend components specific to this application
@import "./overrides";