Skip to content

Commit e2fa5bb

Browse files
committed
Move css units into container configuration
1 parent 39a4f79 commit e2fa5bb

File tree

5 files changed

+194
-149
lines changed

5 files changed

+194
-149
lines changed

config/config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
contao_theme_manager_core:
2+
config:
3+
css_units: [ px, rem ]
14
contao:
25
image:
36
sizes:

contao/config/config.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
$GLOBALS['CTM_SETTINGS']['iconFont'] = '';
1717

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

2122
// Add configuration dca for themes

0 commit comments

Comments
 (0)