@mekari/pixel3-theme 0.2.3-dev.0 → 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
 
@@ -5321,18 +5325,33 @@ var timelineLogSlotRecipe = (0, import_dev38.defineSlotRecipe)({
5321
5325
  color: "gray.400",
5322
5326
  _groupHover: {
5323
5327
  color: "blue.500"
5328
+ },
5329
+ _nextTheme: {
5330
+ color: "text.secondary",
5331
+ _groupHover: {
5332
+ color: "text.highlight"
5333
+ }
5324
5334
  }
5325
5335
  },
5326
5336
  logIcon: {
5327
5337
  color: "gray.400",
5328
- _groupHover: { color: "blue.500" }
5338
+ _groupHover: { color: "blue.500" },
5339
+ _nextTheme: {
5340
+ color: "icon.default",
5341
+ _groupHover: {
5342
+ color: "icon.highlight"
5343
+ }
5344
+ }
5329
5345
  },
5330
5346
  content: {
5331
- listStyleType: "disc",
5347
+ listStyleType: "none",
5332
5348
  paddingLeft: 5
5333
5349
  },
5334
5350
  logItem: {
5335
- color: "gray.600"
5351
+ color: "gray.600",
5352
+ _nextTheme: {
5353
+ color: "text.secondary"
5354
+ }
5336
5355
  }
5337
5356
  }
5338
5357
  });
@@ -5943,7 +5962,10 @@ var textlinkRecipe = (0, import_dev43.defineRecipe)({
5943
5962
  textDecoration: "underline"
5944
5963
  },
5945
5964
  _loading: {
5946
- background: "white"
5965
+ background: "white",
5966
+ _nextTheme: {
5967
+ background: "background.neutral"
5968
+ }
5947
5969
  }
5948
5970
  },
5949
5971
  variants: {
@@ -6034,6 +6056,64 @@ var textlinkRecipe = (0, import_dev43.defineRecipe)({
6034
6056
  }
6035
6057
  });
6036
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
+
6037
6117
  // src/recipes/index.ts
