@removify/tailwind-preset 1.0.3 → 1.0.5
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.
- package/dist/index.cjs +12 -0
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +11 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -43,6 +43,7 @@ __export(index_exports, {
|
|
|
43
43
|
fontSize: () => fontSize,
|
|
44
44
|
isDetailFont: () => isDetailFont,
|
|
45
45
|
keyframes: () => keyframes,
|
|
46
|
+
ratingColorVariations: () => ratingColorVariations,
|
|
46
47
|
screenSizes: () => screenSizes,
|
|
47
48
|
screens: () => screens,
|
|
48
49
|
screensNumber: () => screensNumber,
|
|
@@ -522,6 +523,16 @@ var colorsNames = [
|
|
|
522
523
|
"seafoam"
|
|
523
524
|
];
|
|
524
525
|
|
|
526
|
+
// src/types/color.ts
|
|
527
|
+
var ratingColorVariations = [
|
|
528
|
+
"low",
|
|
529
|
+
"high",
|
|
530
|
+
"medium",
|
|
531
|
+
"low-star",
|
|
532
|
+
"high-star",
|
|
533
|
+
"medium-star"
|
|
534
|
+
];
|
|
535
|
+
|
|
525
536
|
// src/types/factory.ts
|
|
526
537
|
var configuredThemes = [
|
|
527
538
|
"colors",
|
|
@@ -577,6 +588,7 @@ function buildPreset(extend = true, buildOptions = {}) {
|
|
|
577
588
|
fontSize,
|
|
578
589
|
isDetailFont,
|
|
579
590
|
keyframes,
|
|
591
|
+
ratingColorVariations,
|
|
580
592
|
screenSizes,
|
|
581
593
|
screens,
|
|
582
594
|
screensNumber,
|
package/dist/index.d.cts
CHANGED
|
@@ -4,6 +4,7 @@ declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo
|
|
|
4
4
|
|
|
5
5
|
type ColorsNames = typeof colorsNames[number];
|
|
6
6
|
type RatingVariations = `${'low' | 'high' | 'medium'}${'' | '-star'}`;
|
|
7
|
+
declare const ratingColorVariations: RatingVariations[];
|
|
7
8
|
type ColorsVariations = 'DEFAULT' | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
|
|
8
9
|
interface MainColors {
|
|
9
10
|
black: string;
|
|
@@ -697,4 +698,4 @@ declare const unocssTheme: {
|
|
|
697
698
|
|
|
698
699
|
declare function buildPreset(extend?: boolean, buildOptions?: BuildThemeOptions): Partial<Config>;
|
|
699
700
|
|
|
700
|
-
export { type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ConfiguredThemes, type FontSizeDetail, type FontSizes, type Screens, type ScreensNumber, type Shadows, type ThemeOptions, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, screenSizes, screens, screensNumber, unocssTheme };
|
|
701
|
+
export { type BorderSize, type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ColorsVariations, type ConfiguredThemes, type DefaultColors, type DetailFont, type DisplayKeys, type ExtractNumber, type FontAndLineHeight, type FontSize, type FontSizeDetail, type FontSizeKeys, type FontSizes, type FontValue, type HeadingKeys, type MainColors, type RatingVariations, type RgbValue, type Screens, type ScreensNumber, type Shadow, type ShadowSize, type Shadows, type SizeKeys, type ThemeOptions, type UnocssDetailFont, type UnocssFontSize, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, ratingColorVariations, screenSizes, screens, screensNumber, unocssTheme };
|
package/dist/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ declare const colorsNames: readonly ["primary", "bateau", "secondary", "pompelmo
|
|
|
4
4
|
|
|
5
5
|
type ColorsNames = typeof colorsNames[number];
|
|
6
6
|
type RatingVariations = `${'low' | 'high' | 'medium'}${'' | '-star'}`;
|
|
7
|
+
declare const ratingColorVariations: RatingVariations[];
|
|
7
8
|
type ColorsVariations = 'DEFAULT' | 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | 950;
|
|
8
9
|
interface MainColors {
|
|
9
10
|
black: string;
|
|
@@ -697,4 +698,4 @@ declare const unocssTheme: {
|
|
|
697
698
|
|
|
698
699
|
declare function buildPreset(extend?: boolean, buildOptions?: BuildThemeOptions): Partial<Config>;
|
|
699
700
|
|
|
700
|
-
export { type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ConfiguredThemes, type FontSizeDetail, type FontSizes, type Screens, type ScreensNumber, type Shadows, type ThemeOptions, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, screenSizes, screens, screensNumber, unocssTheme };
|
|
701
|
+
export { type BorderSize, type BuildThemeOptions, type ColorString, type Colors, type ColorsNames, type ColorsVariations, type ConfiguredThemes, type DefaultColors, type DetailFont, type DisplayKeys, type ExtractNumber, type FontAndLineHeight, type FontSize, type FontSizeDetail, type FontSizeKeys, type FontSizes, type FontValue, type HeadingKeys, type MainColors, type RatingVariations, type RgbValue, type Screens, type ScreensNumber, type Shadow, type ShadowSize, type Shadows, type SizeKeys, type ThemeOptions, type UnocssDetailFont, type UnocssFontSize, type UnocssFontSizes, animation, boxShadow, buildPreset, buildTheme, colors, colorsNames, configuredThemes, defaultTheme, factory, customFontFamily as fontFamily, fontSize, isDetailFont, keyframes, ratingColorVariations, screenSizes, screens, screensNumber, unocssTheme };
|
package/dist/index.js
CHANGED
|
@@ -470,6 +470,16 @@ var colorsNames = [
|
|
|
470
470
|
"seafoam"
|
|
471
471
|
];
|
|
472
472
|
|
|
473
|
+
// src/types/color.ts
|
|
474
|
+
var ratingColorVariations = [
|
|
475
|
+
"low",
|
|
476
|
+
"high",
|
|
477
|
+
"medium",
|
|
478
|
+
"low-star",
|
|
479
|
+
"high-star",
|
|
480
|
+
"medium-star"
|
|
481
|
+
];
|
|
482
|
+
|
|
473
483
|
// src/types/factory.ts
|
|
474
484
|
var configuredThemes = [
|
|
475
485
|
"colors",
|
|
@@ -524,6 +534,7 @@ export {
|
|
|
524
534
|
fontSize,
|
|
525
535
|
isDetailFont,
|
|
526
536
|
keyframes,
|
|
537
|
+
ratingColorVariations,
|
|
527
538
|
screenSizes,
|
|
528
539
|
screens,
|
|
529
540
|
screensNumber,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@removify/tailwind-preset",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.5",
|
|
5
5
|
"description": "Tailwind CSS preset for Removify",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"tailwind"
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"tsx": "^4.20.3",
|
|
55
55
|
"typescript": "^5.8.3",
|
|
56
56
|
"vitest": "^3.2.4",
|
|
57
|
-
"@removify/tailwind-preset": "1.0.
|
|
57
|
+
"@removify/tailwind-preset": "1.0.5"
|
|
58
58
|
},
|
|
59
59
|
"lint-staged": {
|
|
60
60
|
"**/*.{js,ts,vue,html}": [
|