Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
Merge pull request #13 from tim-s-ccs/v0.2.0
Browse files Browse the repository at this point in the history
Release v0.2.0
  • Loading branch information
tim-s-ccs authored Jan 24, 2022
2 parents 2e0272f + c573966 commit bc59f95
Show file tree
Hide file tree
Showing 82 changed files with 59 additions and 4,403 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
# Changelog

## 0.2.0 (Pre Release)
- Remove as much of the code as possible to slim down the package:
- [PR #12](https://github.com/tim-s-ccs/tim-ccs-components/pull/12)

## 0.1.5 (Pre Release)
- Get all of the tests working:
- [PR #2](https://github.com/tim-s-ccs/tim-ccs-components/pull/2)
- [PR #8](https://github.com/tim-s-ccs/tim-ccs-components/pull/2)
- [PR #8](https://github.com/tim-s-ccs/tim-ccs-components/pull/8)

## 0.1.0 (Pre Release)
- First pre-release of CCS Compontents. Allows for the use of CCS header and footer accross different CCS applications
- First pre-release of CCS Compontents. Allows for the use of CCS header and footer accross different CCS applications
2 changes: 1 addition & 1 deletion dist/VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.5
0.2.0
Binary file removed dist/assets/fonts/bold-affa96571d-v2.woff
Binary file not shown.
Binary file removed dist/assets/fonts/bold-b542beb274-v2.woff2
Binary file not shown.
Binary file removed dist/assets/fonts/light-94a07e06a1-v2.woff2
Binary file not shown.
Binary file removed dist/assets/fonts/light-f591b13f7d-v2.woff
Binary file not shown.
3 changes: 0 additions & 3 deletions dist/ccs-components-0.1.5.min.css

This file was deleted.

3 changes: 3 additions & 0 deletions dist/ccs-components-0.2.0.min.css

Large diffs are not rendered by default.

File renamed without changes.
1 change: 0 additions & 1 deletion dist/ccs-components-ie8-0.1.5.min.css

This file was deleted.

1 change: 1 addition & 0 deletions dist/ccs-components-ie8-0.2.0.min.css

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions package/ccs/_base.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Add GOV.UK Frontend SASS
@import "node_modules/govuk-frontend/govuk/all";

@import "settings/all";
@import "tools/all";
@import "helpers/all";
3 changes: 3 additions & 0 deletions package/ccs/all-ie8.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// By setting $govuk-is-ie8 to true, we create a version of the stylesheet that
// targets IE8 – e.g. conditionally including or excluding styles, and
// rasterizing media queries.
// Note, there are no CCS styles that are affected by this directly
// but there some that are affected indirectly through GOV.UK Frontend

$govuk-is-ie8: true;

@import "all";
Binary file removed package/ccs/assets/fonts/bold-affa96571d-v2.woff
Binary file not shown.
Binary file removed package/ccs/assets/fonts/bold-b542beb274-v2.woff2
Binary file not shown.
Binary file removed package/ccs/assets/fonts/light-94a07e06a1-v2.woff2
Binary file not shown.
Binary file removed package/ccs/assets/fonts/light-f591b13f7d-v2.woff
Binary file not shown.
10 changes: 5 additions & 5 deletions package/ccs/components/footer/_index.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@include govuk-exports("ccs/component/ccs-footer") {
@include ccs-exports("ccs/component/ccs-footer") {

$ccs-footer-background: #2f2f2f;
$ccs-footer-border: #b1b4b6;
$ccs-footer-background: ccs-colour("black");
$ccs-footer-border: $ccs-border-colour;
// This variable can be removed entirely once the legacy palette goes away,
// as it'll just be the same as $ccs-footer-border.
$ccs-footer-border-top: #b1b4b6;
$ccs-footer-text: govuk-colour("white");
$ccs-footer-border-top: $ccs-border-colour;
$ccs-footer-text: ccs-colour("white");

// Based on the govuk-crest-2x.png image dimensions.
$ccs-footer-crest-image-width-2x: 250px;
Expand Down
16 changes: 9 additions & 7 deletions package/ccs/components/header/_index.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
@include govuk-exports("ccs/component/ccs-header") {
$ccs-header-background: #9b1a47;
$ccs-header-border-color: $govuk-brand-colour;
@include ccs-exports("ccs/component/ccs-header") {
$ccs-header-background: $ccs-brand-colour;
$ccs-header-border-color: ccs-colour("blue");
$ccs-header-border-width: govuk-spacing(2);
$ccs-header-text: govuk-colour("white");
$ccs-header-link-active-border-color: govuk-colour("white");
$ccs-header-nav-item-border-color: #85163d;
$ccs-header-text: ccs-colour("white");
$ccs-header-link-active-border-color: ccs-colour("white");
$ccs-header-nav-item-border-color: ccs-colour("dark-red");
$ccs-header-link-underline-thickness: 3px;

.ccs-header {
Expand Down Expand Up @@ -293,7 +293,9 @@
// When focussed, the text colour needs to be darker to ensure that colour
// contrast is still acceptable
&:focus {
color: $govuk-focus-text-colour;
@include govuk-focused-text;

border-color: $govuk-focus-colour;
}
}
}
Expand Down
6 changes: 1 addition & 5 deletions package/ccs/core/_all.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
@import "links";
@import "lists";
@import "typography";
@import "section-break";
@import "global-styles";
// This has been intentionally left empty to allow for possible expansion in the future if required
19 changes: 0 additions & 19 deletions package/ccs/core/_global-styles.scss

This file was deleted.

35 changes: 0 additions & 35 deletions package/ccs/core/_links.scss

This file was deleted.

66 changes: 0 additions & 66 deletions package/ccs/core/_lists.scss

This file was deleted.

56 changes: 0 additions & 56 deletions package/ccs/core/_section-break.scss

This file was deleted.

Loading

0 comments on commit bc59f95

Please sign in to comment.