@mekari/pixel3-theme 0.2.2 → 0.3.0-dev.1

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.js CHANGED
@@ -25,7 +25,7 @@ __export(theme_exports, {
25
25
  module.exports = __toCommonJS(theme_exports);
26
26
 
27
27
  // src/index.ts
28
- var import_dev65 = require("@pandacss/dev");
28
+ var import_dev66 = require("@pandacss/dev");
29
29
 
30
30
  // src/breakpoints.ts
31
31
  var breakpoints = {
@@ -110,6 +110,10 @@ var keyframes = (0, import_dev2.defineKeyframes)({
110
110
  "0%": { backgroundPosition: "0% 20%" },
111
111
  "50%": { backgroundPosition: "100% 50%" },
112
112
  "100%": { backgroundPosition: "0% 100%" }
113
+ },
114
+ shimmer: {
115
+ from: { backgroundPosition: "-100% 0" },
116
+ to: { backgroundPosition: "100% 0" }
113
117
  }
114
118
  });
115
119
 
@@ -944,8 +948,8 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
944
948
  borderRadius: "md"
945
949
  },
946
950
  _hasIcon: {
947
- paddingX: "1.5",
948
- paddingY: "1.5",
951
+ paddingX: "2",
952
+ paddingY: "2",
949
953
  _nextTheme: {
950
954
  paddingX: "xs",
951
955
  paddingY: "xs"
@@ -1028,13 +1032,17 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
1028
1032
  background: "gray.50",
1029
1033
  borderColor: "gray.50",
1030
1034
  _hasIcon: {
1031
- background: "transparent",
1032
- borderColor: "transparent"
1035
+ "&:not([data-has-label=true])": {
1036
+ background: "transparent",
1037
+ borderColor: "transparent"
1038
+ }
1033
1039
  }
1034
1040
  },
1035
1041
  _hasIcon: {
1036
- background: "transparent",
1037
- borderColor: "transparent"
1042
+ "&:not([data-has-label=true])": {
1043
+ background: "transparent",
1044
+ borderColor: "transparent"
1045
+ }
1038
1046
  },
1039
1047
  _nextTheme: {
1040
1048
  color: "text.disabled",
@@ -1044,13 +1052,17 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
1044
1052
  background: "background.disabled",
1045
1053
  borderColor: "background.disabled",
1046
1054
  _hasIcon: {
1047
- background: "transparent",
1048
- borderColor: "transparent"
1055
+ "&:not([data-has-label=true])": {
1056
+ background: "transparent",
1057
+ borderColor: "transparent"
1058
+ }
1049
1059
  }
1050
1060
  },
1051
1061
  _hasIcon: {
1052
- background: "transparent",
1053
- borderColor: "transparent"
1062
+ "&:not([data-has-label=true])": {
1063
+ background: "transparent",
1064
+ borderColor: "transparent"
1065
+ }
1054
1066
  }
1055
1067
  }
1056
1068
  }
@@ -3383,7 +3395,8 @@ var dividerSlotRecipe = (0, import_dev26.defineSlotRecipe)({
3383
3395
  }
3384
3396
  }
3385
3397
  }
3386
- }
3398
+ },
3399
+ staticCss: ["*"]
3387
3400
  });
3388
3401
 
3389
3402
  // src/recipes/modal.ts
@@ -5312,18 +5325,33 @@ var timelineLogSlotRecipe = (0, import_dev38.defineSlotRecipe)({
5312
5325
  color: "gray.400",
5313
5326
  _groupHover: {
5314
5327
  color: "blue.500"
5328
+ },
5329
+ _nextTheme: {
5330
+ color: "text.secondary",
5331
+ _groupHover: {
5332
+ color: "text.highlight"
5333
+ }
5315
5334
  }
5316
5335
  },
5317
5336
  logIcon: {
5318
5337
  color: "gray.400",
5319
- _groupHover: { color: "blue.500" }
5338
+ _groupHover: { color: "blue.500" },
5339
+ _nextTheme: {
5340
+ color: "icon.default",
5341
+ _groupHover: {
5342
+ color: "icon.highlight"
5343
+ }
5344
+ }
5320
5345
  },
5321
5346
  content: {
5322
- listStyleType: "disc",
5347
+ listStyleType: "none",
5323
5348
  paddingLeft: 5
5324
5349
  },
5325
5350
  logItem: {
5326
- color: "gray.600"
5351
+ color: "gray.600",
5352
+ _nextTheme: {
5353
+ color: "text.secondary"
5354
+ }
5327
5355
  }
5328
5356
  }
5329
5357
  });
@@ -5934,7 +5962,10 @@ var textlinkRecipe = (0, import_dev43.defineRecipe)({
5934
5962
  textDecoration: "underline"
5935
5963
  },
5936
5964
  _loading: {
5937
- background: "white"
5965
+ background: "white",
5966
+ _nextTheme: {
5967
+ background: "background.neutral"
5968
+ }
5938
5969
  }
5939
5970
  },
5940
5971
  variants: {
@@ -6025,6 +6056,64 @@ var textlinkRecipe = (0, import_dev43.defineRecipe)({
6025
6056
  }
6026
6057
  });
6027
6058
 
6059
+ // src/recipes/skeleton.ts
6060
+ var import_dev44 = require("@pandacss/dev");
6061
+ var skeletonRecipe = (0, import_dev44.defineRecipe)({
6062
+ className: "skeleton",
6063
+ jsx: ["MpSkeleton", "mp-skeleton"],
6064
+ base: {
6065
+ flexShrink: 0,
6066
+ animation: "shimmer var(--mp-shimmer-duration) infinite reverse",
6067
+ backgroundSize: "200%",
6068
+ pointerEvents: "none",
6069
+ userSelect: "none",
6070
+ _loading: {
6071
+ "& *": {
6072
+ visibility: "hidden"
6073
+ }
6074
+ }
6075
+ },
6076
+ variants: {
6077
+ color: {
6078
+ gray: {
6079
+ backgroundImage: "linear-gradient(90deg, #d0d6dd, #edf0f2 50%, #d0d6dd)",
6080
+ _nextTheme: {
6081
+ backgroundImage: "linear-gradient(90deg, {colors.icon.subtle}, {colors.icon.inverse} 50%, {colors.icon.subtle})"
6082
+ }
6083
+ },
6084
+ blue: {
6085
+ backgroundImage: "linear-gradient(90deg, #E0E9F7, #F5F9FF 50%, #E0E9F7)"
6086
+ },
6087
+ purple: {
6088
+ backgroundImage: "linear-gradient(90deg, #DCCFFF, #F3F0FD 50%, #DCCFFF)",
6089
+ _nextTheme: {
6090
+ backgroundImage: "linear-gradient(90deg, {colors.background.highlight}, {colors.background.highlight.hovered} 50%, {colors.background.highlight})"
6091
+ }
6092
+ }
6093
+ }
6094
+ },
6095
+ compoundVariants: [
6096
+ {
6097
+ color: ["gray", "blue", "purple"],
6098
+ css: {
6099
+ "&:is([data-has-children=true])": {
6100
+ "&:is([data-loading=false])": {
6101
+ background: "unset",
6102
+ pointerEvents: "auto",
6103
+ userSelect: "auto",
6104
+ "& *": {
6105
+ visibility: "visible"
6106
+ }
6107
+ }
6108
+ }
6109
+ }
6110
+ }
6111
+ ],
6112
+ defaultVariants: {
6113
+ color: "gray"
6114
+ }
6115
+ });
6116
+
6028
6117
  // src/recipes/index.ts
