Skip to content

Commit

Permalink
fussing with styling options
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWoodward committed Jul 25, 2024
1 parent e6dd16c commit 2a06d3f
Show file tree
Hide file tree
Showing 2 changed files with 988 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pages/custom_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ class CTALinkBlock(LinkInfoBlock):
('style', blocks.ChoiceBlock(choices=[
('primary', 'Primary'),
('white', 'White'),
('blue-outline', 'Blue Outline'),
('deep-green', 'Deep Green Outline'),
('blue_outline', 'Blue Outline'),
('deep_green_outline', 'Deep Green Outline'),
], default='descending')),
], block_counts={
'style': {'max_num': 1},
Expand All @@ -94,7 +94,7 @@ class LinksGroupBlock(blocks.StructBlock):
('color', blocks.ChoiceBlock(choices=[
('white', 'White'),
('blue', 'Blue'),
('deep-green', 'Deep Green'),
('deep_green', 'Deep Green'),
], default='descending')),
], block_counts={
'color': {'max_num': 1},
Expand Down
Loading

0 comments on commit 2a06d3f

Please sign in to comment.