目次

スタイルカスタマイザーで見た目を調整する方法
スタイルカスタマイザーとは

LESSファイル作成

<!--変更前-->
<link rel="stylesheet" type="text/css" href="<?php echo $view->getThemePath()?>/assets/css/app.css">
<!--変更後-->
<link href="<?=$view->getStylesheet('app.less')?>" rel='stylesheet' type='text/css'>
デフォルト設定ファイル作成


xmlファイル設定
<?xml version="1.0"?>
<styles version="1.0">
<set name="スタイルセットの名前">
<style name="スタイルの名前" variable="変数" type="タイプ" />
</set>
</styles>

{$variable}-type-font-family
{$variable}-type-font-weight
{$variable}-type-text-decoration
{$variable}-type-text-transform
{$variable}-type-font-style
{$variable}-type-color
{$variable}-type-font-size
{$variable}-type-letter-spacing
{$variable}-type-line-height



スタイル調整




プリセット設定

