option-tree
option-tree copied to clipboard
Feature request: Conditionals on dynamic.css
Hi Derek,
it would be nice to have a conditional structure inside CSS fields, for example having fields to setup a custom font:
{{if (custom_font)}} @font-face { font-family: 'CustomThemeFont'; src: url({{custom_font_eot}}); /* IE9 Compat Modes / src: url('{{custom_font_eot}}?#iefix') format('embedded-opentype'), / IE6-IE8 / url({{custom_font_woff}}) format('woff'), / Modern Browsers / url({{custom_font_ttf}}) format('truetype'), / Safari, Android, iOS / url('{{custom_font_svg}}#svgFontName') format('svg'); / Legacy iOS */ } {{endif}}