kt-
prefixes for clarity and to differentiate from Tailwind’s built-in classes. data-kt-
attributes enable lazy JavaScript initialization with minimal code.I have a Laravel application that is working perfectly according to your documentation. However, I am trying to install Ktui, but it doesn't work.
Apparently, it doesn't recognize the styles.
========app.css===========
/* Main style */
@tailwind base;
@tailwind components;
@tailwind utilities;
@import "../metronic/css/demos/demo1.css";
/* Keenicons */
@import "../metronic/vendors/keenicons/duotone/style.css";
@import "../metronic/vendors/keenicons/filled/style.css";
@import "../metronic/vendors/keenicons/outline/style.css";
@import "../metronic/vendors/keenicons/solid/style.css";
=========app.js ===========
import "@keenthemes/ktui/dist/ktui.js";
import "../metronic/core/index";
import "../metronic/app/layouts/demo1";
=======page.blade.php=======
<span class="kt-badge kt-badge-primary">Primary</span><span
class="kt-badge kt-badge-secondary">Secondary</span><span
class="kt-badge kt-badge-destructive">Destructive</span><span
class="kt-badge kt-badge-warning">Warning</span><span
class="kt-badge kt-badge-success">Success</span><span
class="kt-badge kt-badge-info">Info</span><span class="kt-badge kt-badge-mono">Mono</span>
I'm following this documentation:
https://keenthemes.com/metronic/tailwind/docs/getting-started/integration/laravel
I'm anxiously waiting. But from what I've seen, will Metronic lose the color style it had until yesterday? Some margins and paddings look strange. But I think it should be possible to implement some things from the previous version in this new one.
Hi,
The update should available shortly once its approved by Themeforest.
We've maintained padding and margins in line with the original Metronic, ensuring familiar and consistent spacing.
Metronic, following KtUI offers Primary, Secondary, Mono and Destructive(danger) colors whlist components like badges and alerts have all warning, success, info states.
Plus, you have access to the comprehensive Tailwind color palette at https://tailwindcss.com/docs/colors for endless customization possibilities.
If you noticed any odd spacings appreciate if you send us a screenshot via support@keenthemes.com
Best regards,
Regards,
Sean
That's right, Metronic is very flexible for customization. It's going to be a great experience.
Thanks a lot Much appreciated.
not appearing in my themeforest download, its still downloading older version 9.1.2
Hi,
Thank you for the heads-up.
The update should available shortly once its approved by Themeforest.
Regards,
Sean