zui.func.php 1.2 KB

12345678910111213141516171819202122
  1. <?php
  2. namespace zin;
  3. require_once __DIR__ . DS . 'zui.class.php';
  4. function rounded($value = true) {return zui::rounded($value);}
  5. function shadow($value = true) {return zui::shadow($value);}
  6. function primary($value = true) {return zui::primary($value);}
  7. function secondary($value = true) {return zui::secondary($value);}
  8. function success($value = true) {return zui::success($value);}
  9. function warning($value = true) {return zui::warning($value);}
  10. function danger($value = true) {return zui::danger($value);}
  11. function important($value = true) {return zui::important($value);}
  12. function special($value = true) {return zui::special($value);}
  13. function bg($value = null) {return zui::bg($value);}
  14. function muted($value = true) {return zui::muted($value);}
  15. function opacity($value) {return zui::opacity($value);}
  16. function disabled($value = true) {return zui::disabled($value);}
  17. function width($value) {return zui::width($value);}
  18. function height($value) {return zui::height($value);}
  19. function ring(/* ...$args */) {return call_user_func_array('\zin\zui::ring', func_get_args());}
  20. function border(/* ...$args */) {return call_user_func_array('\zin\zui::border', func_get_args());}