@mekari/pixel3-theme 0.5.0-dev.0 → 0.5.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.
@@ -16,6 +16,7 @@ declare const conditions: {
16
16
  hasBorder: string;
17
17
  hasBackground: string;
18
18
  isFullWidth: string;
19
+ isRounded: string;
19
20
  placementLeft: string;
20
21
  placementRight: string;
21
22
  nextTheme: string;
@@ -16,6 +16,7 @@ declare const conditions: {
16
16
  hasBorder: string;
17
17
  hasBackground: string;
18
18
  isFullWidth: string;
19
+ isRounded: string;
19
20
  placementLeft: string;
20
21
  placementRight: string;
21
22
  nextTheme: string;
package/dist/index.js CHANGED
@@ -54,6 +54,7 @@ var conditions = {
54
54
  hasBorder: "&[data-has-border=true]",
55
55
  hasBackground: "&[data-has-background=true]",
56
56
  isFullWidth: "&[data-is-full-width=true]",
57
+ isRounded: "&[data-is-rounded=true]",
57
58
  placementLeft: "&[data-placement=left]",
58
59
  placementRight: "&[data-placement=right]",
59
60
  nextTheme: "[data-panda-theme=next] &",
@@ -435,7 +436,9 @@ var avatarSlotRecipe = (0, import_dev4.defineSlotRecipe)({
435
436
  defaultVariants: {
436
437
  size: "md",
437
438
  variant: "circle"
438
- }
439
+ },
440
+ // TODO: Check why this recipe need to generate statically
441
+ staticCss: ["*"]
439
442
  });
440
443
  var avatarGroupSlotRecipe = (0, import_dev4.defineSlotRecipe)({
441
444
  className: "avatar-group",
@@ -509,7 +512,9 @@ var avatarGroupSlotRecipe = (0, import_dev4.defineSlotRecipe)({
509
512
  }
510
513
  },
511
514
  compoundVariants: [],
512
- defaultVariants: {}
515
+ defaultVariants: {},
516
+ // TODO: Check why this recipe need to generate statically
517
+ staticCss: ["*"]
513
518
  });
514
519
 
515
520
  // src/recipes/airene-button.ts
@@ -656,6 +661,9 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
656
661
  _isFullWidth: {
657
662
  width: "full"
658
663
  },
664
+ _isRounded: {
665
+ borderRadius: "full"
666
+ },
659
667
  _loading: {
660
668
  cursor: "wait",
661
669
  position: "absolute",
@@ -903,8 +911,14 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
903
911
  borderRadius: "sm",
904
912
  textStyle: "label.md",
905
913
  fontWeight: "regular",
914
+ _isRounded: {
915
+ borderRadius: "full"
916
+ },
906
917
  _loading: {
907
- borderRadius: "sm"
918
+ borderRadius: "sm",
919
+ _isRounded: {
920
+ borderRadius: "full"
921
+ }
908
922
  },
909
923
  _hasIcon: {
910
924
  paddingX: "1",
@@ -947,8 +961,14 @@ var buttonRecipe = (0, import_dev6.defineRecipe)({
947
961
  borderRadius: "md",
948
962
  textStyle: "label.md",
949
963
  fontWeight: "semiBold",
964
+ _isRounded: {
965
+ borderRadius: "full"
966
+ },
950
967
  _loading: {
951
- borderRadius: "md"
968
+ borderRadius: "md",
969
+ _isRounded: {
970
+ borderRadius: "full"
971
+ }
952
972
  },
953
973
  _hasIcon: {
954
974
  paddingX: "2",
@@ -1088,16 +1108,18 @@ var buttonGroupRecipe = (0, import_dev6.defineRecipe)({
1088
1108
  gap: "var(--mp-button-group-spacing)",
1089
1109
  "&[data-split-button=true]": {
1090
1110
  gap: "0",
1091
- "& > [data-pixel-component=MpButton]": {
1092
- _first: {
1093
- borderTopRightRadius: "none !important",
1094
- borderBottomRightRadius: "none !important",
1095
- borderRight: "0 !important"
1096
- },
1097
- _last: {
1098
- borderTopLeftRadius: "none !important",
1099
- borderBottomLeftRadius: "none !important"
1100
- }
1111
+ "& > button:first-of-type": {
1112
+ borderTopRightRadius: "none !important",
1113
+ borderBottomRightRadius: "none !important",
1114
+ borderRight: "0 !important"
1115
+ },
1116
+ "& > button:not(:first-of-type):not(:last-of-type)": {
1117
+ borderRadius: "none !important",
1118
+ borderRight: "0 !important"
1119
+ },
1120
+ "& > button:last-of-type": {
1121
+ borderTopLeftRadius: "none !important",
1122
+ borderBottomLeftRadius: "none !important"
1101
1123
  }
1102
1124
  }
1103
1125
  }
@@ -3472,7 +3494,17 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
3472
3494
  },
3473
3495
  body: {
3474
3496
  p: 4,
3475
- flex: 1
3497
+ flex: 1,
3498
+ '&[data-drawer-variant="floating"]': {
3499
+ rounded: "lg",
3500
+ background: "background.stage",
3501
+ px: "0",
3502
+ pt: "0",
3503
+ pb: "4",
3504
+ _focus: {
3505
+ outline: "none"
3506
+ }
3507
+ }
3476
3508
  },
3477
3509
  contentRoot: {
3478
3510
  pos: "fixed",
@@ -3500,6 +3532,11 @@ var modalSlotRecipe = (0, import_dev27.defineSlotRecipe)({
3500
3532
  '&[data-modal-type="drawer"]': {
3501
3533
  borderColor: "border.default"
3502
3534
  }
3535
+ },
3536
+ '&[data-modal-type="drawer"][data-drawer-variant="floating"]': {
3537
+ background: "transparent",
3538
+ borderWidth: "0px !important",
3539
+ p: "3"
3503
3540
  }
3504
3541
  },
3505
3542
  header: {
@@ -6824,6 +6861,7 @@ var spacing = import_dev57.defineTokens.spacing({
6824
6861
  1: { value: "0.25rem", description: "4px" },
6825
6862
  1.5: { value: "0.375rem", description: "6px" },
6826
6863
  2: { value: "0.5rem", description: "8px" },
6864
+ 2.5: { value: "0.625rem", description: "10px" },
6827
6865
  3: { value: "0.75rem", description: "12px" },
6828
6866
  4: { value: "1rem", description: "16px" },
6829
6867
  5: { value: "1.3rem", description: "20px" },
@@ -7235,6 +7273,7 @@ var import_dev69 = require("@pandacss/dev");
7235
7273
  // src/semanticTokens/colors.ts
7236
7274
  var import_dev67 = require("@pandacss/dev");
7237
7275
  var colors3 = import_dev67.defineSemanticTokens.colors({
7276
+ // BACKGROUND SEMANTIC TOKENS
7238
7277
  background: {
7239
7278
  surface: {
7240
7279
  DEFAULT: {
@@ -7351,7 +7390,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7351
7390
  base: "{colors.neutral.100}",
7352
7391
  _light: "{colors.neutral.100}",
7353
7392
  _dark: "{colors.dark.250}",
7354
- _enterprise: "{colors.neutral.100}"
7393
+ _enterprise: "{colors.slate.100}"
7355
7394
  }
7356
7395
  },
7357
7396
  subtle: {
@@ -7360,7 +7399,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7360
7399
  base: "{colors.neutral.200}",
7361
7400
  _light: "{colors.neutral.200}",
7362
7401
  _dark: "{colors.dark.300}",
7363
- _enterprise: "{colors.slate.200}"
7402
+ _enterprise: "{colors.slate.100}"
7364
7403
  }
7365
7404
  },
7366
7405
  hovered: {
@@ -7368,7 +7407,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7368
7407
  base: "{colors.neutral.300}",
7369
7408
  _light: "{colors.neutral.300}",
7370
7409
  _dark: "{colors.dark.350}",
7371
- _enterprise: "{colors.slate.300}"
7410
+ _enterprise: "{colors.slate.200}"
7372
7411
  }
7373
7412
  },
7374
7413
  pressed: {
@@ -7376,7 +7415,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7376
7415
  base: "{colors.neutral.400}",
7377
7416
  _light: "{colors.neutral.400}",
7378
7417
  _dark: "{colors.dark.400}",
7379
- _enterprise: "{colors.slate.400}"
7418
+ _enterprise: "{colors.slate.300}"
7380
7419
  }
7381
7420
  },
7382
7421
  selected: {
@@ -7384,7 +7423,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7384
7423
  base: "{colors.neutral.300}",
7385
7424
  _light: "{colors.neutral.300}",
7386
7425
  _dark: "{colors.dark.350}",
7387
- _enterprise: "{colors.slate.300}"
7426
+ _enterprise: "{colors.slate.200}"
7388
7427
  }
7389
7428
  }
7390
7429
  },
@@ -7418,7 +7457,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7418
7457
  base: "{colors.neutral.900}",
7419
7458
  _light: "{colors.neutral.900}",
7420
7459
  _dark: "{colors.dark.900}",
7421
- _enterprise: "{colors.neutral.900}"
7460
+ _enterprise: "{colors.slate.900}"
7422
7461
  }
7423
7462
  }
7424
7463
  }
@@ -7482,19 +7521,21 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7482
7521
  }
7483
7522
  },
7484
7523
  selected: {
7485
- value: {
7486
- base: "{colors.indigo.800}",
7487
- _light: "{colors.indigo.800}",
7488
- _dark: "{colors.indigo.300}",
7489
- _enterprise: "{colors.emerald.800}"
7490
- }
7491
- },
7492
- selectedDisabled: {
7493
- value: {
7494
- base: "{colors.indigo.200}",
7495
- _light: "{colors.indigo.200}",
7496
- _dark: "{colors.indigo.900}",
7497
- _enterprise: "{colors.emerald.200}"
7524
+ DEFAULT: {
7525
+ value: {
7526
+ base: "{colors.indigo.800}",
7527
+ _light: "{colors.indigo.800}",
7528
+ _dark: "{colors.indigo.300}",
7529
+ _enterprise: "{colors.emerald.800}"
7530
+ }
7531
+ },
7532
+ disabled: {
7533
+ value: {
7534
+ base: "{colors.indigo.200}",
7535
+ _light: "{colors.indigo.200}",
7536
+ _dark: "{colors.indigo.900}",
7537
+ _enterprise: "{colors.emerald.200}"
7538
+ }
7498
7539
  }
7499
7540
  }
7500
7541
  }
@@ -7505,7 +7546,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7505
7546
  base: "{colors.dark.200}",
7506
7547
  _light: "{colors.dark.200}",
7507
7548
  _dark: "{colors.dark.200}",
7508
- _enterprise: "{colors.dark.200}"
7549
+ _enterprise: "{colors.dark.250}"
7509
7550
  }
7510
7551
  },
7511
7552
  hovered: {
@@ -7797,13 +7838,45 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7797
7838
  }
7798
7839
  }
7799
7840
  },
7841
+ nav: {
7842
+ parent: {
7843
+ value: {
7844
+ base: "#E7EDF5",
7845
+ // Doesn't have raw token
7846
+ _light: "#E7EDF5",
7847
+ // Doesn't have raw token
7848
+ _dark: "{colors.dark.100}",
7849
+ _enterprise: "{colors.emerald.1000}"
7850
+ }
7851
+ },
7852
+ stack: {
7853
+ DEFAULT: {
7854
+ value: {
7855
+ base: "{colors.neutral.100}",
7856
+ _light: "{colors.neutral.100}",
7857
+ _dark: "{colors.dark}",
7858
+ _enterprise: "{colors.neutral.100}"
7859
+ }
7860
+ },
7861
+ hovered: {
7862
+ value: {
7863
+ base: "#E7EDF5",
7864
+ // Doesn't have raw token
7865
+ _light: "#E7EDF5",
7866
+ // Doesn't have raw token
7867
+ _dark: "{colors.dark.100}",
7868
+ _enterprise: "{colors.emerald.200}"
7869
+ }
7870
+ }
7871
+ }
7872
+ },
7800
7873
  header: {
7801
7874
  DEFAULT: {
7802
7875
  value: {
7803
7876
  base: "{colors.white}",
7804
7877
  _light: "{colors.white}",
7805
7878
  _dark: "{colors.dark.100}",
7806
- _enterprise: "{colors.white}"
7879
+ _enterprise: "{colors.emerald.1000}"
7807
7880
  }
7808
7881
  },
7809
7882
  menu: {
@@ -7839,6 +7912,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7839
7912
  }
7840
7913
  }
7841
7914
  },
7915
+ // NAVIGATION SEMANTIC TOKENS (REMOVE AFTER NAV IN BACKGROUND IS UPDATED)
7842
7916
  nav: {
7843
7917
  parent: {
7844
7918
  value: {
@@ -7871,6 +7945,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7871
7945
  }
7872
7946
  }
7873
7947
  },
7948
+ // TEXT SEMANTIC TOKENS
7874
7949
  text: {
7875
7950
  default: {
7876
7951
  DEFAULT: {
@@ -7886,7 +7961,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7886
7961
  base: "{colors.neutral.1000}",
7887
7962
  _light: "{colors.neutral.1000}",
7888
7963
  _dark: "{colors.neutral.1000}",
7889
- _enterprise: "{colors.slate.1000}"
7964
+ _enterprise: "{colors.dark.100}"
7890
7965
  }
7891
7966
  }
7892
7967
  },
@@ -7904,7 +7979,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7904
7979
  base: "{colors.neutral.800}",
7905
7980
  _light: "{colors.neutral.800}",
7906
7981
  _dark: "{colors.dark.800}",
7907
- _enterprise: "{colors.neutral.800}"
7982
+ _enterprise: "{colors.slate.800}"
7908
7983
  }
7909
7984
  }
7910
7985
  },
@@ -7913,7 +7988,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7913
7988
  base: "{colors.neutral.600}",
