From ab8e1f7e94d72e6d0ee9bb093ccf3cc9a12ff55b Mon Sep 17 00:00:00 2001 From: kashifatcha Date: Wed, 29 Mar 2023 15:04:30 +0100 Subject: [PATCH] Delete application.scss --- app/assets/stylesheets/application.scss | 12 +++--------- app/views/layouts/application.html.erb | 1 - 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index d91f10fb3..d4e4667a8 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -1,10 +1,4 @@ -$govuk-compatibility-govuktemplate: false; -$govuk-use-legacy-palette: false; -$govuk-new-link-styles: true; - -// This flag stops the font from being included in this application's -// stylesheet - the font is being served by Static across all of GOV.UK, so is -// not needed here. -$govuk-include-default-font-face: false; - +// The AssetHelper module is configured for this application to load individual stylesheets +// for components and views on pages where they are needed. +// https://github.com/alphagov/govuk_publishing_components/blob/main/docs/set-up-individual-component-css-loading.md diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index 4b526dc89..9f3c99cc6 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -20,7 +20,6 @@ - <%= stylesheet_link_tag 'application', :media => "all", integrity: false %> <%= render_component_stylesheets %>