6038
6118
  var recipes = {
6039
6119
  buttonRecipe,
@@ -6062,7 +6142,8 @@ var recipes = {
6062
6142
  monthItemRecipe,
6063
6143
  yearItemRecipe,
6064
6144
  timeItemRecipe,
6065
- textlinkRecipe
6145
+ textlinkRecipe,
6146
+ skeletonRecipe
6066
6147
  };
6067
6148
  var slotRecipes = {
6068
6149
  accordionSlotRecipe,
@@ -6113,8 +6194,8 @@ var slotRecipes = {
6113
6194
  };
6114
6195
 
6115
6196
  // src/text-styles.ts
6116
- var import_dev44 = require("@pandacss/dev");
6117
- var textStyles = (0, import_dev44.defineTextStyles)({
6197
+ var import_dev45 = require("@pandacss/dev");
6198
+ var textStyles = (0, import_dev45.defineTextStyles)({
6118
6199
  overline: {
6119
6200
  value: {
6120
6201
  fontFamily: "var(--font-inter)",
@@ -6157,11 +6238,11 @@ var textStyles = (0, import_dev44.defineTextStyles)({
6157
6238
  });
6158
6239
 
6159
6240
  // src/tokens/index.ts
6160
- var import_dev55 = require("@pandacss/dev");
6241
+ var import_dev56 = require("@pandacss/dev");
6161
6242
 
6162
6243
  // src/tokens/borders.ts
6163
- var import_dev45 = require("@pandacss/dev");
6164
- var borderWidths = import_dev45.defineTokens.borderWidths({
6244
+ var import_dev46 = require("@pandacss/dev");
6245
+ var borderWidths = import_dev46.defineTokens.borderWidths({
6165
6246
  none: { value: "none" },
6166
6247
  sm: { value: "1px" },
6167
6248
  md: { value: "1.5px" },
@@ -6169,8 +6250,8 @@ var borderWidths = import_dev45.defineTokens.borderWidths({
6169
6250
  });
6170
6251
 
6171
6252
  // src/tokens/colors.ts
6172
- var import_dev46 = require("@pandacss/dev");
6173
- var colors = import_dev46.defineTokens.colors({
6253
+ var import_dev47 = require("@pandacss/dev");
6254
+ var colors = import_dev47.defineTokens.colors({
6174
6255
  debug: { value: "blue" },
6175
6256
  currentcolor: { value: "currentcolor" },
6176
6257
  dark: { value: "#232933" },
@@ -6312,16 +6393,16 @@ var colors = import_dev46.defineTokens.colors({
6312
6393
  });
6313
6394
 
6314
6395
  // src/tokens/durations.ts
6315
- var import_dev47 = require("@pandacss/dev");
6316
- var durations = import_dev47.defineTokens.durations({
6396
+ var import_dev48 = require("@pandacss/dev");
6397
+ var durations = import_dev48.defineTokens.durations({
6317
6398
  slow: { value: "100ms" },
6318
6399
  normal: { value: "250ms" },
6319
6400
  fast: { value: "300ms" }
6320
6401
  });
6321
6402
 
6322
6403
  // src/tokens/opacity.ts
6323
- var import_dev48 = require("@pandacss/dev");
6324
- var opacity = import_dev48.defineTokens.opacity({
6404
+ var import_dev49 = require("@pandacss/dev");
6405
+ var opacity = import_dev49.defineTokens.opacity({
6325
6406
  0: { value: 0 },
6326
6407
  40: { value: 0.4 },
6327
6408
  60: { value: 0.6 },
@@ -6329,8 +6410,8 @@ var opacity = import_dev48.defineTokens.opacity({
6329
6410
  });
6330
6411
 
6331
6412
  // src/tokens/radii.ts
6332
- var import_dev49 = require("@pandacss/dev");
6333
- var radii = import_dev49.defineTokens.radii({
6413
+ var import_dev50 = require("@pandacss/dev");
6414
+ var radii = import_dev50.defineTokens.radii({
6334
6415
  none: { value: "0" },
6335
6416
  xs: { value: "0.125rem", description: "2px" },
6336
6417
  sm: { value: "0.25rem", description: "4px" },
@@ -6341,8 +6422,8 @@ var radii = import_dev49.defineTokens.radii({
6341
6422
  });
6342
6423
 
6343
6424
  // src/tokens/shadows.ts
6344
- var import_dev50 = require("@pandacss/dev");
6345
- var shadows = import_dev50.defineTokens.shadows({
6425
+ var import_dev51 = require("@pandacss/dev");
6426
+ var shadows = import_dev51.defineTokens.shadows({
6346
6427
  xs: {
6347
6428
  value: ["0px 0px 2px 0px rgba(0, 0, 0, 0.12)", "0px 2px 4px 0px rgba(0, 0, 0, 0.14)"]
6348
6429
  },
@@ -6382,8 +6463,8 @@ var shadows = import_dev50.defineTokens.shadows({
6382
6463
  });
6383
6464
 
6384
6465
  // src/tokens/sizes.ts
6385
- var import_dev51 = require("@pandacss/dev");
6386
- var sizes = import_dev51.defineTokens.sizes({
6466
+ var import_dev52 = require("@pandacss/dev");
6467
+ var sizes = import_dev52.defineTokens.sizes({
6387
6468
  0: { value: "0" },
6388
6469
  0.25: { value: "0.0625rem" },
6389
6470
  0.5: { value: "0.125rem" },
@@ -6412,8 +6493,8 @@ var sizes = import_dev51.defineTokens.sizes({
6412
6493
  });
6413
6494
 
6414
6495
  // src/tokens/spacing.ts
6415
- var import_dev52 = require("@pandacss/dev");
6416
- var spacing = import_dev52.defineTokens.spacing({
6496
+ var import_dev53 = require("@pandacss/dev");
6497
+ var spacing = import_dev53.defineTokens.spacing({
6417
6498
  0: { value: "0" },
6418
6499
  0.5: { value: "0.125rem", description: "2px" },
6419
6500
  1: { value: "0.25rem", description: "4px" },
@@ -6434,8 +6515,8 @@ var spacing = import_dev52.defineTokens.spacing({
6434
6515
  });
6435
6516
 
6436
6517
  // src/tokens/z-index.ts
6437
- var import_dev53 = require("@pandacss/dev");
6438
- var zIndex = import_dev53.defineTokens.zIndex({
6518
+ var import_dev54 = require("@pandacss/dev");
6519
+ var zIndex = import_dev54.defineTokens.zIndex({
6439
6520
  hide: { value: -1 },
6440
6521
  base: { value: 0 },
6441
6522
  docked: { value: 10 },
@@ -6447,8 +6528,8 @@ var zIndex = import_dev53.defineTokens.zIndex({
6447
6528
  });
6448
6529
 
6449
6530
  // src/tokens/typography.ts
6450
- var import_dev54 = require("@pandacss/dev");
6451
- var fonts = import_dev54.defineTokens.fonts({
6531
+ var import_dev55 = require("@pandacss/dev");
6532
+ var fonts = import_dev55.defineTokens.fonts({
6452
6533
  body: {
6453
6534
  value: '"Inter", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif, Segoe UI, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
6454
6535
  },
@@ -6456,7 +6537,7 @@ var fonts = import_dev54.defineTokens.fonts({
6456
6537
  value: 'SFMono-Regular, Menlo, Monaco,Consolas, "Liberation Mono", "Courier New", monospace'
6457
6538
  }
6458
6539
  });
6459
- var fontSizes = import_dev54.defineTokens.fontSizes({
6540
+ var fontSizes = import_dev55.defineTokens.fontSizes({
6460
6541
  xs: { value: "0.625rem" },
6461
6542
  sm: { value: "0.75rem" },
6462
6543
  md: { value: "0.875rem" },
@@ -6464,12 +6545,12 @@ var fontSizes = import_dev54.defineTokens.fontSizes({
6464
6545
  xl: { value: "1.25rem" },
6465
6546
  "2xl": { value: "1.5rem" }
6466
6547
  });
6467
- var fontWeights = import_dev54.defineTokens.fontWeights({
6548
+ var fontWeights = import_dev55.defineTokens.fontWeights({
6468
6549
  regular: { value: "400" },
6469
6550
  semiBold: { value: "600" },
6470
6551
  bold: { value: "800" }
6471
6552
  });
6472
- var lineHeights = import_dev54.defineTokens.lineHeights({
6553
+ var lineHeights = import_dev55.defineTokens.lineHeights({
6473
6554
  xs: { value: 1.2 },
6474
6555
  sm: { value: 1.34 },
6475
6556
  md: { value: 1.43 },
@@ -6478,7 +6559,7 @@ var lineHeights = import_dev54.defineTokens.lineHeights({
6478
6559
  "2xl": { value: 1.67 },
6479
6560
  "3xl": { value: 1.71 }
6480
6561
  });
6481
- var letterSpacings = import_dev54.defineTokens.letterSpacings({
6562
+ var letterSpacings = import_dev55.defineTokens.letterSpacings({
6482
6563
  tighter: { value: "-0.05em" },
6483
6564
  tight: { value: "-0.025em" },
6484
6565
  normal: { value: "0" },
@@ -6488,7 +6569,7 @@ var letterSpacings = import_dev54.defineTokens.letterSpacings({
6488
6569
  });
6489
6570
 
6490
6571
  // src/tokens/index.ts
6491
- var tokens = (0, import_dev55.defineTokens)({
6572
+ var tokens = (0, import_dev56.defineTokens)({
6492
6573
  borderWidths,
6493
6574
  colors,
6494
6575
  durations,
@@ -6506,11 +6587,11 @@ var tokens = (0, import_dev55.defineTokens)({
6506
6587
  });
6507
6588
 
6508
6589
  // src/tokens-next/index.ts
6509
- var import_dev61 = require("@pandacss/dev");
6590
+ var import_dev62 = require("@pandacss/dev");
6510
6591
 
6511
6592
  // src/tokens-next/borders.ts
6512
- var import_dev56 = require("@pandacss/dev");
6513
- var borderWidths2 = import_dev56.defineTokens.borderWidths({
6593
+ var import_dev57 = require("@pandacss/dev");
6594
+ var borderWidths2 = import_dev57.defineTokens.borderWidths({
6514
6595
  none: { value: "none" },
6515
6596
  sm: { value: "1px" },
6516
6597
  md: { value: "1.5px" },
@@ -6520,8 +6601,8 @@ var borderWidths2 = import_dev56.defineTokens.borderWidths({
6520
6601
  });
6521
6602
 
6522
6603
  // src/tokens-next/colors.ts
6523
- var import_dev57 = require("@pandacss/dev");
6524
- var colors2 = import_dev57.defineTokens.colors({
6604
+ var import_dev58 = require("@pandacss/dev");
6605
+ var colors2 = import_dev58.defineTokens.colors({
6525
6606
  debug: { value: "red" },
6526
6607
  currentcolor: { value: "currentcolor" },
6527
6608
  white: { value: "#FFFFFF" },
@@ -6693,8 +6774,8 @@ var colors2 = import_dev57.defineTokens.colors({
6693
6774
  });
6694
6775
 
6695
6776
  // src/tokens-next/radii.ts
6696
- var import_dev58 = require("@pandacss/dev");
6697
- var radii2 = import_dev58.defineTokens.radii({
6777
+ var import_dev59 = require("@pandacss/dev");
6778
+ var radii2 = import_dev59.defineTokens.radii({
6698
6779
  none: { value: "0" },
6699
6780
  sm: { value: "0.25rem", description: "4px" },
6700
6781
  md: { value: "0.375rem", description: "6px" },
@@ -6704,8 +6785,8 @@ var radii2 = import_dev58.defineTokens.radii({
6704
6785
  });
6705
6786
 
6706
6787
  // src/tokens-next/spacing.ts
6707
- var import_dev59 = require("@pandacss/dev");
6708
- var spacing2 = import_dev59.defineTokens.spacing({
6788
+ var import_dev60 = require("@pandacss/dev");
6789
+ var spacing2 = import_dev60.defineTokens.spacing({
6709
6790
  0: { value: "0" },
6710
6791
  0.5: { value: "0.125rem", description: "2px" },
6711
6792
  1: { value: "0.25rem", description: "4px" },
@@ -6721,8 +6802,8 @@ var spacing2 = import_dev59.defineTokens.spacing({
6721
6802
  });
6722
6803
 
6723
6804
  // src/tokens-next/shadows.ts
6724
- var import_dev60 = require("@pandacss/dev");
6725
- var shadows2 = import_dev60.defineTokens.shadows({
6805
+ var import_dev61 = require("@pandacss/dev");
6806
+ var shadows2 = import_dev61.defineTokens.shadows({
6726
6807
  xs: {
6727
6808
  value: [
6728
6809
  "0px 2px 4px 0px {colors.background.shadow}",
@@ -6762,7 +6843,7 @@ var shadows2 = import_dev60.defineTokens.shadows({
6762
6843
  });
6763
6844
 
6764
6845
  // src/tokens-next/index.ts
6765
- var tokensNext = (0, import_dev61.defineTokens)({
6846
+ var tokensNext = (0, import_dev62.defineTokens)({
6766
6847
  borderWidths: borderWidths2,
6767
6848
  colors: colors2,
6768
6849
  durations,
@@ -6780,11 +6861,11 @@ var tokensNext = (0, import_dev61.defineTokens)({
6780
6861
  });
6781
6862
 
6782
6863
  // src/semanticTokens/index.ts
6783
- var import_dev64 = require("@pandacss/dev");
6864
+ var import_dev65 = require("@pandacss/dev");
6784
6865
 
6785
6866
  // src/semanticTokens/colors.ts
6786
- var import_dev62 = require("@pandacss/dev");
6787
- var colors3 = import_dev62.defineSemanticTokens.colors({
6867
+ var import_dev63 = require("@pandacss/dev");
6868
+ var colors3 = import_dev63.defineSemanticTokens.colors({
6788
6869
  background: {
6789
6870
  surface: {
6790
6871
  value: {
@@ -7710,8 +7791,8 @@ var colors3 = import_dev62.defineSemanticTokens.colors({
7710
7791
  });
7711
7792
 
7712
7793
  // src/semanticTokens/spacing.ts
7713
- var import_dev63 = require("@pandacss/dev");
7714
- var spacing3 = import_dev63.defineSemanticTokens.spacing({
7794
+ var import_dev64 = require("@pandacss/dev");
7795
+ var spacing3 = import_dev64.defineSemanticTokens.spacing({
7715
7796
  "4xs": {
7716
7797
  value: {
7717
7798
  base: "0.125rem"
@@ -7770,7 +7851,7 @@ var spacing3 = import_dev63.defineSemanticTokens.spacing({
7770
7851
  });
7771
7852
 
7772
7853
  // src/semanticTokens/index.ts
7773
- var semanticTokens = (0, import_dev64.defineSemanticTokens)({
7854
+ var semanticTokens = (0, import_dev65.defineSemanticTokens)({
7774
7855
  colors: colors3,
7775
7856
  spacing: spacing3
7776
7857
  });
@@ -7787,6 +7868,15 @@ var globalFontface = {
7787
7868
  fontWeight: "400"
7788
7869
  // fontDisplay: 'swap'
7789
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
+ },
7790
7880
  {
7791
7881
  src: [
7792
7882
  'url("https://cdn.mekari.design/fonts/Inter/Inter-SemiBold.woff2") format("woff2")',
@@ -7809,7 +7899,7 @@ var globalFontface = {
7809
7899
  };
7810
7900
 
7811
7901
  // src/index.ts
7812
- var preset = (0, import_dev65.definePreset)({
7902
+ var preset = (0, import_dev66.definePreset)({
7813
7903
  name: "@mekari/pixel3-theme",
7814
7904
  // Main Theme
7815
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
 
@@ -5295,18 +5299,33 @@ var timelineLogSlotRecipe = defineSlotRecipe27({
5295
5299
  color: "gray.400",
5296
5300
  _groupHover: {
5297
5301
  color: "blue.500"
5302
+ },
5303
+ _nextTheme: {
5304
+ color: "text.secondary",
5305
+ _groupHover: {
5306
+ color: "text.highlight"
5307
+ }
5298
5308
  }
5299
5309
  },
5300
5310
  logIcon: {
5301
5311
  color: "gray.400",
5302
- _groupHover: { color: "blue.500" }
5312
+ _groupHover: { color: "blue.500" },
5313
+ _nextTheme: {
5314
+ color: "icon.default",
5315
+ _groupHover: {
5316
+ color: "icon.highlight"
5317
+ }
5318
+ }
5303
5319
  },
5304
5320
  content: {
5305
- listStyleType: "disc",
5321
+ listStyleType: "none",
5306
5322
  paddingLeft: 5
5307
5323
  },
5308
5324
  logItem: {
5309
- color: "gray.600"
5325
+ color: "gray.600",
5326
+ _nextTheme: {
5327
+ color: "text.secondary"
5328
+ }
5310
5329
  }
5311
5330
  }
5312
5331
  });
@@ -5917,7 +5936,10 @@ var textlinkRecipe = defineRecipe14({
5917
5936
  textDecoration: "underline"
5918
5937
  },
5919
5938
  _loading: {
5920
- background: "white"
5939
+ background: "white",
5940
+ _nextTheme: {
5941
+ background: "background.neutral"
5942
+ }
5921
5943
  }
5922
5944
  },
5923
5945
  variants: {
@@ -6008,6 +6030,64 @@ var textlinkRecipe = defineRecipe14({
6008
6030
  }
6009
6031
  });
6010
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
+
6011
6091
  // src/recipes/index.ts
6012
6092
  var recipes = {
6013
6093
  buttonRecipe,
@@ -6036,7 +6116,8 @@ var recipes = {
6036
6116
  monthItemRecipe,
6037
6117
  yearItemRecipe,
6038
6118
  timeItemRecipe,
6039
- textlinkRecipe
6119
+ textlinkRecipe,
6120
+ skeletonRecipe
6040
6121
  };
6041
6122
  var slotRecipes = {
6042
6123
  accordionSlotRecipe,
@@ -7761,6 +7842,15 @@ var globalFontface = {
7761
7842
  fontWeight: "400"
7762
7843
  // fontDisplay: 'swap'
7763
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
+ },
7764
7854
  {
7765
7855
  src: [
7766
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.3-dev.0",
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
  })
@@ -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
  })