7914
7989
  _light: "{colors.neutral.600}",
7915
7990
  _dark: "{colors.dark.600}",
7916
- _enterprise: "{colors.slate.600}"
7991
+ _enterprise: "{colors.slate.500}"
7917
7992
  }
7918
7993
  },
7919
7994
  disabled: {
@@ -7947,7 +8022,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7947
8022
  base: "{colors.indigo.700}",
7948
8023
  _light: "{colors.indigo.700}",
7949
8024
  _dark: "{colors.indigo.400}",
7950
- _enterprise: "{colors.emerald.700}"
8025
+ _enterprise: "{colors.emerald.800}"
7951
8026
  }
7952
8027
  },
7953
8028
  danger: {
@@ -7991,7 +8066,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
7991
8066
  base: "{colors.green.800}",
7992
8067
  _light: "{colors.green.800}",
7993
8068
  _dark: "{colors.green.300}",
7994
- _enterprise: "{colors.green.800}"
8069
+ _enterprise: "{colors.emerald.800}"
7995
8070
  }
7996
8071
  },
7997
8072
  highlight: {
@@ -8007,7 +8082,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8007
8082
  base: "{colors.indigo.800}",
8008
8083
  _light: "{colors.indigo.800}",
8009
8084
  _dark: "{colors.indigo.300}",
8010
- _enterprise: "{colors.emerald.800}"
8085
+ _enterprise: "{colors.indigo.700}"
8011
8086
  }
