twentynineteen_custom_colors_lightness

过滤钩子
apply_filters( 'twentynineteen_custom_colors_lightness', 33 )
参数
  • (int) $lightness Color lightness level.
    Required:
定义位置
  • wp-content/themes/twentynineteen/inc/color-patterns.php , line 47
相关勾子
twentynineteen_custom_colors_lightness_hovertwentynineteen_custom_colors_csstwentynineteen_custom_colors_lightness_selectiontwentyseventeen_custom_colors_csstwentynineteen_custom_colors_saturation
相关方法
wp_get_custom_css
引入
Twenty Nineteen 1.0
弃用
-

twentynineteen_custom_colors_lightness: 这是一个过滤器钩子,允许开发者改变Twenty Nineteen主题中的自定义颜色的亮度(亮度)。

过滤Twenty Nineteen主题的默认亮度水平。

$lightness = apply_filters( 'twentynineteen_custom_colors_lightness', 33 );

常见问题

FAQs
查看更多 >
闪电侠

(工作日 10:00 - 18:30 为您服务)

2025-12-06 12:33:18

您好,无论是售前、售后、意见建议……均可通过联系工单与我们取得联系。

您也可选择聊天工具与我们即时沟通或点击查看:

您的工单我们已经收到,我们将会尽快跟您联系!
取消
选择聊天工具: