Skip to content

Commit

Permalink
Merge pull request #368 from helsingborg-stad/fix/typography-variant
Browse files Browse the repository at this point in the history
fix: typography variant
  • Loading branch information
NiclasNorin authored Feb 15, 2024
2 parents 3b7663a + 6c3928f commit d4c467a
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 7 deletions.
1 change: 0 additions & 1 deletion source/php/Component/Block/block.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
@if ($content)
@typography([
'element' => 'p',
'variant' => 'p',
'classList' => [$baseClass . '__content']
])
{!! $content !!}
Expand Down
1 change: 0 additions & 1 deletion source/php/Component/Box/box.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
@if ($content)
@typography([
'element' => 'p',
'variant' => 'p',
'classList' => [$baseClass . '__content']
])
{!! $content !!}
Expand Down
2 changes: 1 addition & 1 deletion source/php/Component/Hero/partials/content.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@endif

@if ($paragraph)
@typography(['variant' => 'p', 'element' => 'p', 'classList' => [$baseClass . '__body']])
@typography(['element' => 'p', 'classList' => [$baseClass . '__body']])
{!! $paragraph !!}
@endtypography
@endif
Expand Down
2 changes: 1 addition & 1 deletion source/php/Component/Hero/views/twoColumn.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

@if ($paragraph)
@typography([
'variant' => 'p', 'element' => 'p',
'element' => 'p',
'classList' => [$baseClass . '__body']
])
{!! $paragraph !!}
Expand Down
1 change: 0 additions & 1 deletion source/php/Component/Product/components/header.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
@endtypography
@typography([
'element' => 'p',
'variant' => 'p',
'classList' => [$baseClass . '__label']
])
{{ $label }}
Expand Down
1 change: 0 additions & 1 deletion source/php/Component/Segment/components/content.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@

@if ($content)
@typography([
'variant' => 'p',
'element' => 'div',
'classList' => [$baseClass . '__text']
])
Expand Down
1 change: 0 additions & 1 deletion source/php/Component/Testimonials/partials/item.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

<div class="{{ $baseClass }}__quote">
@typography([
"variant" => "p",
"element" => "p",
"classList" => ['u-color__text--darker']
])
Expand Down

0 comments on commit d4c467a

Please sign in to comment.