@shuriken-ui/tailwind 3.0.0-next.0 → 3.0.0-next.2
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/plugins/index.cjs +118 -45
- package/dist/plugins/index.mjs +118 -45
- package/dist/preset.d.cts +1 -1
- package/dist/preset.d.mts +1 -1
- package/dist/preset.d.ts +1 -1
- package/dist/shared/{tailwind.f78a9037.d.cts → tailwind.a9f50d73.d.cts} +270 -40
- package/dist/shared/{tailwind.f78a9037.d.mts → tailwind.a9f50d73.d.mts} +270 -40
- package/dist/shared/{tailwind.f78a9037.d.ts → tailwind.a9f50d73.d.ts} +270 -40
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { S as ShurikenUIConfig } from './shared/tailwind.
|
2
|
-
export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.
|
1
|
+
import { S as ShurikenUIConfig } from './shared/tailwind.a9f50d73.cjs';
|
2
|
+
export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.a9f50d73.cjs';
|
3
3
|
import 'tailwindcss/types/config';
|
4
4
|
import 'tailwindcss';
|
5
5
|
|
package/dist/index.d.mts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { S as ShurikenUIConfig } from './shared/tailwind.
|
2
|
-
export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.
|
1
|
+
import { S as ShurikenUIConfig } from './shared/tailwind.a9f50d73.mjs';
|
2
|
+
export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.a9f50d73.mjs';
|
3
3
|
import 'tailwindcss/types/config';
|
4
4
|
import 'tailwindcss';
|
5
5
|
|
package/dist/index.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { S as ShurikenUIConfig } from './shared/tailwind.
|
2
|
-
export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.
|
1
|
+
import { S as ShurikenUIConfig } from './shared/tailwind.a9f50d73.js';
|
2
|
+
export { c as createPreset, h as hasPreset, p as preset } from './shared/tailwind.a9f50d73.js';
|
3
3
|
import 'tailwindcss/types/config';
|
4
4
|
import 'tailwindcss';
|
5
5
|
|
package/dist/plugins/index.cjs
CHANGED
@@ -3895,7 +3895,7 @@ const config$L = {
|
|
3895
3895
|
};
|
3896
3896
|
const buttonGroup = plugin__default(
|
3897
3897
|
({ addComponents }) => addComponents({
|
3898
|
-
|
3898
|
+
'.nui-button-group, [role="group"]': {
|
3899
3899
|
"@apply flex": {},
|
3900
3900
|
".nui-button, .nui-button-action, .nui-button-icon": {
|
3901
3901
|
"@apply !border-e-0": {},
|
@@ -6775,30 +6775,76 @@ const defaultConfig$E = {
|
|
6775
6775
|
md: "lg",
|
6776
6776
|
lg: "xl"
|
6777
6777
|
},
|
6778
|
-
|
6778
|
+
contrast: {
|
6779
6779
|
default: {
|
6780
6780
|
background: {
|
6781
6781
|
light: "muted-100",
|
6782
6782
|
dark: "muted-700"
|
6783
|
-
},
|
6784
|
-
font: {
|
6785
|
-
color: {
|
6786
|
-
light: "primary-500",
|
6787
|
-
dark: "primary-500"
|
6788
|
-
}
|
6789
6783
|
}
|
6790
6784
|
},
|
6791
6785
|
contrast: {
|
6792
6786
|
background: {
|
6793
6787
|
light: "muted-100",
|
6794
6788
|
dark: "muted-900"
|
6795
|
-
}
|
6789
|
+
}
|
6790
|
+
}
|
6791
|
+
},
|
6792
|
+
color: {
|
6793
|
+
primary: {
|
6796
6794
|
font: {
|
6797
6795
|
color: {
|
6798
6796
|
light: "primary-500",
|
6799
6797
|
dark: "primary-500"
|
6800
6798
|
}
|
6801
6799
|
}
|
6800
|
+
},
|
6801
|
+
info: {
|
6802
|
+
font: {
|
6803
|
+
color: {
|
6804
|
+
light: "info-500",
|
6805
|
+
dark: "info-500"
|
6806
|
+
}
|
6807
|
+
}
|
6808
|
+
},
|
6809
|
+
success: {
|
6810
|
+
font: {
|
6811
|
+
color: {
|
6812
|
+
light: "success-500",
|
6813
|
+
dark: "success-500"
|
6814
|
+
}
|
6815
|
+
}
|
6816
|
+
},
|
6817
|
+
warning: {
|
6818
|
+
font: {
|
6819
|
+
color: {
|
6820
|
+
light: "info-500",
|
6821
|
+
dark: "info-500"
|
6822
|
+
}
|
6823
|
+
}
|
6824
|
+
},
|
6825
|
+
danger: {
|
6826
|
+
font: {
|
6827
|
+
color: {
|
6828
|
+
light: "info-500",
|
6829
|
+
dark: "info-500"
|
6830
|
+
}
|
6831
|
+
}
|
6832
|
+
},
|
6833
|
+
dark: {
|
6834
|
+
font: {
|
6835
|
+
color: {
|
6836
|
+
light: "muted-900",
|
6837
|
+
dark: "muted-100"
|
6838
|
+
}
|
6839
|
+
}
|
6840
|
+
},
|
6841
|
+
black: {
|
6842
|
+
font: {
|
6843
|
+
color: {
|
6844
|
+
light: "black",
|
6845
|
+
dark: "white"
|
6846
|
+
}
|
6847
|
+
}
|
6802
6848
|
}
|
6803
6849
|
},
|
6804
6850
|
transition: {
|
@@ -6832,32 +6878,59 @@ const dropdownItem = plugin__default(({ addComponents, theme }) => {
|
|
6832
6878
|
"&:not(.nui-active)": {
|
6833
6879
|
[`@apply text-${config2.font.color.inactive.light} dark:text-${config2.font.color.inactive.dark}`]: {}
|
6834
6880
|
},
|
6835
|
-
//
|
6881
|
+
//Contrast:default
|
6836
6882
|
"&.nui-item-default": {
|
6837
6883
|
//Background:hover
|
6838
|
-
[`@apply hover:bg-${config2.
|
6839
|
-
//Font:hover
|
6840
|
-
[`@apply hover:text-${config2.color.default.font.color.light} dark:hover:text-${config2.color.default.font.color.dark}`]: {},
|
6884
|
+
[`@apply hover:bg-${config2.contrast.default.background.light} dark:hover:bg-${config2.contrast.default.background.dark}`]: {},
|
6841
6885
|
"&.nui-active": {
|
6842
6886
|
//Background:hover
|
6843
|
-
[`@apply bg-${config2.
|
6844
|
-
//Font:hover
|
6845
|
-
[`@apply text-${config2.color.default.font.color.light} dark:text-${config2.color.default.font.color.dark}`]: {}
|
6887
|
+
[`@apply bg-${config2.contrast.default.background.light} dark:bg-${config2.contrast.default.background.dark}`]: {}
|
6846
6888
|
}
|
6847
6889
|
},
|
6848
|
-
//
|
6890
|
+
//Contrast:contrast
|
6849
6891
|
"&.nui-item-contrast": {
|
6850
6892
|
//Background:hover
|
6851
|
-
[`@apply hover:bg-${config2.
|
6852
|
-
//Font:hover
|
6853
|
-
[`@apply hover:text-${config2.color.contrast.font.color.light} dark:hover:text-${config2.color.contrast.font.color.dark}`]: {},
|
6893
|
+
[`@apply hover:bg-${config2.contrast.contrast.background.light} dark:hover:bg-${config2.contrast.contrast.background.dark}`]: {},
|
6854
6894
|
"&.nui-active": {
|
6855
6895
|
//Background:hover
|
6856
|
-
[`@apply bg-${config2.
|
6857
|
-
//Font:hover
|
6858
|
-
[`@apply text-${config2.color.contrast.font.color.light} dark:text-${config2.color.contrast.font.color.dark}`]: {}
|
6896
|
+
[`@apply bg-${config2.contrast.contrast.background.light} dark:bg-${config2.contrast.contrast.background.dark}`]: {}
|
6859
6897
|
}
|
6860
6898
|
},
|
6899
|
+
//Color:primary
|
6900
|
+
"&.nui-item-primary": {
|
6901
|
+
//Font:hover
|
6902
|
+
[`@apply hover:text-${config2.color.primary.font.color.light} dark:hover:text-${config2.color.primary.font.color.dark}`]: {}
|
6903
|
+
},
|
6904
|
+
//Color:info
|
6905
|
+
"&.nui-item-info": {
|
6906
|
+
//Font:hover
|
6907
|
+
[`@apply hover:text-${config2.color.info.font.color.light} dark:hover:text-${config2.color.info.font.color.dark}`]: {}
|
6908
|
+
},
|
6909
|
+
//Color:success
|
6910
|
+
"&.nui-item-success": {
|
6911
|
+
//Font:hover
|
6912
|
+
[`@apply hover:text-${config2.color.success.font.color.light} dark:hover:text-${config2.color.success.font.color.dark}`]: {}
|
6913
|
+
},
|
6914
|
+
//Color:warning
|
6915
|
+
"&.nui-item-warning": {
|
6916
|
+
//Font:hover
|
6917
|
+
[`@apply hover:text-${config2.color.warning.font.color.light} dark:hover:text-${config2.color.warning.font.color.dark}`]: {}
|
6918
|
+
},
|
6919
|
+
//Color:danger
|
6920
|
+
"&.nui-item-danger": {
|
6921
|
+
//Font:hover
|
6922
|
+
[`@apply hover:text-${config2.color.danger.font.color.light} dark:hover:text-${config2.color.danger.font.color.dark}`]: {}
|
6923
|
+
},
|
6924
|
+
//Color:dark
|
6925
|
+
"&.nui-item-dark": {
|
6926
|
+
//Font:hover
|
6927
|
+
[`@apply hover:text-${config2.color.dark.font.color.light} dark:hover:text-${config2.color.dark.font.color.dark}`]: {}
|
6928
|
+
},
|
6929
|
+
//Color:black
|
6930
|
+
"&.nui-item-black": {
|
6931
|
+
//Font:hover
|
6932
|
+
[`@apply hover:text-${config2.color.black.font.color.light} dark:hover:text-${config2.color.black.font.color.dark}`]: {}
|
6933
|
+
},
|
6861
6934
|
//Rounded:sm
|
6862
6935
|
"&.nui-item-rounded-sm": {
|
6863
6936
|
[`@apply rounded-${config2.rounded.sm}`]: {}
|
@@ -6912,8 +6985,8 @@ const defaultConfig$D = {
|
|
6912
6985
|
},
|
6913
6986
|
color: {
|
6914
6987
|
hover: {
|
6915
|
-
light: "
|
6916
|
-
dark: "
|
6988
|
+
light: "muted-200",
|
6989
|
+
dark: "muted-700"
|
6917
6990
|
}
|
6918
6991
|
}
|
6919
6992
|
},
|
@@ -7542,10 +7615,10 @@ const defaultConfig$z = {
|
|
7542
7615
|
}
|
7543
7616
|
}
|
7544
7617
|
},
|
7545
|
-
|
7618
|
+
light: {
|
7546
7619
|
background: {
|
7547
7620
|
light: "white",
|
7548
|
-
dark: "muted-
|
7621
|
+
dark: "muted-700"
|
7549
7622
|
},
|
7550
7623
|
font: {
|
7551
7624
|
color: {
|
@@ -7664,7 +7737,7 @@ const defaultConfig$z = {
|
|
7664
7737
|
}
|
7665
7738
|
}
|
7666
7739
|
},
|
7667
|
-
|
7740
|
+
light: {
|
7668
7741
|
background: {
|
7669
7742
|
light: "white/10",
|
7670
7743
|
dark: "white/10"
|
@@ -7672,7 +7745,7 @@ const defaultConfig$z = {
|
|
7672
7745
|
font: {
|
7673
7746
|
color: {
|
7674
7747
|
light: "muted-800",
|
7675
|
-
dark: "muted-
|
7748
|
+
dark: "muted-300"
|
7676
7749
|
}
|
7677
7750
|
}
|
7678
7751
|
},
|
@@ -7684,7 +7757,7 @@ const defaultConfig$z = {
|
|
7684
7757
|
font: {
|
7685
7758
|
color: {
|
7686
7759
|
light: "muted-800",
|
7687
|
-
dark: "muted-
|
7760
|
+
dark: "muted-100"
|
7688
7761
|
}
|
7689
7762
|
}
|
7690
7763
|
},
|
@@ -7794,7 +7867,7 @@ const defaultConfig$z = {
|
|
7794
7867
|
}
|
7795
7868
|
}
|
7796
7869
|
},
|
7797
|
-
|
7870
|
+
light: {
|
7798
7871
|
background: {
|
7799
7872
|
light: "transparent",
|
7800
7873
|
dark: "transparent"
|
@@ -7806,7 +7879,7 @@ const defaultConfig$z = {
|
|
7806
7879
|
font: {
|
7807
7880
|
color: {
|
7808
7881
|
light: "muted-800",
|
7809
|
-
dark: "muted-
|
7882
|
+
dark: "muted-400"
|
7810
7883
|
}
|
7811
7884
|
}
|
7812
7885
|
},
|
@@ -8063,12 +8136,12 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
|
|
8063
8136
|
//Background
|
8064
8137
|
[`@apply bg-${config2.color.variant.solid.defaultContrast.background.light} dark:bg-${config2.color.variant.solid.defaultContrast.background.dark}`]: {}
|
8065
8138
|
},
|
8066
|
-
//Color:
|
8067
|
-
"&.nui-box-
|
8139
|
+
//Color:light
|
8140
|
+
"&.nui-box-light": {
|
8068
8141
|
//Font
|
8069
|
-
[`@apply text-${config2.color.variant.solid.
|
8142
|
+
[`@apply text-${config2.color.variant.solid.light.font.color.light} dark:text-${config2.color.variant.solid.light.font.color.dark}`]: {},
|
8070
8143
|
//Background
|
8071
|
-
[`@apply bg-${config2.color.variant.solid.
|
8144
|
+
[`@apply bg-${config2.color.variant.solid.light.background.light} dark:bg-${config2.color.variant.solid.light.background.dark}`]: {}
|
8072
8145
|
},
|
8073
8146
|
//Color:dark
|
8074
8147
|
"&.nui-box-dark": {
|
@@ -8136,12 +8209,12 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
|
|
8136
8209
|
//Background
|
8137
8210
|
[`@apply bg-${config2.color.variant.pastel.defaultContrast.background.light} dark:bg-${config2.color.variant.pastel.defaultContrast.background.dark}`]: {}
|
8138
8211
|
},
|
8139
|
-
//Color:
|
8140
|
-
"&.nui-box-
|
8212
|
+
//Color:light
|
8213
|
+
"&.nui-box-light": {
|
8141
8214
|
//Font
|
8142
|
-
[`@apply text-${config2.color.variant.pastel.
|
8215
|
+
[`@apply text-${config2.color.variant.pastel.light.font.color.light} dark:text-${config2.color.variant.pastel.light.font.color.dark}`]: {},
|
8143
8216
|
//Background
|
8144
|
-
[`@apply bg-${config2.color.variant.pastel.
|
8217
|
+
[`@apply bg-${config2.color.variant.pastel.light.background.light} dark:bg-${config2.color.variant.pastel.light.background.dark}`]: {}
|
8145
8218
|
},
|
8146
8219
|
//Color:dark
|
8147
8220
|
"&.nui-box-dark": {
|
@@ -8213,14 +8286,14 @@ const iconBox = plugin__default(({ addComponents, theme }) => {
|
|
8213
8286
|
//Border
|
8214
8287
|
[`@apply border-2 border-${config2.color.variant.outline.defaultContrast.border.light} dark:border-${config2.color.variant.outline.defaultContrast.border.dark}`]: {}
|
8215
8288
|
},
|
8216
|
-
//Color:
|
8217
|
-
"&.nui-box-
|
8289
|
+
//Color:light
|
8290
|
+
"&.nui-box-light": {
|
8218
8291
|
//Font
|
8219
|
-
[`@apply text-${config2.color.variant.outline.
|
8292
|
+
[`@apply text-${config2.color.variant.outline.light.font.color.light} dark:text-${config2.color.variant.outline.light.font.color.dark}`]: {},
|
8220
8293
|
//Background
|
8221
|
-
[`@apply bg-${config2.color.variant.outline.
|
8294
|
+
[`@apply bg-${config2.color.variant.outline.light.background.light} bg-${config2.color.variant.outline.light.background.dark}`]: {},
|
8222
8295
|
//Border
|
8223
|
-
[`@apply border-2 border-${config2.color.variant.outline.
|
8296
|
+
[`@apply border-2 border-${config2.color.variant.outline.light.border.light} dark:border-${config2.color.variant.outline.light.border.dark}`]: {}
|
8224
8297
|
},
|
8225
8298
|
//Color:dark
|
8226
8299
|
"&.nui-box-dark": {
|
package/dist/plugins/index.mjs
CHANGED
@@ -3889,7 +3889,7 @@ const config$L = {
|
|
3889
3889
|
};
|
3890
3890
|
const buttonGroup = plugin(
|
3891
3891
|
({ addComponents }) => addComponents({
|
3892
|
-
|
3892
|
+
'.nui-button-group, [role="group"]': {
|
3893
3893
|
"@apply flex": {},
|
3894
3894
|
".nui-button, .nui-button-action, .nui-button-icon": {
|
3895
3895
|
"@apply !border-e-0": {},
|
@@ -6769,30 +6769,76 @@ const defaultConfig$E = {
|
|
6769
6769
|
md: "lg",
|
6770
6770
|
lg: "xl"
|
6771
6771
|
},
|
6772
|
-
|
6772
|
+
contrast: {
|
6773
6773
|
default: {
|
6774
6774
|
background: {
|
6775
6775
|
light: "muted-100",
|
6776
6776
|
dark: "muted-700"
|
6777
|
-
},
|
6778
|
-
font: {
|
6779
|
-
color: {
|
6780
|
-
light: "primary-500",
|
6781
|
-
dark: "primary-500"
|
6782
|
-
}
|
6783
6777
|
}
|
6784
6778
|
},
|
6785
6779
|
contrast: {
|
6786
6780
|
background: {
|
6787
6781
|
light: "muted-100",
|
6788
6782
|
dark: "muted-900"
|
6789
|
-
}
|
6783
|
+
}
|
6784
|
+
}
|
6785
|
+
},
|
6786
|
+
color: {
|
6787
|
+
primary: {
|
6790
6788
|
font: {
|
6791
6789
|
color: {
|
6792
6790
|
light: "primary-500",
|
6793
6791
|
dark: "primary-500"
|
6794
6792
|
}
|
6795
6793
|
}
|
6794
|
+
},
|
6795
|
+
info: {
|
6796
|
+
font: {
|
6797
|
+
color: {
|
6798
|
+
light: "info-500",
|
6799
|
+
dark: "info-500"
|
6800
|
+
}
|
6801
|
+
}
|
6802
|
+
},
|
6803
|
+
success: {
|
6804
|
+
font: {
|
6805
|
+
color: {
|
6806
|
+
light: "success-500",
|
6807
|
+
dark: "success-500"
|
6808
|
+
}
|
6809
|
+
}
|
6810
|
+
},
|
6811
|
+
warning: {
|
6812
|
+
font: {
|
6813
|
+
color: {
|
6814
|
+
light: "info-500",
|
6815
|
+
dark: "info-500"
|
6816
|
+
}
|
6817
|
+
}
|
6818
|
+
},
|
6819
|
+
danger: {
|
6820
|
+
font: {
|
6821
|
+
color: {
|
6822
|
+
light: "info-500",
|
6823
|
+
dark: "info-500"
|
6824
|
+
}
|
6825
|
+
}
|
6826
|
+
},
|
6827
|
+
dark: {
|
6828
|
+
font: {
|
6829
|
+
color: {
|
6830
|
+
light: "muted-900",
|
6831
|
+
dark: "muted-100"
|
6832
|
+
}
|
6833
|
+
}
|
6834
|
+
},
|
6835
|
+
black: {
|
6836
|
+
font: {
|
6837
|
+
color: {
|
6838
|
+
light: "black",
|
6839
|
+
dark: "white"
|
6840
|
+
}
|
6841
|
+
}
|
6796
6842
|
}
|
6797
6843
|
},
|
6798
6844
|
transition: {
|
@@ -6826,32 +6872,59 @@ const dropdownItem = plugin(({ addComponents, theme }) => {
|
|
6826
6872
|
"&:not(.nui-active)": {
|
6827
6873
|
[`@apply text-${config2.font.color.inactive.light} dark:text-${config2.font.color.inactive.dark}`]: {}
|
6828
6874
|
},
|
6829
|
-
//
|
6875
|
+
//Contrast:default
|
6830
6876
|
"&.nui-item-default": {
|
6831
6877
|
//Background:hover
|
6832
|
-
[`@apply hover:bg-${config2.
|
6833
|
-
//Font:hover
|
6834
|
-
[`@apply hover:text-${config2.color.default.font.color.light} dark:hover:text-${config2.color.default.font.color.dark}`]: {},
|
6878
|
+
[`@apply hover:bg-${config2.contrast.default.background.light} dark:hover:bg-${config2.contrast.default.background.dark}`]: {},
|
6835
6879
|
"&.nui-active": {
|
6836
6880
|
//Background:hover
|
6837
|
-
[`@apply bg-${config2.
|
6838
|
-
//Font:hover
|
6839
|
-
[`@apply text-${config2.color.default.font.color.light} dark:text-${config2.color.default.font.color.dark}`]: {}
|
6881
|
+
[`@apply bg-${config2.contrast.default.background.light} dark:bg-${config2.contrast.default.background.dark}`]: {}
|
6840
6882
|
}
|
6841
6883
|
},
|
6842
|
-
//
|
6884
|
+
//Contrast:contrast
|
6843
6885
|
"&.nui-item-contrast": {
|
6844
6886
|
//Background:hover
|
6845
|
-
[`@apply hover:bg-${config2.
|
6846
|
-
//Font:hover
|
6847
|
-
[`@apply hover:text-${config2.color.contrast.font.color.light} dark:hover:text-${config2.color.contrast.font.color.dark}`]: {},
|
6887
|
+
[`@apply hover:bg-${config2.contrast.contrast.background.light} dark:hover:bg-${config2.contrast.contrast.background.dark}`]: {},
|
6848
6888
|
"&.nui-active": {
|
6849
6889
|
//Background:hover
|
6850
|
-
[`@apply bg-${config2.
|
6851
|
-
//Font:hover
|
6852
|
-
[`@apply text-${config2.color.contrast.font.color.light} dark:text-${config2.color.contrast.font.color.dark}`]: {}
|
6890
|
+
[`@apply bg-${config2.contrast.contrast.background.light} dark:bg-${config2.contrast.contrast.background.dark}`]: {}
|
6853
6891
|
}
|
6854
6892
|
},
|
6893
|
+
//Color:primary
|
6894
|
+
"&.nui-item-primary": {
|
6895
|
+
//Font:hover
|
6896
|
+
[`@apply hover:text-${config2.color.primary.font.color.light} dark:hover:text-${config2.color.primary.font.color.dark}`]: {}
|
6897
|
+
},
|
6898
|
+
//Color:info
|
6899
|
+
"&.nui-item-info": {
|
6900
|
+
//Font:hover
|
6901
|
+
[`@apply hover:text-${config2.color.info.font.color.light} dark:hover:text-${config2.color.info.font.color.dark}`]: {}
|
6902
|
+
},
|
6903
|
+
//Color:success
|
6904
|
+
"&.nui-item-success": {
|
6905
|
+
//Font:hover
|
6906
|
+
[`@apply hover:text-${config2.color.success.font.color.light} dark:hover:text-${config2.color.success.font.color.dark}`]: {}
|
6907
|
+
},
|
6908
|
+
//Color:warning
|
6909
|
+
"&.nui-item-warning": {
|
6910
|
+
//Font:hover
|
6911
|
+
[`@apply hover:text-${config2.color.warning.font.color.light} dark:hover:text-${config2.color.warning.font.color.dark}`]: {}
|
6912
|
+
},
|
6913
|
+
//Color:danger
|
6914
|
+
"&.nui-item-danger": {
|
6915
|
+
//Font:hover
|
6916
|
+
[`@apply hover:text-${config2.color.danger.font.color.light} dark:hover:text-${config2.color.danger.font.color.dark}`]: {}
|
6917
|
+
},
|
6918
|
+
//Color:dark
|
6919
|
+
"&.nui-item-dark": {
|
6920
|
+
//Font:hover
|
6921
|
+
[`@apply hover:text-${config2.color.dark.font.color.light} dark:hover:text-${config2.color.dark.font.color.dark}`]: {}
|
6922
|
+
},
|
6923
|
+
//Color:black
|
6924
|
+
"&.nui-item-black": {
|
6925
|
+
//Font:hover
|
6926
|
+
[`@apply hover:text-${config2.color.black.font.color.light} dark:hover:text-${config2.color.black.font.color.dark}`]: {}
|
6927
|
+
},
|
6855
6928
|
//Rounded:sm
|
6856
6929
|
"&.nui-item-rounded-sm": {
|
6857
6930
|
[`@apply rounded-${config2.rounded.sm}`]: {}
|
@@ -6906,8 +6979,8 @@ const defaultConfig$D = {
|
|
6906
6979
|
},
|
6907
6980
|
color: {
|
6908
6981
|
hover: {
|
6909
|
-
light: "
|
6910
|
-
dark: "
|
6982
|
+
light: "muted-200",
|
6983
|
+
dark: "muted-700"
|
6911
6984
|
}
|
6912
6985
|
}
|
6913
6986
|
},
|
@@ -7536,10 +7609,10 @@ const defaultConfig$z = {
|
|
7536
7609
|
}
|
7537
7610
|
}
|
7538
7611
|
},
|
7539
|
-
|
7612
|
+
light: {
|
7540
7613
|
background: {
|
7541
7614
|
light: "white",
|
7542
|
-
dark: "muted-
|
7615
|
+
dark: "muted-700"
|
7543
7616
|
},
|
7544
7617
|
font: {
|
7545
7618
|
color: {
|
@@ -7658,7 +7731,7 @@ const defaultConfig$z = {
|
|
7658
7731
|
}
|
7659
7732
|
}
|
7660
7733
|
},
|
7661
|
-
|
7734
|
+
light: {
|
7662
7735
|
background: {
|
7663
7736
|
light: "white/10",
|
7664
7737
|
dark: "white/10"
|
@@ -7666,7 +7739,7 @@ const defaultConfig$z = {
|
|
7666
7739
|
font: {
|
7667
7740
|
color: {
|
7668
7741
|
light: "muted-800",
|
7669
|
-
dark: "muted-
|
7742
|
+
dark: "muted-300"
|
7670
7743
|
}
|
7671
7744
|
}
|
7672
7745
|
},
|
@@ -7678,7 +7751,7 @@ const defaultConfig$z = {
|
|
7678
7751
|
font: {
|
7679
7752
|
color: {
|
7680
7753
|
light: "muted-800",
|
7681
|
-
dark: "muted-
|
7754
|
+
dark: "muted-100"
|
7682
7755
|
}
|
7683
7756
|
}
|
7684
7757
|
},
|
@@ -7788,7 +7861,7 @@ const defaultConfig$z = {
|
|
7788
7861
|
}
|
7789
7862
|
}
|
7790
7863
|
},
|
7791
|
-
|
7864
|
+
light: {
|
7792
7865
|
background: {
|
7793
7866
|
light: "transparent",
|
7794
7867
|
dark: "transparent"
|
@@ -7800,7 +7873,7 @@ const defaultConfig$z = {
|
|
7800
7873
|
font: {
|
7801
7874
|
color: {
|
7802
7875
|
light: "muted-800",
|
7803
|
-
dark: "muted-
|
7876
|
+
dark: "muted-400"
|
7804
7877
|
}
|
7805
7878
|
}
|
7806
7879
|
},
|
@@ -8057,12 +8130,12 @@ const iconBox = plugin(({ addComponents, theme }) => {
|
|
8057
8130
|
//Background
|
8058
8131
|
[`@apply bg-${config2.color.variant.solid.defaultContrast.background.light} dark:bg-${config2.color.variant.solid.defaultContrast.background.dark}`]: {}
|
8059
8132
|
},
|
8060
|
-
//Color:
|
8061
|
-
"&.nui-box-
|
8133
|
+
//Color:light
|
8134
|
+
"&.nui-box-light": {
|
8062
8135
|
//Font
|
8063
|
-
[`@apply text-${config2.color.variant.solid.
|
8136
|
+
[`@apply text-${config2.color.variant.solid.light.font.color.light} dark:text-${config2.color.variant.solid.light.font.color.dark}`]: {},
|
8064
8137
|
//Background
|
8065
|
-
[`@apply bg-${config2.color.variant.solid.
|
8138
|
+
[`@apply bg-${config2.color.variant.solid.light.background.light} dark:bg-${config2.color.variant.solid.light.background.dark}`]: {}
|
8066
8139
|
},
|
8067
8140
|
//Color:dark
|
8068
8141
|
"&.nui-box-dark": {
|
@@ -8130,12 +8203,12 @@ const iconBox = plugin(({ addComponents, theme }) => {
|
|
8130
8203
|
//Background
|
8131
8204
|
[`@apply bg-${config2.color.variant.pastel.defaultContrast.background.light} dark:bg-${config2.color.variant.pastel.defaultContrast.background.dark}`]: {}
|
8132
8205
|
},
|
8133
|
-
//Color:
|
8134
|
-
"&.nui-box-
|
8206
|
+
//Color:light
|
8207
|
+
"&.nui-box-light": {
|
8135
8208
|
//Font
|
8136
|
-
[`@apply text-${config2.color.variant.pastel.
|
8209
|
+
[`@apply text-${config2.color.variant.pastel.light.font.color.light} dark:text-${config2.color.variant.pastel.light.font.color.dark}`]: {},
|
8137
8210
|
//Background
|
8138
|
-
[`@apply bg-${config2.color.variant.pastel.
|
8211
|
+
[`@apply bg-${config2.color.variant.pastel.light.background.light} dark:bg-${config2.color.variant.pastel.light.background.dark}`]: {}
|
8139
8212
|
},
|
8140
8213
|
//Color:dark
|
8141
8214
|
"&.nui-box-dark": {
|
@@ -8207,14 +8280,14 @@ const iconBox = plugin(({ addComponents, theme }) => {
|
|
8207
8280
|
//Border
|
8208
8281
|
[`@apply border-2 border-${config2.color.variant.outline.defaultContrast.border.light} dark:border-${config2.color.variant.outline.defaultContrast.border.dark}`]: {}
|
8209
8282
|
},
|
8210
|
-
//Color:
|
8211
|
-
"&.nui-box-
|
8283
|
+
//Color:light
|
8284
|
+
"&.nui-box-light": {
|
8212
8285
|
//Font
|
8213
|
-
[`@apply text-${config2.color.variant.outline.
|
8286
|
+
[`@apply text-${config2.color.variant.outline.light.font.color.light} dark:text-${config2.color.variant.outline.light.font.color.dark}`]: {},
|
8214
8287
|
//Background
|
8215
|
-
[`@apply bg-${config2.color.variant.outline.
|
8288
|
+
[`@apply bg-${config2.color.variant.outline.light.background.light} bg-${config2.color.variant.outline.light.background.dark}`]: {},
|
8216
8289
|
//Border
|
8217
|
-
[`@apply border-2 border-${config2.color.variant.outline.
|
8290
|
+
[`@apply border-2 border-${config2.color.variant.outline.light.border.light} dark:border-${config2.color.variant.outline.light.border.dark}`]: {}
|
8218
8291
|
},
|
8219
8292
|
//Color:dark
|
8220
8293
|
"&.nui-box-dark": {
|
package/dist/preset.d.cts
CHANGED
package/dist/preset.d.mts
CHANGED
package/dist/preset.d.ts
CHANGED