Skip to content

Commit

Permalink
change(headings): removed h3 and set important rules to subtitle-ligh…
Browse files Browse the repository at this point in the history
…t class

- we want to ensure the values from this class win even when it's applied on an element that have more specific rules applied
  • Loading branch information
ichim-david committed Mar 25, 2024
1 parent b61219a commit 89a69e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ test-update: ## Update jest tests snapshots

.PHONY: stylelint
stylelint: ## Stylelint
$(NODE_MODULES)/stylelint/bin/stylelint.js --allow-empty-input 'src/**/*.{css,less}'
$(NODE_MODULES)/.bin/stylelint --allow-empty-input 'src/**/*.{css,less}'

.PHONY: stylelint-overrides
stylelint-overrides:
$(NODE_MODULES)/.bin/stylelint --custom-syntax less --allow-empty-input 'theme/**/*.overrides' 'src/**/*.overrides'

.PHONY: stylelint-fix
stylelint-fix: ## Fix stylelint
$(NODE_MODULES)/stylelint/bin/stylelint.js --allow-empty-input 'src/**/*.{css,less}' --fix
$(NODE_MODULES)/.bin/stylelint --allow-empty-input 'src/**/*.{css,less}' --fix
$(NODE_MODULES)/.bin/stylelint --custom-syntax less --allow-empty-input 'theme/**/*.overrides' 'src/**/*.overrides' --fix

.PHONY: prettier
Expand Down
6 changes: 3 additions & 3 deletions theme/themes/eea/globals/site.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ h6 {
color: @headerColor;
}

h3.subtitle-light {
font-size: @h3-light;
font-weight: @font-weight-2;
.subtitle-light {
font-size: @h3-light !important;
font-weight: @font-weight-2 !important;
}

.content-area {
Expand Down

0 comments on commit 89a69e8

Please sign in to comment.