Skip to content

Commit

Permalink
Merge branch 'main' of github.com:nationalarchives/tna-frontend into …
Browse files Browse the repository at this point in the history
…feature/search-components
  • Loading branch information
ahosgood committed Oct 11, 2023
2 parents 9460a31 + 1bf615b commit 1fb684e
Show file tree
Hide file tree
Showing 9 changed files with 138 additions and 207 deletions.
11 changes: 10 additions & 1 deletion .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,15 @@
"selector-class-pattern": null,
"plugin/selector-bem-pattern": {
"preset": "bem"
}
},
"color-function-notation": [
"modern",
{
"ignore": [
"with-var-inside"
]
}
],
"scss/operator-no-newline-after": null
}
}
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- `typography.$base-font-size-px` is now `typography.$relative-1rem-px`
- `xl` and `l` headings are Supria Sans and `m` and `s` are Open Sans
- Card heading size defaults to `s`
- Updated app icons and favicon

### Deprecated
### Removed
Expand Down
Binary file modified src/nationalarchives/assets/images/favicon.ico
Binary file not shown.
22 changes: 17 additions & 5 deletions src/nationalarchives/assets/images/mask-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

51 changes: 0 additions & 51 deletions src/nationalarchives/assets/images/tna-horizontal-logo.svg

This file was deleted.

20 changes: 10 additions & 10 deletions src/nationalarchives/tools/_colour.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
@use "../variables/colour";
@use "../tools/media";

@function brand-colour($colour) {
@return map.get(colour.$colour-palette-brand, $colour);
@function brand-colour($colour, $opacity: 1) {
@return colour.brand-colour($colour, $opacity);
}

@mixin colour-css-vars() {
Expand Down Expand Up @@ -37,22 +37,22 @@
--accent-background-light: #{brand-colour("cream")} !important;
--accent-font-base: #{brand-colour("black")} !important;
--accent-font-dark: #{brand-colour("black")} !important;
--accent-font-light: #{rgba(brand-colour("black"), 0.7)} !important;
--accent-icon-light: #{rgba(brand-colour("black"), 0.45)} !important;
--accent-font-light: #{brand-colour("black", 0.7)} !important;
--accent-icon-light: #{brand-colour("black", 0.45)} !important;
--accent-link: #{brand-colour("black")} !important;
--accent-link-visited: #{brand-colour("black")} !important;
--accent-keyline: #{rgba(brand-colour("black"), 0.5)} !important;
--accent-keyline-dark: #{rgba(brand-colour("black"), 0.8)} !important;
--accent-keyline: #{brand-colour("black", 0.5)} !important;
--accent-keyline-dark: #{brand-colour("black", 0.8)} !important;
--button-accent-background: #{brand-colour("yellow")} !important;
} @else {
--accent-font-base: #{brand-colour("white")} !important;
--accent-font-dark: #{brand-colour("white")} !important;
--accent-font-light: #{rgba(brand-colour("white"), 0.7)} !important;
--accent-icon-light: #{rgba(brand-colour("white"), 0.45)} !important;
--accent-font-light: #{brand-colour("white", 0.7)} !important;
--accent-icon-light: #{brand-colour("white", 0.45)} !important;
--accent-link: #{brand-colour("white")} !important;
--accent-link-visited: #{brand-colour("white")} !important;
--accent-keyline: #{rgba(brand-colour("white"), 0.5)} !important;
--accent-keyline-dark: #{rgba(brand-colour("white"), 0.8)} !important;
--accent-keyline: #{brand-colour("white", 0.5)} !important;
--accent-keyline-dark: #{brand-colour("white", 0.8)} !important;

@if $colour == "black" {
// --accent: #{brand-colour("light-grey")} !important;
Expand Down
Loading

0 comments on commit 1fb684e

Please sign in to comment.