@flusys/ng-ui 6.2.1 → 6.3.0
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.
|
@@ -26872,6 +26872,14 @@ const AURA_PRESET = {
|
|
|
26872
26872
|
cardPadding: '1.25rem',
|
|
26873
26873
|
cardGap: '0.5rem',
|
|
26874
26874
|
cardShadow: '0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1)',
|
|
26875
|
+
sidebarBorderWidth: '0',
|
|
26876
|
+
sidebarRadius: 'var(--f-border-radius-xl)',
|
|
26877
|
+
sidebarShadow: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)',
|
|
26878
|
+
topbarBorderWidth: '0',
|
|
26879
|
+
topbarShadow: '0 1px 2px 0 rgb(0 0 0 / 0.05)',
|
|
26880
|
+
menuItemActiveRadius: '9999px',
|
|
26881
|
+
menuItemActiveBorderWidth: '0',
|
|
26882
|
+
signaturePrimary: 'violet',
|
|
26875
26883
|
};
|
|
26876
26884
|
const NORA_PRESET = {
|
|
26877
26885
|
name: 'Nora',
|
|
@@ -26909,6 +26917,14 @@ const NORA_PRESET = {
|
|
|
26909
26917
|
cardPadding: '1.25rem',
|
|
26910
26918
|
cardGap: '0.5rem',
|
|
26911
26919
|
cardShadow: '0 1px 4px 0 rgba(0, 0, 0, 0.1)',
|
|
26920
|
+
sidebarBorderWidth: '2px',
|
|
26921
|
+
sidebarRadius: '0',
|
|
26922
|
+
sidebarShadow: 'none',
|
|
26923
|
+
topbarBorderWidth: '2px',
|
|
26924
|
+
topbarShadow: 'none',
|
|
26925
|
+
menuItemActiveRadius: '0',
|
|
26926
|
+
menuItemActiveBorderWidth: '0',
|
|
26927
|
+
signaturePrimary: 'noir',
|
|
26912
26928
|
};
|
|
26913
26929
|
const LARA_PRESET = {
|
|
26914
26930
|
name: 'Lara',
|
|
@@ -26946,6 +26962,14 @@ const LARA_PRESET = {
|
|
|
26946
26962
|
cardPadding: '1.5rem',
|
|
26947
26963
|
cardGap: '0.75rem',
|
|
26948
26964
|
cardShadow: '0 0.125rem 0.25rem rgba(0, 0, 0, 0.075)',
|
|
26965
|
+
sidebarBorderWidth: '1px',
|
|
26966
|
+
sidebarRadius: '0',
|
|
26967
|
+
sidebarShadow: 'none',
|
|
26968
|
+
topbarBorderWidth: '1px',
|
|
26969
|
+
topbarShadow: 'none',
|
|
26970
|
+
menuItemActiveRadius: 'var(--f-border-radius-sm)',
|
|
26971
|
+
menuItemActiveBorderWidth: '3px',
|
|
26972
|
+
signaturePrimary: 'blue',
|
|
26949
26973
|
};
|
|
26950
26974
|
const PRESETS = {
|
|
26951
26975
|
Aura: AURA_PRESET,
|
|
@@ -27080,6 +27104,13 @@ function applyPreset(preset, root = document.documentElement) {
|
|
|
27080
27104
|
setVar('--f-card-padding', preset.cardPadding, root);
|
|
27081
27105
|
setVar('--f-card-gap', preset.cardGap, root);
|
|
27082
27106
|
setVar('--f-card-shadow', preset.cardShadow, root);
|
|
27107
|
+
setVar('--f-sidebar-border-width', preset.sidebarBorderWidth, root);
|
|
27108
|
+
setVar('--f-sidebar-radius', preset.sidebarRadius, root);
|
|
27109
|
+
setVar('--f-sidebar-shadow', preset.sidebarShadow, root);
|
|
27110
|
+
setVar('--f-topbar-border-width', preset.topbarBorderWidth, root);
|
|
27111
|
+
setVar('--f-topbar-shadow', preset.topbarShadow, root);
|
|
27112
|
+
setVar('--f-menuitem-active-radius', preset.menuItemActiveRadius, root);
|
|
27113
|
+
setVar('--f-menuitem-active-border-width', preset.menuItemActiveBorderWidth, root);
|
|
27083
27114
|
const sb = preset.selectButton;
|
|
27084
27115
|
setVar('--f-selectbutton-background', sb.background, root);
|
|
27085
27116
|
setVar('--f-selectbutton-border-color', sb.borderColor, root);
|