addInput($logoUrl->addRule('url', _t('请填写正确的 URL 地址'))); $colorSchema = new \Typecho\Widget\Helper\Form\Element\Select( 'colorSchema', array( null => _t('自动'), 'light' => _t('浅色'), 'dark' => _t('深色'), 'customize' => _t('自定义'), ), null, _t('外观风格'), _t('如果选择了自定义,主题将使用 theme.css 的样式') ); $form->addInput($colorSchema); } function postMeta( \Widget\Archive $archive, string $metaType = 'archive' ) { ?>