orbiq-neural-ui-kit 1.0.25 → 1.0.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -473,7 +473,16 @@ class NeuralButtonComponent {
|
|
|
473
473
|
}, /* @ts-ignore */
|
|
474
474
|
...(ngDevMode ? [{ debugName: "spinnerClasses" }] : /* istanbul ignore next */ []));
|
|
475
475
|
iconClasses = computed(() => {
|
|
476
|
-
|
|
476
|
+
const fontSizes = {
|
|
477
|
+
'xs': 'text-[14px]',
|
|
478
|
+
'sm': 'text-[18px]', // Aumentado a 18px para que se vean mejor en botones pequeños
|
|
479
|
+
'md': 'text-[20px]',
|
|
480
|
+
'lg': 'text-[24px]',
|
|
481
|
+
'xl': 'text-[28px]',
|
|
482
|
+
'2xl': 'text-[32px]',
|
|
483
|
+
'3xl': 'text-[40px]',
|
|
484
|
+
};
|
|
485
|
+
return fontSizes[this.size()] + ' ' + this.spinnerClasses();
|
|
477
486
|
}, /* @ts-ignore */
|
|
478
487
|
...(ngDevMode ? [{ debugName: "iconClasses" }] : /* istanbul ignore next */ []));
|
|
479
488
|
computedClasses = computed(() => {
|