Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UHF-9946: Grants hdbt_subtheme refactoring and updating changes #1010

Merged
merged 6 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .stylelintrc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,8 @@ rules:
color-named:
- never
- message: "HELFI: Instead of color values, please use tokens like $color-black instead"
string-quotes:
- single
- message: "HELFI: We use single quotes in SCSS"
declaration-block-no-redundant-longhand-properties: null # We prefer longhand properties for clarity in SCSS
selector-class-pattern: null # We're not too stict about selector class pattern
max-line-length: null # Lets not limit line length at this point
declaration-empty-line-before:
- never
- message: "HELFI: No need for empty line before declaration"
Expand Down
2 changes: 1 addition & 1 deletion dist/css/styles.min.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/scss/06_components/paragraphs/_hero.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ $koro-height: 50px;

.hero__image-container {
color: var(--hdbt-color-palette--primary);
outline: none;
pointer-events: none;
user-select: none;
}

.hero__text-content {
Expand Down
2 changes: 2 additions & 0 deletions templates/layout/page--401.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{% embed 'page.html.twig' %}
{% block page_content %}
{{ optional_messages }}
{% embed '@hdbt/misc/container.twig' with {container_element: 'error-page-content'} %}
{% block container_content %}
<div class="error-page__text-container">
Expand All @@ -26,6 +27,7 @@
{% if user_not_logged_in %}
<h2 class="error-page__login-title">{{ 'Log in'|t({}, {'context': 'Log in block title on error pages'}) }}</h2>
{% endif %}
{{ optional_login_block_description }}
<div class="error-page__login-form">
{{ drupal_block('user_login_block') }}
</div>
Expand Down