Skip to content

Commit

Permalink
Move css units into container configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
zoglo committed Mar 22, 2024
1 parent 39a4f79 commit e2fa5bb
Show file tree
Hide file tree
Showing 5 changed files with 194 additions and 149 deletions.
3 changes: 3 additions & 0 deletions config/config.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
contao_theme_manager_core:
config:
css_units: [ px, rem ]
contao:
image:
sizes:
Expand Down
1 change: 1 addition & 0 deletions contao/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
$GLOBALS['CTM_SETTINGS']['iconFont'] = '';

// Register the supported CSS units for ThemeManager
// @deprecated - to be removed in CTM 3
$GLOBALS['CTM_CSS_UNITS'] = ['px', 'rem'];

// Add configuration dca for themes
Expand Down
Loading

0 comments on commit e2fa5bb

Please sign in to comment.