8012
8087
  },
8013
8088
  link: {
@@ -8016,7 +8091,8 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8016
8091
  base: "{colors.indigo.700}",
8017
8092
  _light: "{colors.indigo.700}",
8018
8093
  _dark: "{colors.indigo.400}",
8019
- _enterprise: "{colors.emerald.700}"
8094
+ _enterprise: "#165082"
8095
+ // Doesn't have raw token
8020
8096
  }
8021
8097
  },
8022
8098
  pressed: {
@@ -8024,11 +8100,13 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8024
8100
  base: "{colors.indigo.800}",
8025
8101
  _light: "{colors.indigo.800}",
8026
8102
  _dark: "{colors.indigo.300}",
8027
- _enterprise: "{colors.emerald.800}"
8103
+ _enterprise: "#0D4372"
8104
+ // Doesn't have raw token
8028
8105
  }
8029
8106
  }
8030
8107
  }
8031
8108
  },
8109
+ // ICON SEMANTIC TOKENS
8032
8110
  icon: {
8033
8111
  default: {
8034
8112
  value: {
@@ -8052,7 +8130,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8052
8130
  base: "{colors.white}",
8053
8131
  _light: "{colors.white}",
8054
8132
  _dark: "{colors.dark.100}",
8055
- _enterprise: "{colors.white}"
8133
+ _enterprise: "{colors.emerald.100}"
8056
8134
  }
8057
8135
  },
8058
8136
  static: {
@@ -8111,7 +8189,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8111
8189
  base: "{colors.green.700}",
8112
8190
  _light: "{colors.green.700}",
8113
8191
  _dark: "{colors.green.400}",
8114
- _enterprise: "{colors.green.700}"
8192
+ _enterprise: "{colors.emerald.600}"
8115
8193
  }
8116
8194
  },
8117
8195
  highlight: {
@@ -8119,7 +8197,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8119
8197
  base: "{colors.violet.700}",
8120
8198
  _light: "{colors.violet.700}",
8121
8199
  _dark: "{colors.violet.400}",
8122
- _enterprise: "{colors.violet.700}"
8200
+ _enterprise: "{colors.orange.700}"
8123
8201
  }
8124
8202
  },
8125
8203
  information: {
@@ -8127,7 +8205,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8127
8205
  base: "{colors.indigo.700}",
8128
8206
  _light: "{colors.indigo.700}",
8129
8207
  _dark: "{colors.indigo.400}",
8130
- _enterprise: "{colors.emerald.700}"
8208
+ _enterprise: "{colors.indigo.600}"
8131
8209
  }
8132
8210
  },