6029
6118
  var recipes = {
6030
6119
  buttonRecipe,
@@ -6053,7 +6142,8 @@ var recipes = {
6053
6142
  monthItemRecipe,
6054
6143
  yearItemRecipe,
6055
6144
  timeItemRecipe,
6056
- textlinkRecipe
6145
+ textlinkRecipe,
6146
+ skeletonRecipe
6057
6147
  };
6058
6148
  var slotRecipes = {
6059
6149
  accordionSlotRecipe,
@@ -6104,8 +6194,8 @@ var slotRecipes = {
6104
6194
  };
6105
6195
 
6106
6196
  // src/text-styles.ts
6107
- var import_dev44 = require("@pandacss/dev");
6108
- var textStyles = (0, import_dev44.defineTextStyles)({
6197
+ var import_dev45 = require("@pandacss/dev");
6198
+ var textStyles = (0, import_dev45.defineTextStyles)({
6109
6199
  overline: {
6110
6200
  value: {
6111
6201
  fontFamily: "var(--font-inter)",
@@ -6148,11 +6238,11 @@ var textStyles = (0, import_dev44.defineTextStyles)({
6148
6238
  });
6149
6239
 
6150
6240
  // src/tokens/index.ts
6151
- var import_dev55 = require("@pandacss/dev");
6241
+ var import_dev56 = require("@pandacss/dev");
6152
6242
 
6153
6243
  // src/tokens/borders.ts
6154
- var import_dev45 = require("@pandacss/dev");
6155
- var borderWidths = import_dev45.defineTokens.borderWidths({
6244
+ var import_dev46 = require("@pandacss/dev");
6245
+ var borderWidths = import_dev46.defineTokens.borderWidths({
6156
6246
  none: { value: "none" },
6157
6247
  sm: { value: "1px" },
6158
6248
  md: { value: "1.5px" },
@@ -6160,8 +6250,8 @@ var borderWidths = import_dev45.defineTokens.borderWidths({
6160
6250
  });
6161
6251
 
6162
6252
  // src/tokens/colors.ts
6163
- var import_dev46 = require("@pandacss/dev");
6164
- var colors = import_dev46.defineTokens.colors({
6253
+ var import_dev47 = require("@pandacss/dev");
6254
+ var colors = import_dev47.defineTokens.colors({
6165
6255
  debug: { value: "blue" },
6166
6256
  currentcolor: { value: "currentcolor" },
6167
6257
  dark: { value: "#232933" },
@@ -6303,16 +6393,16 @@ var colors = import_dev46.defineTokens.colors({
6303
6393
  });
6304
6394
 
6305
6395
  // src/tokens/durations.ts
6306
- var import_dev47 = require("@pandacss/dev");
6307
- var durations = import_dev47.defineTokens.durations({
6396
+ var import_dev48 = require("@pandacss/dev");
6397
+ var durations = import_dev48.defineTokens.durations({
6308
6398
  slow: { value: "100ms" },
6309
6399
  normal: { value: "250ms" },
6310
6400
  fast: { value: "300ms" }
6311
6401
  });
6312
6402
 
6313
6403
  // src/tokens/opacity.ts
6314
- var import_dev48 = require("@pandacss/dev");
6315
- var opacity = import_dev48.defineTokens.opacity({
6404
+ var import_dev49 = require("@pandacss/dev");
6405
+ var opacity = import_dev49.defineTokens.opacity({
6316
6406
  0: { value: 0 },
6317
6407
  40: { value: 0.4 },
6318
6408
  60: { value: 0.6 },
@@ -6320,8 +6410,8 @@ var opacity = import_dev48.defineTokens.opacity({
6320
6410
  });
6321
6411
 
6322
6412
  // src/tokens/radii.ts
6323
- var import_dev49 = require("@pandacss/dev");
6324
- var radii = import_dev49.defineTokens.radii({
6413
+ var import_dev50 = require("@pandacss/dev");
6414
+ var radii = import_dev50.defineTokens.radii({
6325
6415
  none: { value: "0" },
6326
6416
  xs: { value: "0.125rem", description: "2px" },
6327
6417
  sm: { value: "0.25rem", description: "4px" },
@@ -6332,8 +6422,8 @@ var radii = import_dev49.defineTokens.radii({
6332
6422
  });
6333
6423
 
6334
6424
  // src/tokens/shadows.ts
6335
- var import_dev50 = require("@pandacss/dev");
6336
- var shadows = import_dev50.defineTokens.shadows({
6425
+ var import_dev51 = require("@pandacss/dev");
6426
+ var shadows = import_dev51.defineTokens.shadows({
6337
6427
  xs: {
6338
6428
  value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
6339
6429
  },
@@ -6373,8 +6463,8 @@ var shadows = import_dev50.defineTokens.shadows({
6373
6463
  });
6374
6464
 
6375
6465
  // src/tokens/sizes.ts
6376
- var import_dev51 = require("@pandacss/dev");
6377
- var sizes = import_dev51.defineTokens.sizes({
6466
+ var import_dev52 = require("@pandacss/dev");
6467
+ var sizes = import_dev52.defineTokens.sizes({
6378
6468
  0: { value: "0" },
6379
6469
  0.25: { value: "0.0625rem" },
6380
6470
  0.5: { value: "0.125rem" },
@@ -6403,8 +6493,8 @@ var sizes = import_dev51.defineTokens.sizes({
6403
6493
  });
6404
6494
 
6405
6495
  // src/tokens/spacing.ts
6406
- var import_dev52 = require("@pandacss/dev");
6407
- var spacing = import_dev52.defineTokens.spacing({
6496
+ var import_dev53 = require("@pandacss/dev");
6497
+ var spacing = import_dev53.defineTokens.spacing({
6408
6498
  0: { value: "0" },
6409
6499
  0.5: { value: "0.125rem", description: "2px" },
6410
6500
  1: { value: "0.25rem", description: "4px" },
@@ -6425,8 +6515,8 @@ var spacing = import_dev52.defineTokens.spacing({
6425
6515
  });
6426
6516
 
6427
6517
  // src/tokens/z-index.ts
6428
- var import_dev53 = require("@pandacss/dev");
6429
- var zIndex = import_dev53.defineTokens.zIndex({
6518
+ var import_dev54 = require("@pandacss/dev");
6519
+ var zIndex = import_dev54.defineTokens.zIndex({
6430
6520
  hide: { value: -1 },
6431
6521
  base: { value: 0 },
6432
6522
  docked: { value: 10 },
@@ -6438,8 +6528,8 @@ var zIndex = import_dev53.defineTokens.zIndex({
6438
6528
  });
6439
6529
 
6440
6530
  // src/tokens/typography.ts
6441
- var import_dev54 = require("@pandacss/dev");
6442
- var fonts = import_dev54.defineTokens.fonts({
6531
+ var import_dev55 = require("@pandacss/dev");
6532
+ var fonts = import_dev55.defineTokens.fonts({
6443
6533
  body: {
6444
6534
  value: '"Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
6445
6535
  },
@@ -6447,7 +6537,7 @@ var fonts = import_dev54.defineTokens.fonts({
6447
6537
  value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
6448
6538
  }
6449
6539
  });
6450
- var fontSizes = import_dev54.defineTokens.fontSizes({
6540
+ var fontSizes = import_dev55.defineTokens.fontSizes({
6451
6541
  xs: { value: "0.625rem" },
6452
6542
  sm: { value: "0.75rem" },
6453
6543
  md: { value: "0.875rem" },
@@ -6455,12 +6545,12 @@ var fontSizes = import_dev54.defineTokens.fontSizes({
6455
6545
  xl: { value: "1.25rem" },
6456
6546
  "2xl": { value: "1.5rem" }
6457
6547
  });
6458
- var fontWeights = import_dev54.defineTokens.fontWeights({
6548
+ var fontWeights = import_dev55.defineTokens.fontWeights({
6459
6549
  regular: { value: "400" },
6460
6550
  semiBold: { value: "600" },
6461
6551
  bold: { value: "800" }
6462
6552
  });
6463
- var lineHeights = import_dev54.defineTokens.lineHeights({
6553
+ var lineHeights = import_dev55.defineTokens.lineHeights({
6464
6554
  xs: { value: 1.2 },
6465
6555
  sm: { value: 1.34 },
6466
6556
  md: { value: 1.43 },
@@ -6469,7 +6559,7 @@ var lineHeights = import_dev54.defineTokens.lineHeights({
6469
6559
  "2xl": { value: 1.67 },
6470
6560
  "3xl": { value: 1.71 }
6471
6561
  });
6472
- var letterSpacings = import_dev54.defineTokens.letterSpacings({
6562
+ var letterSpacings = import_dev55.defineTokens.letterSpacings({
6473
6563
  tighter: { value: "-0.05em" },
6474
6564
  tight: { value: "-0.025em" },
6475
6565
  normal: { value: "0" },
@@ -6479,7 +6569,7 @@ var letterSpacings = import_dev54.defineTokens.letterSpacings({
6479
6569
  });
6480
6570
 
6481
6571
  // src/tokens/index.ts
6482
- var tokens = (0, import_dev55.defineTokens)({
6572
+ var tokens = (0, import_dev56.defineTokens)({
6483
6573
  borderWidths,
6484
6574
  colors,
6485
6575
  durations,
@@ -6497,11 +6587,11 @@ var tokens = (0, import_dev55.defineTokens)({
6497
6587
  });
6498
6588
 
6499
6589
  // src/tokens-next/index.ts
6500
- var import_dev61 = require("@pandacss/dev");
6590
+ var import_dev62 = require("@pandacss/dev");
6501
6591
 
6502
6592
  // src/tokens-next/borders.ts
6503
- var import_dev56 = require("@pandacss/dev");
6504
- var borderWidths2 = import_dev56.defineTokens.borderWidths({
6593
+ var import_dev57 = require("@pandacss/dev");
6594
+ var borderWidths2 = import_dev57.defineTokens.borderWidths({
6505
6595
  none: { value: "none" },
6506
6596
  sm: { value: "1px" },
6507
6597
  md: { value: "1.5px" },
@@ -6511,8 +6601,8 @@ var borderWidths2 = import_dev56.defineTokens.borderWidths({
6511
6601
  });
6512
6602
 
6513
6603
  // src/tokens-next/colors.ts
6514
- var import_dev57 = require("@pandacss/dev");
6515
- var colors2 = import_dev57.defineTokens.colors({
6604
+ var import_dev58 = require("@pandacss/dev");
6605
+ var colors2 = import_dev58.defineTokens.colors({
6516
6606
  debug: { value: "red" },
6517
6607
  currentcolor: { value: "currentcolor" },
6518
6608
  white: { value: "#FFFFFF" },
@@ -6684,8 +6774,8 @@ var colors2 = import_dev57.defineTokens.colors({
6684
6774
  });
6685
6775
 
6686
6776
  // src/tokens-next/radii.ts
6687
- var import_dev58 = require("@pandacss/dev");
6688
- var radii2 = import_dev58.defineTokens.radii({
6777
+ var import_dev59 = require("@pandacss/dev");
6778
+ var radii2 = import_dev59.defineTokens.radii({
6689
6779
  none: { value: "0" },
6690
6780
  sm: { value: "0.25rem", description: "4px" },
6691
6781
  md: { value: "0.375rem", description: "6px" },
@@ -6695,8 +6785,8 @@ var radii2 = import_dev58.defineTokens.radii({
6695
6785
  });
6696
6786
 
6697
6787
  // src/tokens-next/spacing.ts
6698
- var import_dev59 = require("@pandacss/dev");
6699
- var spacing2 = import_dev59.defineTokens.spacing({
6788
+ var import_dev60 = require("@pandacss/dev");
6789
+ var spacing2 = import_dev60.defineTokens.spacing({
6700
6790
  0: { value: "0" },
6701
6791
  0.5: { value: "0.125rem", description: "2px" },
6702
6792
  1: { value: "0.25rem", description: "4px" },
@@ -6712,8 +6802,8 @@ var spacing2 = import_dev59.defineTokens.spacing({
6712
6802
  });
6713
6803
 
6714
6804
  // src/tokens-next/shadows.ts
6715
- var import_dev60 = require("@pandacss/dev");
6716
- var shadows2 = import_dev60.defineTokens.shadows({
6805
+ var import_dev61 = require("@pandacss/dev");
6806
+ var shadows2 = import_dev61.defineTokens.shadows({
6717
6807
  xs: {
6718
6808
  value: [
6719
6809
  "0px 2px 4px 0px {colors.background.shadow}",
@@ -6753,7 +6843,7 @@ var shadows2 = import_dev60.defineTokens.shadows({
6753
6843
  });
6754
6844
 
6755
6845
  // src/tokens-next/index.ts
6756
- var tokensNext = (0, import_dev61.defineTokens)({
6846
+ var tokensNext = (0, import_dev62.defineTokens)({
6757
6847
  borderWidths: borderWidths2,
6758
6848
  colors: colors2,
6759
6849
  durations,
@@ -6771,11 +6861,11 @@ var tokensNext = (0, import_dev61.defineTokens)({
6771
6861
  });
6772
6862
 
6773
6863
  // src/semanticTokens/index.ts
6774
- var import_dev64 = require("@pandacss/dev");
6864
+ var import_dev65 = require("@pandacss/dev");
6775
6865
 
6776
6866
  // src/semanticTokens/colors.ts
6777
- var import_dev62 = require("@pandacss/dev");
6778
- var colors3 = import_dev62.defineSemanticTokens.colors({
6867
+ var import_dev63 = require("@pandacss/dev");
6868
+ var colors3 = import_dev63.defineSemanticTokens.colors({
6779
6869
  background: {
6780
6870
  surface: {
6781
6871
  value: {
@@ -7701,8 +7791,8 @@ var colors3 = import_dev62.defineSemanticTokens.colors({
7701
7791
  });
7702
7792
 
7703
7793
  // src/semanticTokens/spacing.ts
7704
- var import_dev63 = require("@pandacss/dev");
7705
- var spacing3 = import_dev63.defineSemanticTokens.spacing({
7794
+ var import_dev64 = require("@pandacss/dev");
7795
+ var spacing3 = import_dev64.defineSemanticTokens.spacing({
7706
7796
  "4xs": {
7707
7797
  value: {
7708
7798
  base: "0.125rem"
@@ -7761,7 +7851,7 @@ var spacing3 = import_dev63.defineSemanticTokens.spacing({
7761
7851
  });
7762
7852
 
7763
7853
  // src/semanticTokens/index.ts
7764
- var semanticTokens = (0, import_dev64.defineSemanticTokens)({
7854
+ var semanticTokens = (0, import_dev65.defineSemanticTokens)({
7765
7855
  colors: colors3,
7766
7856
  spacing: spacing3
7767
7857
  });
@@ -7778,6 +7868,15 @@ var globalFontface = {
7778
7868
  fontWeight: "400"
7779
7869
  // fontDisplay: 'swap'
7780
7870
  },
7871
+ {
7872
+ src: [
7873
+ 'url("https://cdn.mekari.design/fonts/Inter/Inter-Italic.woff2") format("woff2")',
7874
+ 'url("https://cdn.mekari.design/fonts/Inter/Inter-Italic.ttf") format("truetype")'
7875
+ ],
7876
+ fontStyle: "italic",
7877
+ fontWeight: "400"
7878
+ // fontDisplay: 'swap'
7879
+ },
7781
7880
  {
7782
7881
  src: [
7783
7882
  'url("https://cdn.mekari.design/fonts/Inter/Inter-SemiBold.woff2") format("woff2")',
@@ -7800,7 +7899,7 @@ var globalFontface = {
7800
7899
  };
7801
7900
 
7802
7901
  // src/index.ts
7803
- var preset = (0, import_dev65.definePreset)({
7902
+ var preset = (0, import_dev66.definePreset)({
7804
7903
  name: "@mekari/pixel3-theme",
7805
7904
  // Main Theme
7806
7905
  theme: {
package/dist/index.mjs CHANGED
@@ -84,6 +84,10 @@ var keyframes = defineKeyframes({
84
84
  "0%": { backgroundPosition: "0% 20%" },
85
85
  "50%": { backgroundPosition: "100% 50%" },
86
86
  "100%": { backgroundPosition: "0% 100%" }
87
+ },
88
+ shimmer: {
89
+ from: { backgroundPosition: "-100% 0" },
90
+ to: { backgroundPosition: "100% 0" }
87
91
  }
88
92
  });
89
93
 
@@ -918,8 +922,8 @@ var buttonRecipe = defineRecipe({
918
922
  borderRadius: "md"
919
923
  },
920
924
  _hasIcon: {
921
- paddingX: "1.5",
922
- paddingY: "1.5",
925
+ paddingX: "2",
926
+ paddingY: "2",
923
927
  _nextTheme: {
924
928
  paddingX: "xs",
925
929
  paddingY: "xs"
@@ -1002,13 +1006,17 @@ var buttonRecipe = defineRecipe({
1002
1006
  background: "gray.50",
1003
1007
  borderColor: "gray.50",
1004
1008
  _hasIcon: {
1005
- background: "transparent",
1006
- borderColor: "transparent"
1009
+ "&:not([data-has-label=true])": {
1010
+ background: "transparent",
1011
+ borderColor: "transparent"
1012
+ }
1007
1013
  }
1008
1014
  },
1009
1015
  _hasIcon: {
1010
- background: "transparent",
1011
- borderColor: "transparent"
1016
+ "&:not([data-has-label=true])": {
1017
+ background: "transparent",
1018
+ borderColor: "transparent"
1019
+ }
1012
1020
  },
1013
1021
  _nextTheme: {
1014
1022
  color: "text.disabled",
@@ -1018,13 +1026,17 @@ var buttonRecipe = defineRecipe({
1018
1026
  background: "background.disabled",
1019
1027
  borderColor: "background.disabled",
1020
1028
  _hasIcon: {
1021
- background: "transparent",
1022
- borderColor: "transparent"
1029
+ "&:not([data-has-label=true])": {
1030
+ background: "transparent",
1031
+ borderColor: "transparent"
1032
+ }
1023
1033
  }
1024
1034
  },
1025
1035
  _hasIcon: {
1026
- background: "transparent",
1027
- borderColor: "transparent"
1036
+ "&:not([data-has-label=true])": {
1037
+ background: "transparent",
1038
+ borderColor: "transparent"
1039
+ }
1028
1040
  }
1029
1041
  }
1030
1042
  }
@@ -3357,7 +3369,8 @@ var dividerSlotRecipe = defineSlotRecipe15({
3357
3369
  }
3358
3370
  }
3359
3371
  }
3360
- }
3372
+ },
3373
+ staticCss: ["*"]
3361
3374
  });
3362
3375
 
3363
3376
  // src/recipes/modal.ts
@@ -5286,18 +5299,33 @@ var timelineLogSlotRecipe = defineSlotRecipe27({
5286
5299
  color: "gray.400",
5287
5300
  _groupHover: {
5288
5301
  color: "blue.500"
5302
+ },
5303
+ _nextTheme: {
5304
+ color: "text.secondary",
5305
+ _groupHover: {
5306
+ color: "text.highlight"
5307
+ }
5289
5308
  }
5290
5309
  },
5291
5310
  logIcon: {
5292
5311
  color: "gray.400",
5293
- _groupHover: { color: "blue.500" }
5312
+ _groupHover: { color: "blue.500" },
5313
+ _nextTheme: {
5314
+ color: "icon.default",
5315
+ _groupHover: {
5316
+ color: "icon.highlight"
5317
+ }
5318
+ }
5294
5319
  },
5295
5320
  content: {
5296
- listStyleType: "disc",
5321
+ listStyleType: "none",
5297
5322
  paddingLeft: 5
5298
5323
  },
5299
5324
  logItem: {
5300
- color: "gray.600"
5325
+ color: "gray.600",
5326
+ _nextTheme: {
5327
+ color: "text.secondary"
5328
+ }
5301
5329
  }
5302
5330
  }
5303
5331
  });
@@ -5908,7 +5936,10 @@ var textlinkRecipe = defineRecipe14({
5908
5936
  textDecoration: "underline"
5909
5937
  },
5910
5938
  _loading: {
5911
- background: "white"
5939
+ background: "white",
5940
+ _nextTheme: {
5941
+ background: "background.neutral"
5942
+ }
5912
5943
  }
5913
5944
  },
5914
5945
  variants: {
@@ -5999,6 +6030,64 @@ var textlinkRecipe = defineRecipe14({
5999
6030
  }
6000
6031
  });
6001
6032
 
6033
+ // src/recipes/skeleton.ts
6034
+ import { defineRecipe as defineRecipe15 } from "@pandacss/dev";
6035
+ var skeletonRecipe = defineRecipe15({
6036
+ className: "skeleton",
6037
+ jsx: ["MpSkeleton", "mp-skeleton"],
6038
+ base: {
6039
+ flexShrink: 0,
6040
+ animation: "shimmer var(--mp-shimmer-duration) infinite reverse",
6041
+ backgroundSize: "200%",
6042
+ pointerEvents: "none",
6043
+ userSelect: "none",
6044
+ _loading: {
6045
+ "& *": {
6046
+ visibility: "hidden"
6047
+ }
6048
+ }
6049
+ },
6050
+ variants: {
6051
+ color: {
6052
+ gray: {
6053
+ backgroundImage: "linear-gradient(90deg, #d0d6dd, #edf0f2 50%, #d0d6dd)",
6054
+ _nextTheme: {
6055
+ backgroundImage: "linear-gradient(90deg, {colors.icon.subtle}, {colors.icon.inverse} 50%, {colors.icon.subtle})"
6056
+ }
6057
+ },
6058
+ blue: {
6059
+ backgroundImage: "linear-gradient(90deg, #E0E9F7, #F5F9FF 50%, #E0E9F7)"
6060
+ },
6061
+ purple: {
6062
+ backgroundImage: "linear-gradient(90deg, #DCCFFF, #F3F0FD 50%, #DCCFFF)",
6063
+ _nextTheme: {
6064
+ backgroundImage: "linear-gradient(90deg, {colors.background.highlight}, {colors.background.highlight.hovered} 50%, {colors.background.highlight})"
6065
+ }
6066
+ }
6067
+ }
6068
+ },
6069
+ compoundVariants: [
6070
+ {
6071
+ color: ["gray", "blue", "purple"],
6072
+ css: {
6073
+ "&:is([data-has-children=true])": {
6074
+ "&:is([data-loading=false])": {
6075
+ background: "unset",
6076
+ pointerEvents: "auto",
6077
+ userSelect: "auto",
6078
+ "& *": {
6079
+ visibility: "visible"
6080
+ }
6081
+ }
6082
+ }
6083
+ }
6084
+ }
6085
+ ],
6086
+ defaultVariants: {
6087
+ color: "gray"
6088
+ }
6089
+ });
6090
+
6002
6091
  // src/recipes/index.ts
6003
6092
  var recipes = {
6004
6093
  buttonRecipe,
@@ -6027,7 +6116,8 @@ var recipes = {
6027
6116
  monthItemRecipe,
6028
6117
  yearItemRecipe,
6029
6118
  timeItemRecipe,
6030
- textlinkRecipe
6119
+ textlinkRecipe,
6120
+ skeletonRecipe
6031
6121
  };
6032
6122
  var slotRecipes = {
6033
6123
  accordionSlotRecipe,
@@ -7752,6 +7842,15 @@ var globalFontface = {
7752
7842
  fontWeight: "400"
7753
7843
  // fontDisplay: 'swap'
7754
7844
  },
7845
+ {
7846
+ src: [
7847
+ 'url("https://cdn.mekari.design/fonts/Inter/Inter-Italic.woff2") format("woff2")',
7848
+ 'url("https://cdn.mekari.design/fonts/Inter/Inter-Italic.ttf") format("truetype")'
7849
+ ],
7850
+ fontStyle: "italic",
7851
+ fontWeight: "400"
7852
+ // fontDisplay: 'swap'
7853
+ },
7755
7854
  {
7756
7855
  src: [
7757
7856
  'url("https://cdn.mekari.design/fonts/Inter/Inter-SemiBold.woff2") format("woff2")',
@@ -28,6 +28,7 @@ declare const recipes: {
28
28
  yearItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
29
29
  timeItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
30
30
  textlinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
31
+ skeletonRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
31
32
  };
32
33
  declare const slotRecipes: {
33
34
  accordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
@@ -28,6 +28,7 @@ declare const recipes: {
28
28
  yearItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
29
29
  timeItemRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
30
30
  textlinkRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
31
+ skeletonRecipe: _pandacss_types.RecipeConfig<_pandacss_types.RecipeVariantRecord>;
31
32
  };
32
33
  declare const slotRecipes: {
33
34
  accordionSlotRecipe: _pandacss_types.SlotRecipeConfig;
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const skeletonRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
4
+
5
+ export { skeletonRecipe };
@@ -0,0 +1,5 @@
1
+ import * as _pandacss_dev from '@pandacss/dev';
2
+
3
+ declare const skeletonRecipe: _pandacss_dev.RecipeConfig<_pandacss_dev.RecipeVariantRecord>;
4
+
5
+ export { skeletonRecipe };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mekari/pixel3-theme",
3
3
  "description": "Theme for mekari pixel 3",
4
- "version": "0.2.2",
4
+ "version": "0.3.0-dev.1",
5
5
  "main": "dist/index.js",
6
6
  "license": "MIT",
7
7
  "files": [
package/src/fonts.ts CHANGED
@@ -9,6 +9,15 @@ export const globalFontface = {
9
9
  fontWeight: '400'
10
10
  // fontDisplay: 'swap'
11
11
  },
12
+ {
13
+ src: [
14
+ 'url("https://cdn.mekari.design/fonts/Inter/Inter-Italic.woff2") format("woff2")',
15
+ 'url("https://cdn.mekari.design/fonts/Inter/Inter-Italic.ttf") format("truetype")'
16
+ ],
17
+ fontStyle: 'italic',
18
+ fontWeight: '400'
19
+ // fontDisplay: 'swap'
20
+ },
12
21
  {
13
22
  src: [
14
23
  'url("https://cdn.mekari.design/fonts/Inter/Inter-SemiBold.woff2") format("woff2")',
package/src/keyframes.ts CHANGED
@@ -16,5 +16,9 @@ export const keyframes = defineKeyframes({
16
16
  '0%': { backgroundPosition: '0% 20%' },
17
17
  '50%': { backgroundPosition: '100% 50%' },
18
18
  '100%': { backgroundPosition: '0% 100%' }
19
+ },
20
+ shimmer: {
21
+ from: { backgroundPosition: '-100% 0' },
22
+ to: { backgroundPosition: '100% 0' }
19
23
  }
20
24
  })
@@ -318,8 +318,8 @@ const buttonRecipe = defineRecipe({
318
318
  borderRadius: 'md'
319
319
  },
320
320
  _hasIcon: {
321
- paddingX: '1.5',
322
- paddingY: '1.5',
321
+ paddingX: '2',
322
+ paddingY: '2',
323
323
  _nextTheme: {
324
324
  paddingX: 'xs',
325
325
  paddingY: 'xs'
@@ -403,13 +403,17 @@ const buttonRecipe = defineRecipe({
403
403
  background: 'gray.50',
404
404
  borderColor: 'gray.50',
405
405
  _hasIcon: {
406
- background: 'transparent',
407
- borderColor: 'transparent'
406
+ '&:not([data-has-label=true])': {
407
+ background: 'transparent',
408
+ borderColor: 'transparent'
409
+ }
408
410
  }
409
411
  },
410
412
  _hasIcon: {
411
- background: 'transparent',
412
- borderColor: 'transparent'
413
+ '&:not([data-has-label=true])': {
414
+ background: 'transparent',
415
+ borderColor: 'transparent'
416
+ }
413
417
  },
414
418
  _nextTheme: {
415
419
  color: 'text.disabled',
@@ -419,13 +423,17 @@ const buttonRecipe = defineRecipe({
419
423
  background: 'background.disabled',
420
424
  borderColor: 'background.disabled',
421
425
  _hasIcon: {
422
- background: 'transparent',
423
- borderColor: 'transparent'
426
+ '&:not([data-has-label=true])': {
427
+ background: 'transparent',
428
+ borderColor: 'transparent'
429
+ }
424
430
  }
425
431
  },
426
432
  _hasIcon: {
427
- background: 'transparent',
428
- borderColor: 'transparent'
433
+ '&:not([data-has-label=true])': {
434
+ background: 'transparent',
435
+ borderColor: 'transparent'
436
+ }
429
437
  }
430
438
  }
431
439
  }
@@ -43,7 +43,8 @@ const dividerSlotRecipe = defineSlotRecipe({
43
43
  }
44
44
  }
45
45
  }
46
- }
46
+ },
47
+ staticCss: ['*']
47
48
  })
48
49
 
49
50
  export { dividerSlotRecipe }
@@ -65,6 +65,7 @@ import { colorPickerSlotRecipe } from './color-picker'
65
65
  import { sliderSlotRecipe } from './slider'
66
66
  import { tourSlotRecipe } from './tour'
67
67
  import { textlinkRecipe } from './textlink'
68
+ import { skeletonRecipe } from './skeleton'
68
69
 
69
70
  export const recipes = {
70
71
  buttonRecipe,
@@ -93,7 +94,8 @@ export const recipes = {
93
94
  monthItemRecipe,
94
95
  yearItemRecipe,
95
96
  timeItemRecipe,
96
- textlinkRecipe
97
+ textlinkRecipe,
98
+ skeletonRecipe
97
99
  }
98
100
 
99
101
  export const slotRecipes = {
@@ -0,0 +1,62 @@
1
+ import { defineRecipe } from '@pandacss/dev'
2
+
3
+ const skeletonRecipe = defineRecipe({
4
+ className: 'skeleton',
5
+ jsx: ['MpSkeleton', 'mp-skeleton'],
6
+ base: {
7
+ flexShrink: 0,
8
+ animation: 'shimmer var(--mp-shimmer-duration) infinite reverse',
9
+ backgroundSize: '200%',
10
+ pointerEvents: 'none',
11
+ userSelect: 'none',
12
+
13
+ _loading: {
14
+ '& *': {
15
+ visibility: 'hidden'
16
+ }
17
+ }
18
+ },
19
+ variants: {
20
+ color: {
21
+ gray: {
22
+ backgroundImage: 'linear-gradient(90deg, #d0d6dd, #edf0f2 50%, #d0d6dd)',
23
+ _nextTheme: {
24
+ backgroundImage:
25
+ 'linear-gradient(90deg, {colors.icon.subtle}, {colors.icon.inverse} 50%, {colors.icon.subtle})'
26
+ }
27
+ },
28
+ blue: {
29
+ backgroundImage: 'linear-gradient(90deg, #E0E9F7, #F5F9FF 50%, #E0E9F7)'
30
+ },
31
+ purple: {
32
+ backgroundImage: 'linear-gradient(90deg, #DCCFFF, #F3F0FD 50%, #DCCFFF)',
33
+ _nextTheme: {
34
+ backgroundImage:
35
+ 'linear-gradient(90deg, {colors.background.highlight}, {colors.background.highlight.hovered} 50%, {colors.background.highlight})'
36
+ }
37
+ }
38
+ }
39
+ },
40
+ compoundVariants: [
41
+ {
42
+ color: ['gray', 'blue', 'purple'],
43
+ css: {
44
+ '&:is([data-has-children=true])': {
45
+ '&:is([data-loading=false])': {
46
+ background: 'unset',
47
+ pointerEvents: 'auto',
48
+ userSelect: 'auto',
49
+ '& *': {
50
+ visibility: 'visible'
51
+ }
52
+ }
53
+ }
54
+ }
55
+ }
56
+ ],
57
+ defaultVariants: {
58
+ color: 'gray'
59
+ }
60
+ })
61
+
62
+ export { skeletonRecipe }
@@ -14,7 +14,10 @@ const textlinkRecipe = defineRecipe({
14
14
  textDecoration: 'underline'
15
15
  },
16
16
  _loading: {
17
- background: 'white'
17
+ background: 'white',
18
+ _nextTheme: {
19
+ background: 'background.neutral'
20
+ }
18
21
  }
19
22
  },
20
23
  variants: {
@@ -101,7 +104,7 @@ const textlinkRecipe = defineRecipe({
101
104
  }
102
105
  ],
103
106
  defaultVariants: {
104
- variant: 'primary',
107
+ variant: 'primary'
105
108
  }
106
109
  })
107
110
 
@@ -121,18 +121,33 @@ const timelineLogSlotRecipe = defineSlotRecipe({
121
121
  color: 'gray.400',
122
122
  _groupHover: {
123
123
  color: 'blue.500'
124
+ },
125
+ _nextTheme: {
126
+ color: 'text.secondary',
127
+ _groupHover: {
128
+ color: 'text.highlight'
129
+ }
124
130
  }
125
131
  },
126
132
  logIcon: {
127
133
  color: 'gray.400',
128
- _groupHover: { color: 'blue.500' }
134
+ _groupHover: { color: 'blue.500' },
135
+ _nextTheme: {
136
+ color: 'icon.default',
137
+ _groupHover: {
138
+ color: 'icon.highlight'
139
+ }
140
+ }
129
141
  },
130
142
  content: {
131
- listStyleType: 'disc',
143
+ listStyleType: 'none',
132
144
  paddingLeft: 5
133
145
  },
134
146
  logItem: {
135
- color: 'gray.600'
147
+ color: 'gray.600',
148
+ _nextTheme: {
149
+ color: 'text.secondary'
150
+ }
136
151
  }
137
152
  }
138
153
  })