8133
8211
  subtle: {
@@ -8140,28 +8218,34 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8140
8218
  },
8141
8219
  logo: {
8142
8220
  value: {
8143
- base: "{colors.neutral.1000}",
8144
- _light: "{colors.neutral.1000}",
8145
- _dark: "{colors.neutral.100}",
8146
- _enterprise: "{colors.slate.1000}"
8221
+ base: "#000000",
8222
+ // Doesn't have raw token
8223
+ _light: "#000000",
8224
+ // Doesn't have raw token
8225
+ _dark: "{colors.white}",
8226
+ _enterprise: "#000000"
8227
+ // Doesn't have raw token
8147
8228
  }
8148
8229
  }
8149
8230
  },
8231
+ // BORDER SEMANTIC TOKENS
8150
8232
  border: {
8151
8233
  default: {
8152
- value: {
8153
- base: "{colors.neutral.300}",
8154
- _light: "{colors.neutral.300}",
8155
- _dark: "{colors.dark.300}",
8156
- _enterprise: "{colors.slate.300}"
8157
- }
8158
- },
8159
- subtle: {
8160
- value: {
8161
- base: "{colors.neutral.200}",
8162
- _light: "{colors.neutral.200}",
8163
- _dark: "{colors.dark.200}",
8164
- _enterprise: "{colors.slate.200}"
8234
+ DEFAULT: {
8235
+ value: {
8236
+ base: "{colors.neutral.300}",
8237
+ _light: "{colors.neutral.300}",
8238
+ _dark: "{colors.dark.300}",
8239
+ _enterprise: "{colors.slate.300}"
8240
+ }
8241
+ },
8242
+ subtle: {
8243
+ value: {
8244
+ base: "{colors.neutral.200}",
8245
+ _light: "{colors.neutral.200}",
8246
+ _dark: "{colors.dark.200}",
8247
+ _enterprise: "{colors.slate.200}"
8248
+ }
8165
8249
  }
8166
8250
  },
8167
8251
  bold: {
@@ -8169,7 +8253,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8169
8253
  base: "{colors.neutral.600}",
8170
8254
  _light: "{colors.neutral.600}",
8171
8255
  _dark: "{colors.dark.600}",
8172
- _enterprise: "{colors.slate.600}"
8256
+ _enterprise: "{colors.slate.400}"
8173
8257
  }
8174
8258
  },
8175
8259
  disabled: {
@@ -8235,7 +8319,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8235
8319
  base: "{colors.indigo.700}",
8236
8320
  _light: "{colors.indigo.700}",
8237
8321
  _dark: "{colors.indigo.400}",
8238
- _enterprise: "{colors.emerald.700}"
8322
+ _enterprise: "{colors.emerald.800}"
8239
8323
  }
8240
8324
  },
8241
8325
  danger: {
@@ -8243,7 +8327,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8243
8327
  base: "{colors.red.700}",
8244
8328
  _light: "{colors.red.700}",
8245
8329
  _dark: "{colors.red.400}",
8246
- _enterprise: "{colors.red.700}"
8330
+ _enterprise: "{colors.red.600}"
8247
8331
  }
8248
8332
  },
8249
8333
  warning: {
@@ -8259,7 +8343,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8259
8343
  base: "{colors.green.700}",
8260
8344
  _light: "{colors.green.700}",
8261
8345
  _dark: "{colors.green.400}",
8262
- _enterprise: "{colors.green.700}"
8346
+ _enterprise: "{colors.emerald.700}"
8263
8347
  }
8264
8348
  },
8265
8349
  highlight: {
@@ -8267,7 +8351,7 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8267
8351
  base: "{colors.violet.700}",
8268
8352
  _light: "{colors.violet.700}",
8269
8353
  _dark: "{colors.violet.400}",
8270
- _enterprise: "{colors.violet.700}"
8354
+ _enterprise: "{colors.orange.700}"
8271
8355
  }
8272
8356
  },
8273
8357
  information: {
@@ -8275,10 +8359,11 @@ var colors3 = import_dev67.defineSemanticTokens.colors({
8275
8359
  base: "{colors.indigo.700}",
8276
8360
  _light: "{colors.indigo.700}",
8277
8361
  _dark: "{colors.indigo.400}",
8278
- _enterprise: "{colors.emerald.700}"
8362
+ _enterprise: "{colors.indigo.600}"
8279
8363
  }
8280
8364
  }
8281
8365
  },
8366
+ // CHART SEMANTIC TOKENS
8282
8367
  chart: {
8283
8368
  cat01: {
8284
8369
  DEFAULT: {