@classic-homes/maps-core 0.7.2 → 0.7.4

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.
@@ -450,31 +450,33 @@ var THEME_LIGHT = "classic-light";
450
450
  var THEME_DARK = "classic-dark";
451
451
  function generateLightColors() {
452
452
  return {
453
- background: themeTokens.colors.white,
454
- water: themeTokens.colors.sky[200],
455
- land: themeTokens.colors.sage[50],
456
- park: themeTokens.colors.forest[100],
457
- building: themeTokens.colors.gray[200],
458
- buildingOutline: themeTokens.colors.gray[300],
459
- roadPrimary: themeTokens.colors.white,
460
- roadSecondary: themeTokens.colors.gray[100],
461
- roadCasing: themeTokens.colors.gray[300],
462
- rail: themeTokens.colors.gray[400],
463
- boundary: themeTokens.colors.gray[400],
464
- adminBoundary: themeTokens.colors.plum[300],
465
- residential: themeTokens.colors.sage[100],
466
- commercial: themeTokens.colors.stone[100],
467
- industrial: themeTokens.colors.gray[200],
468
- highlight: themeTokens.colors.teal[500],
469
- // Core 1 - brand teal
470
- highlightSecondary: themeTokens.colors.teal[300],
471
- selection: themeTokens.colors.red[500],
472
- // Brand red
453
+ background: themeTokens.ch.white,
454
+ water: themeTokens.ch.accentTeal100,
455
+ // Shallows
456
+ land: themeTokens.ch.paper,
457
+ park: themeTokens.ch.linen,
458
+ building: themeTokens.ch.linen,
459
+ buildingOutline: themeTokens.ch.lichen,
460
+ roadPrimary: themeTokens.ch.white,
461
+ roadSecondary: themeTokens.ch.white,
462
+ roadCasing: themeTokens.ch.lichen,
463
+ rail: themeTokens.ch.sage500,
464
+ boundary: themeTokens.ch.sage500,
465
+ adminBoundary: themeTokens.ch.sage600,
466
+ residential: themeTokens.ch.paper,
467
+ commercial: themeTokens.ch.linen,
468
+ industrial: themeTokens.ch.linen,
469
+ highlight: themeTokens.ch.heritageTeal,
470
+ // hovered: 11.30:1 on land
471
+ highlightSecondary: themeTokens.ch.accentTeal,
472
+ // resting: 3.03:1 on land
473
+ // Selection is not an error: Steel Navy (8.71:1 on land), with the width
474
+ // step in getHighlightStyle, not red
475
+ selection: themeTokens.ch.collection.classic,
473
476
  textPrimary: themeTokens.semanticColors.light.foreground,
474
477
  textSecondary: themeTokens.semanticColors.light.mutedForeground,
475
- textHalo: themeTokens.colors.white,
476
- poi: themeTokens.colors.navy[700],
477
- // Core 2 - brand navy
478
+ textHalo: themeTokens.ch.white,
479
+ poi: themeTokens.ch.heritageTeal,
478
480
  labelBackground: "rgba(255, 255, 255, 0.85)"
479
481
  };
480
482
  }
@@ -509,32 +511,16 @@ function generateDarkColors() {
509
511
  };
510
512
  }
511
513
  function generateLightDataColors() {
514
+ const { chart } = themeTokens.semanticColors.light;
512
515
  return {
513
- sequence: [
514
- themeTokens.colors.teal[500],
515
- // chart.1
516
- themeTokens.colors.navy[700],
517
- // chart.2
518
- themeTokens.colors.plum[700],
519
- // chart.3
520
- themeTokens.colors.forest[500],
521
- // chart.4
522
- themeTokens.colors.sky[600]
523
- // chart.5
524
- ],
525
- positive: themeTokens.colors.forest[500],
526
- negative: themeTokens.colors.red[500],
527
- neutral: themeTokens.colors.gray[500],
528
- heatmapRamp: [
529
- "rgba(59, 164, 167, 0)",
530
- // teal transparent
531
- themeTokens.colors.teal[200],
532
- themeTokens.colors.teal[400],
533
- themeTokens.colors.teal[500],
534
- themeTokens.colors.red[400],
535
- themeTokens.colors.red[500],
536
- themeTokens.colors.red[600]
537
- ]
516
+ // The chart series colours, each 3:1 or more on White
517
+ sequence: [chart[1], chart[2], chart[3], chart[4], chart[5]],
518
+ positive: themeTokens.ch.heritageTeal,
519
+ negative: themeTokens.ch.foundersRed,
520
+ neutral: themeTokens.ch.grey02,
521
+ // One teal ramp (Shallows, Accent Teal, Heritage Teal); no red in it, since
522
+ // red means a problem in v2.5
523
+ heatmapRamp: ["rgba(216, 237, 237, 0)", themeTokens.ch.accentTeal100, themeTokens.ch.accentTeal, themeTokens.ch.heritageTeal]
538
524
  };
539
525
  }
540
526
  function generateDarkDataColors() {
@@ -591,8 +577,6 @@ function generateDarkTheme() {
591
577
  }
592
578
  var lightTheme = generateLightTheme();
593
579
  generateDarkTheme();
594
-
595
- // src/utils/styles.ts
596
580
  function createFillStyle(options) {
597
581
  const paint = {
598
582
  "fill-color": options.color
@@ -813,11 +797,11 @@ function createExtrusionHeightExpression(property, options = {}) {
813
797
  }
814
798
  return heightExpr;
815
799
  }
816
- function createStatusColorExpression(statusColors, defaultColor = "#888888") {
800
+ function createStatusColorExpression(statusColors, defaultColor = themeTokens.ch.grey02) {
817
801
  return createCategoricalColorExpression("status", statusColors, defaultColor);
818
802
  }
819
803
  function createInteractiveStatusColorExpression(statusColors, options) {
820
- const { hoverColor, selectedColor, defaultColor = "#888888" } = options;
804
+ const { hoverColor, selectedColor, defaultColor = themeTokens.ch.grey02 } = options;
821
805
  const baseExpr = createCategoricalColorExpression("status", statusColors, defaultColor);
822
806
  if (selectedColor) {
823
807
  return [
@@ -1206,6 +1190,27 @@ function filterByGeometryType(geojson, types) {
1206
1190
  features: geojson.features.filter((f) => f.geometry && types.includes(f.geometry.type))
1207
1191
  };
1208
1192
  }
1193
+ themeTokens.ch.heritageTeal;
1194
+ var clusterColors = {
1195
+ small: themeTokens.ch.heritageTeal,
1196
+ // < 10 points
1197
+ medium: themeTokens.ch.collection.classic,
1198
+ // Steel Navy, 10-50 points
1199
+ large: themeTokens.ch.collection.portrait,
1200
+ // Aubergine, 50+ points
1201
+ stroke: themeTokens.ch.white,
1202
+ text: themeTokens.ch.white
1203
+ };
1204
+ ({
1205
+ fill: themeTokens.ch.heritageTeal,
1206
+ line: themeTokens.ch.heritageTeal,
1207
+ hoverFill: themeTokens.ch.heritageTeal,
1208
+ defaultFill: themeTokens.ch.accentTeal,
1209
+ hoverLine: themeTokens.ch.heritageTeal,
1210
+ defaultLine: themeTokens.ch.accentTeal
1211
+ });
1212
+ themeTokens.ch.foundersRed;
1213
+ themeTokens.ch.grey02;
1209
1214
 
1210
1215
  // src/utils/cluster.ts
1211
1216
  function isClusterFeature(feature) {
@@ -1290,28 +1295,29 @@ async function expandClusterToBounds(map, sourceId, clusterId, options = {}) {
1290
1295
  }
1291
1296
  function createClusterStyles(options = {}) {
1292
1297
  const {
1293
- smallColor = "#51bbd6",
1294
- mediumColor = "#f1f075",
1295
- largeColor = "#f28cb1",
1298
+ // v2.5 defaults: dark circles that carry White counts (12.68, 9.78, 6.71)
1299
+ smallColor = clusterColors.small,
1300
+ mediumColor = clusterColors.medium,
1301
+ largeColor = clusterColors.large,
1296
1302
  mediumThreshold = 100,
1297
1303
  largeThreshold = 750,
1298
1304
  smallRadius = 20,
1299
1305
  mediumRadius = 30,
1300
1306
  largeRadius = 40,
1301
- strokeColor = "#fff",
1307
+ strokeColor = clusterColors.stroke,
1302
1308
  strokeWidth = 2,
1303
1309
  opacity = 0.85
1304
1310
  } = options.circle ?? {};
1305
1311
  const {
1306
- textColor = "#333",
1312
+ textColor = clusterColors.text,
1307
1313
  textSize = 12,
1308
1314
  fontStack = ["Open Sans Bold", "Arial Unicode MS Bold"],
1309
1315
  abbreviated = false
1310
1316
  } = options.text ?? {};
1311
1317
  const {
1312
- color: pointColor = "#11b4da",
1318
+ color: pointColor = clusterColors.small,
1313
1319
  radius: pointRadius = 8,
1314
- strokeColor: pointStrokeColor = "#fff",
1320
+ strokeColor: pointStrokeColor = clusterColors.stroke,
1315
1321
  strokeWidth: pointStrokeWidth = 1
1316
1322
  } = options.unclusteredPoint ?? {};
1317
1323
  return {
@@ -2831,24 +2837,72 @@ function createGeoJSONFingerprint(data) {
2831
2837
  if (data.type !== "FeatureCollection") return null;
2832
2838
  const features = data.features;
2833
2839
  if (!features || !Array.isArray(features)) {
2834
- return { count: 0, firstId: void 0, lastId: void 0 };
2840
+ return { count: 0, firstId: void 0, lastId: void 0, hash: 0 };
2835
2841
  }
2836
2842
  const count = features.length;
2837
2843
  if (count === 0) {
2838
- return { count: 0, firstId: void 0, lastId: void 0 };
2844
+ return { count: 0, firstId: void 0, lastId: void 0, hash: 0 };
2839
2845
  }
2840
2846
  const firstFeature = features[0];
2841
2847
  const lastFeature = features[count - 1];
2842
2848
  return {
2843
2849
  count,
2844
2850
  firstId: firstFeature?.id,
2845
- lastId: lastFeature?.id
2851
+ lastId: lastFeature?.id,
2852
+ hash: hashValue(SEED, features)
2846
2853
  };
2847
2854
  }
2855
+ var SEED = 2166136261;
2856
+ var TAG_NULL = 1;
2857
+ var TAG_FALSE = 2;
2858
+ var TAG_TRUE = 3;
2859
+ var TAG_NUMBER = 4;
2860
+ var TAG_STRING = 5;
2861
+ var TAG_ARRAY = 6;
2862
+ var TAG_OBJECT = 7;
2863
+ var TAG_UNDEFINED = 8;
2864
+ var float = new Float64Array(1);
2865
+ var floatWords = new Uint32Array(float.buffer);
2866
+ function mix(hash, word) {
2867
+ hash = Math.imul(hash ^ word, 1540483477);
2868
+ return hash ^ hash >>> 15;
2869
+ }
2870
+ function hashString(hash, value) {
2871
+ hash = mix(mix(hash, TAG_STRING), value.length);
2872
+ for (let i = 0; i < value.length; i++) hash = mix(hash, value.charCodeAt(i));
2873
+ return hash;
2874
+ }
2875
+ function hashValue(hash, value) {
2876
+ switch (typeof value) {
2877
+ case "number":
2878
+ float[0] = value;
2879
+ return mix(mix(mix(hash, TAG_NUMBER), floatWords[0]), floatWords[1]);
2880
+ case "string":
2881
+ return hashString(hash, value);
2882
+ case "boolean":
2883
+ return mix(hash, value ? TAG_TRUE : TAG_FALSE);
2884
+ case "object": {
2885
+ if (value === null) return mix(hash, TAG_NULL);
2886
+ if (Array.isArray(value)) {
2887
+ hash = mix(mix(hash, TAG_ARRAY), value.length);
2888
+ for (let i = 0; i < value.length; i++) hash = hashValue(hash, value[i]);
2889
+ return hash;
2890
+ }
2891
+ hash = mix(hash, TAG_OBJECT);
2892
+ for (const key in value) {
2893
+ if (!Object.prototype.hasOwnProperty.call(value, key)) continue;
2894
+ hash = hashValue(hashString(hash, key), value[key]);
2895
+ }
2896
+ return hash;
2897
+ }
2898
+ default:
2899
+ return mix(hash, TAG_UNDEFINED);
2900
+ }
2901
+ }
2848
2902
  function fingerprintEqual(a, b) {
2849
2903
  if (a === null && b === null) return true;
2850
2904
  if (a === null || b === null) return false;
2851
- return a.count === b.count && a.firstId === b.firstId && a.lastId === b.lastId;
2905
+ return a.count === b.count && a.firstId === b.firstId && a.lastId === b.lastId && a.hash === b.hash;
2852
2906
  }
2853
2907
  function geoJSONEqual(a, b) {
2854
2908
  if (typeof a === "string" || typeof b === "string") {
@@ -3030,6 +3084,16 @@ function warnIfWorkerUrlMissing(maplibregl, log = console.warn) {
3030
3084
  }
3031
3085
  }
3032
3086
 
3087
+ // src/utils/deck.ts
3088
+ function supportsDeckInterleaving(map) {
3089
+ if (!map) return false;
3090
+ const transform = map.transform;
3091
+ return typeof transform === "object" && transform !== null;
3092
+ }
3093
+ function resolveDeckInterleaved(map, requested) {
3094
+ return requested && supportsDeckInterleaving(map);
3095
+ }
3096
+
3033
3097
  exports.DEFAULT_SIMPLIFICATION_THRESHOLDS = DEFAULT_SIMPLIFICATION_THRESHOLDS;
3034
3098
  exports.KEYBOARD_CONTROLS = KEYBOARD_CONTROLS;
3035
3099
  exports.MARKER_PROTECTION_CLASS = MARKER_PROTECTION_CLASS;
@@ -3129,11 +3193,13 @@ exports.queryRTreeByBounds = queryRTreeByBounds;
3129
3193
  exports.queryRTreeByBoundsWithStats = queryRTreeByBoundsWithStats;
3130
3194
  exports.removeMarkerProtection = removeMarkerProtection;
3131
3195
  exports.resetWorkerUrlWarning = resetWorkerUrlWarning;
3196
+ exports.resolveDeckInterleaved = resolveDeckInterleaved;
3132
3197
  exports.serializeFilter = serializeFilter;
3133
3198
  exports.simplifyFeature = simplifyFeature;
3134
3199
  exports.simplifyFeatureCollection = simplifyFeatureCollection;
3135
3200
  exports.simplifyFeatureCollectionWithStats = simplifyFeatureCollectionWithStats;
3136
3201
  exports.simplifyPolygon = simplifyPolygon;
3202
+ exports.supportsDeckInterleaving = supportsDeckInterleaving;
3137
3203
  exports.validateBoundsArray = validateBoundsArray;
3138
3204
  exports.validateCoordinates = validateCoordinates;
3139
3205
  exports.validateGeoJSON = validateGeoJSON;
@@ -1,4 +1,4 @@
1
- export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DynamicLODOptions, m as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, n as FilterExpression, o as FilterOperator, p as FilterValue, G as GenerateLODOptions, q as GeoJSONFingerprint, r as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, s as LODDataWithSimplification, t as LoadGeoJSONOptions, u as LoadGeoJSONResult, v as LotFillStyleOptions, w as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, x as MapLibreWorkerApi, N as NumberExpression, P as PaintProps, y as PaintPropsDiff, S as SimplificationStats, z as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, A as applyMarkerChildProtection, B as applyMarkerProtection, H as boundsToPolygon, I as calculateBounds, J as calculateCentroid, O as calculateZoomThresholds, Q as clampLatitude, R as combineBounds, T as countFeaturesByType, W as createCategoricalColorExpression, X as createCircleStyle, Y as createClusterCirclePaint, Z as createClusterStyles, _ as createClusterTextLayout, $ as createContinuousColorExpression, a0 as createDynamicLODManager, a1 as createExtrusionHeightExpression, a2 as createExtrusionStyle, a3 as createFillStyle, a4 as createGeoJSONFingerprint, a5 as createHeatmapStyle, a6 as createHoverExpression, a7 as createInteractiveExpression, a8 as createInteractiveStatusColorExpression, a9 as createLineStyle, aa as createLotFillStyle, ab as createLotOutlineStyle, ac as createSelectionExpression, ad as createStatusColorExpression, ae as createZoomExpression, af as decimalToDMS, ag as deepEqual, ah as ensureValidCoordinates, ai as expandCluster, aj as expandClusterToBounds, ak as extendBounds, al as filterByGeometryType, am as filterEqual, an as fingerprintEqual, ao as formatArea, ap as formatBearing, aq as formatBounds, ar as formatCoordinates, as as formatDistance, at as formatFeatureProperties, au as formatLabel, av as formatPitch, aw as formatPropertyValue, ax as formatScale, ay as formatZoom, az as generateBoundingPolygon, aA as generateConvexHull, aB as generateFeatureCollectionDescription, aC as generateFeatureTable, aD as generateKeyboardControlsDescription, aE as generateLODData, aF as generateLODDataWithSimplification, aG as generateMapDescription, aH as generateMarkerList, aI as generateMarkersDescription, aJ as generateMoveAnnouncement, aK as geoJSONEqual, aL as getChangedPaintProps, aM as getClusterBounds, aN as getClusterChildren, aO as getClusterExpansionZoom, aP as getClusterLeaves, aQ as getGridNavigationIndex, aR as getHighlightStyle, aS as getSelectionStyle, aT as getSimplificationToleranceForZoom, aU as getSimplifiedFeaturesForZoom, aV as groupFeaturesByProperty, aW as isClusterFeature, aX as isValidBounds, aY as isValidLatitude, aZ as isValidLongitude, a_ as loadGeoJSON, a$ as normalizeLongitude, b0 as paintPropsEqual, b1 as removeMarkerProtection, b2 as resetWorkerUrlWarning, b3 as serializeFilter, b4 as simplifyFeature, b5 as simplifyFeatureCollection, b6 as simplifyFeatureCollectionWithStats, b7 as simplifyPolygon, b8 as validateBoundsArray, b9 as validateCoordinates, ba as validateGeoJSON, bb as warnIfWorkerUrlMissing, bc as zoomToScale } from '../worker-BvmbGSPq.cjs';
1
+ export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, y as MapLibreWorkerApi, N as NumberExpression, P as PaintProps, z as PaintPropsDiff, S as SimplificationStats, A as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, B as applyMarkerChildProtection, H as applyMarkerProtection, I as boundsToPolygon, J as calculateBounds, O as calculateCentroid, Q as calculateZoomThresholds, R as clampLatitude, T as combineBounds, W as countFeaturesByType, X as createCategoricalColorExpression, Y as createCircleStyle, Z as createClusterCirclePaint, _ as createClusterStyles, $ as createClusterTextLayout, a0 as createContinuousColorExpression, a1 as createDynamicLODManager, a2 as createExtrusionHeightExpression, a3 as createExtrusionStyle, a4 as createFillStyle, a5 as createGeoJSONFingerprint, a6 as createHeatmapStyle, a7 as createHoverExpression, a8 as createInteractiveExpression, a9 as createInteractiveStatusColorExpression, aa as createLineStyle, ab as createLotFillStyle, ac as createLotOutlineStyle, ad as createSelectionExpression, ae as createStatusColorExpression, af as createZoomExpression, ag as decimalToDMS, ah as deepEqual, ai as ensureValidCoordinates, aj as expandCluster, ak as expandClusterToBounds, al as extendBounds, am as filterByGeometryType, an as filterEqual, ao as fingerprintEqual, ap as formatArea, aq as formatBearing, ar as formatBounds, as as formatCoordinates, at as formatDistance, au as formatFeatureProperties, av as formatLabel, aw as formatPitch, ax as formatPropertyValue, ay as formatScale, az as formatZoom, aA as generateBoundingPolygon, aB as generateConvexHull, aC as generateFeatureCollectionDescription, aD as generateFeatureTable, aE as generateKeyboardControlsDescription, aF as generateLODData, aG as generateLODDataWithSimplification, aH as generateMapDescription, aI as generateMarkerList, aJ as generateMarkersDescription, aK as generateMoveAnnouncement, aL as geoJSONEqual, aM as getChangedPaintProps, aN as getClusterBounds, aO as getClusterChildren, aP as getClusterExpansionZoom, aQ as getClusterLeaves, aR as getGridNavigationIndex, aS as getHighlightStyle, aT as getSelectionStyle, aU as getSimplificationToleranceForZoom, aV as getSimplifiedFeaturesForZoom, aW as groupFeaturesByProperty, aX as isClusterFeature, aY as isValidBounds, aZ as isValidLatitude, a_ as isValidLongitude, a$ as loadGeoJSON, b0 as normalizeLongitude, b1 as paintPropsEqual, b2 as removeMarkerProtection, b3 as resetWorkerUrlWarning, b4 as resolveDeckInterleaved, b5 as serializeFilter, b6 as simplifyFeature, b7 as simplifyFeatureCollection, b8 as simplifyFeatureCollectionWithStats, b9 as simplifyPolygon, ba as supportsDeckInterleaving, bb as validateBoundsArray, bc as validateCoordinates, bd as validateGeoJSON, be as warnIfWorkerUrlMissing, bf as zoomToScale } from '../deck-Cvmx9g1O.cjs';
2
2
  export { B as BuildRTreeIndexOptions, a as BuildSpatialIndexOptions, I as IdleViewportManagerOptions, b as IdleViewportResult, P as PanVelocity, c as PredictiveViewportResult, Q as QuerySpatialIndexOptions, d as QueryStats, R as RTreeIndex, e as RTreeItem, f as RTreeQueryStats, S as SpatialIndex, V as ViewportManagedDataOptions, g as ViewportManagedResult, h as buildRTreeIndex, i as buildSpatialIndex, j as createIdleViewportManager, k as createPredictiveViewportManager, l as createRTreeViewportManager, m as createViewportManager, n as createViewportQuery, q as queryByBounds, o as queryByBoundsWithStats, p as queryRTreeByBounds, r as queryRTreeByBoundsWithStats } from '../spatial-pNn2rgAH.cjs';
3
3
  import '../data-DCyEqgN0.cjs';
4
4
  import '../generator-CU9ZTZ1v.cjs';
@@ -1,4 +1,4 @@
1
- export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DynamicLODOptions, m as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, n as FilterExpression, o as FilterOperator, p as FilterValue, G as GenerateLODOptions, q as GeoJSONFingerprint, r as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, s as LODDataWithSimplification, t as LoadGeoJSONOptions, u as LoadGeoJSONResult, v as LotFillStyleOptions, w as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, x as MapLibreWorkerApi, N as NumberExpression, P as PaintProps, y as PaintPropsDiff, S as SimplificationStats, z as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, A as applyMarkerChildProtection, B as applyMarkerProtection, H as boundsToPolygon, I as calculateBounds, J as calculateCentroid, O as calculateZoomThresholds, Q as clampLatitude, R as combineBounds, T as countFeaturesByType, W as createCategoricalColorExpression, X as createCircleStyle, Y as createClusterCirclePaint, Z as createClusterStyles, _ as createClusterTextLayout, $ as createContinuousColorExpression, a0 as createDynamicLODManager, a1 as createExtrusionHeightExpression, a2 as createExtrusionStyle, a3 as createFillStyle, a4 as createGeoJSONFingerprint, a5 as createHeatmapStyle, a6 as createHoverExpression, a7 as createInteractiveExpression, a8 as createInteractiveStatusColorExpression, a9 as createLineStyle, aa as createLotFillStyle, ab as createLotOutlineStyle, ac as createSelectionExpression, ad as createStatusColorExpression, ae as createZoomExpression, af as decimalToDMS, ag as deepEqual, ah as ensureValidCoordinates, ai as expandCluster, aj as expandClusterToBounds, ak as extendBounds, al as filterByGeometryType, am as filterEqual, an as fingerprintEqual, ao as formatArea, ap as formatBearing, aq as formatBounds, ar as formatCoordinates, as as formatDistance, at as formatFeatureProperties, au as formatLabel, av as formatPitch, aw as formatPropertyValue, ax as formatScale, ay as formatZoom, az as generateBoundingPolygon, aA as generateConvexHull, aB as generateFeatureCollectionDescription, aC as generateFeatureTable, aD as generateKeyboardControlsDescription, aE as generateLODData, aF as generateLODDataWithSimplification, aG as generateMapDescription, aH as generateMarkerList, aI as generateMarkersDescription, aJ as generateMoveAnnouncement, aK as geoJSONEqual, aL as getChangedPaintProps, aM as getClusterBounds, aN as getClusterChildren, aO as getClusterExpansionZoom, aP as getClusterLeaves, aQ as getGridNavigationIndex, aR as getHighlightStyle, aS as getSelectionStyle, aT as getSimplificationToleranceForZoom, aU as getSimplifiedFeaturesForZoom, aV as groupFeaturesByProperty, aW as isClusterFeature, aX as isValidBounds, aY as isValidLatitude, aZ as isValidLongitude, a_ as loadGeoJSON, a$ as normalizeLongitude, b0 as paintPropsEqual, b1 as removeMarkerProtection, b2 as resetWorkerUrlWarning, b3 as serializeFilter, b4 as simplifyFeature, b5 as simplifyFeatureCollection, b6 as simplifyFeatureCollectionWithStats, b7 as simplifyPolygon, b8 as validateBoundsArray, b9 as validateCoordinates, ba as validateGeoJSON, bb as warnIfWorkerUrlMissing, bc as zoomToScale } from '../worker-Cmyx33j4.js';
1
+ export { C as ClusterCircleStyleOptions, a as ClusterExpandOptions, b as ClusterExpansionResult, c as ClusterFeatureProperties, d as ClusterLayerStyles, e as ClusterMapBoundsExpander, f as ClusterMapExpander, g as ClusterMapReader, h as ClusterTextStyleOptions, i as ClusterableGeoJSONSource, j as ColorExpression, k as CoordinateValidationResult, D as DEFAULT_SIMPLIFICATION_THRESHOLDS, l as DeckHostMap, m as DynamicLODOptions, n as DynamicLODState, E as ExtrusionHeightOptions, F as FeatureGroup, o as FilterExpression, p as FilterOperator, q as FilterValue, G as GenerateLODOptions, r as GeoJSONFingerprint, s as GroupFeaturesOptions, K as KEYBOARD_CONTROLS, L as LODData, t as LODDataWithSimplification, u as LoadGeoJSONOptions, v as LoadGeoJSONResult, w as LotFillStyleOptions, x as LotOutlineStyleOptions, M as MARKER_PROTECTION_CLASS, y as MapLibreWorkerApi, N as NumberExpression, P as PaintProps, z as PaintPropsDiff, S as SimplificationStats, A as SimplificationThreshold, U as UnclusteredPointStyleOptions, V as ValidationResult, B as applyMarkerChildProtection, H as applyMarkerProtection, I as boundsToPolygon, J as calculateBounds, O as calculateCentroid, Q as calculateZoomThresholds, R as clampLatitude, T as combineBounds, W as countFeaturesByType, X as createCategoricalColorExpression, Y as createCircleStyle, Z as createClusterCirclePaint, _ as createClusterStyles, $ as createClusterTextLayout, a0 as createContinuousColorExpression, a1 as createDynamicLODManager, a2 as createExtrusionHeightExpression, a3 as createExtrusionStyle, a4 as createFillStyle, a5 as createGeoJSONFingerprint, a6 as createHeatmapStyle, a7 as createHoverExpression, a8 as createInteractiveExpression, a9 as createInteractiveStatusColorExpression, aa as createLineStyle, ab as createLotFillStyle, ac as createLotOutlineStyle, ad as createSelectionExpression, ae as createStatusColorExpression, af as createZoomExpression, ag as decimalToDMS, ah as deepEqual, ai as ensureValidCoordinates, aj as expandCluster, ak as expandClusterToBounds, al as extendBounds, am as filterByGeometryType, an as filterEqual, ao as fingerprintEqual, ap as formatArea, aq as formatBearing, ar as formatBounds, as as formatCoordinates, at as formatDistance, au as formatFeatureProperties, av as formatLabel, aw as formatPitch, ax as formatPropertyValue, ay as formatScale, az as formatZoom, aA as generateBoundingPolygon, aB as generateConvexHull, aC as generateFeatureCollectionDescription, aD as generateFeatureTable, aE as generateKeyboardControlsDescription, aF as generateLODData, aG as generateLODDataWithSimplification, aH as generateMapDescription, aI as generateMarkerList, aJ as generateMarkersDescription, aK as generateMoveAnnouncement, aL as geoJSONEqual, aM as getChangedPaintProps, aN as getClusterBounds, aO as getClusterChildren, aP as getClusterExpansionZoom, aQ as getClusterLeaves, aR as getGridNavigationIndex, aS as getHighlightStyle, aT as getSelectionStyle, aU as getSimplificationToleranceForZoom, aV as getSimplifiedFeaturesForZoom, aW as groupFeaturesByProperty, aX as isClusterFeature, aY as isValidBounds, aZ as isValidLatitude, a_ as isValidLongitude, a$ as loadGeoJSON, b0 as normalizeLongitude, b1 as paintPropsEqual, b2 as removeMarkerProtection, b3 as resetWorkerUrlWarning, b4 as resolveDeckInterleaved, b5 as serializeFilter, b6 as simplifyFeature, b7 as simplifyFeatureCollection, b8 as simplifyFeatureCollectionWithStats, b9 as simplifyPolygon, ba as supportsDeckInterleaving, bb as validateBoundsArray, bc as validateCoordinates, bd as validateGeoJSON, be as warnIfWorkerUrlMissing, bf as zoomToScale } from '../deck-Crhj7TKV.js';
2
2
  export { B as BuildRTreeIndexOptions, a as BuildSpatialIndexOptions, I as IdleViewportManagerOptions, b as IdleViewportResult, P as PanVelocity, c as PredictiveViewportResult, Q as QuerySpatialIndexOptions, d as QueryStats, R as RTreeIndex, e as RTreeItem, f as RTreeQueryStats, S as SpatialIndex, V as ViewportManagedDataOptions, g as ViewportManagedResult, h as buildRTreeIndex, i as buildSpatialIndex, j as createIdleViewportManager, k as createPredictiveViewportManager, l as createRTreeViewportManager, m as createViewportManager, n as createViewportQuery, q as queryByBounds, o as queryByBoundsWithStats, p as queryRTreeByBounds, r as queryRTreeByBoundsWithStats } from '../spatial-Df48Jj9D.js';
3
3
  import '../data-DCyEqgN0.js';
4
4
  import '../generator-CU9ZTZ1v.js';
@@ -1,2 +1,2 @@
1
- export { DEFAULT_SIMPLIFICATION_THRESHOLDS, KEYBOARD_CONTROLS, MARKER_PROTECTION_CLASS, applyMarkerChildProtection, applyMarkerProtection, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clampLatitude, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createClusterCirclePaint, createClusterStyles, createClusterTextLayout, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, createZoomExpression, decimalToDMS, deepEqual, ensureValidCoordinates, expandCluster, expandClusterToBounds, extendBounds, filterByGeometryType, filterEqual, fingerprintEqual, formatArea, formatBearing, formatBounds, formatCoordinates, formatDistance, formatFeatureProperties, formatLabel, formatPitch, formatPropertyValue, formatScale, formatZoom, generateBoundingPolygon, generateConvexHull, generateFeatureCollectionDescription, generateFeatureTable, generateKeyboardControlsDescription, generateLODData, generateLODDataWithSimplification, generateMapDescription, generateMarkerList, generateMarkersDescription, generateMoveAnnouncement, geoJSONEqual, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getGridNavigationIndex, getHighlightStyle, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, groupFeaturesByProperty, isClusterFeature, isValidBounds, isValidLatitude, isValidLongitude, loadGeoJSON, normalizeLongitude, normalizePadding, paintPropsEqual, panToFitPopup, prefersReducedMotion, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, resetWorkerUrlWarning, serializeFilter, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, validateBoundsArray, validateCoordinates, validateGeoJSON, warnIfWorkerUrlMissing, zoomToScale } from '../chunk-4YUKENCX.js';
2
- import '../chunk-ZGUACUEF.js';
1
+ export { DEFAULT_SIMPLIFICATION_THRESHOLDS, KEYBOARD_CONTROLS, MARKER_PROTECTION_CLASS, applyMarkerChildProtection, applyMarkerProtection, boundsToPolygon, buildRTreeIndex, buildSpatialIndex, calculateBounds, calculateCentroid, calculateZoomThresholds, clampLatitude, combineBounds, countFeaturesByType, createCategoricalColorExpression, createCircleStyle, createClusterCirclePaint, createClusterStyles, createClusterTextLayout, createContinuousColorExpression, createDynamicLODManager, createExtrusionHeightExpression, createExtrusionStyle, createFillStyle, createGeoJSONFingerprint, createHeatmapStyle, createHoverExpression, createIdleViewportManager, createInteractiveExpression, createInteractiveStatusColorExpression, createLineStyle, createLotFillStyle, createLotOutlineStyle, createPredictiveViewportManager, createRTreeViewportManager, createSelectionExpression, createStatusColorExpression, createViewportManager, createViewportQuery, createZoomExpression, decimalToDMS, deepEqual, ensureValidCoordinates, expandCluster, expandClusterToBounds, extendBounds, filterByGeometryType, filterEqual, fingerprintEqual, formatArea, formatBearing, formatBounds, formatCoordinates, formatDistance, formatFeatureProperties, formatLabel, formatPitch, formatPropertyValue, formatScale, formatZoom, generateBoundingPolygon, generateConvexHull, generateFeatureCollectionDescription, generateFeatureTable, generateKeyboardControlsDescription, generateLODData, generateLODDataWithSimplification, generateMapDescription, generateMarkerList, generateMarkersDescription, generateMoveAnnouncement, geoJSONEqual, getChangedPaintProps, getClusterBounds, getClusterChildren, getClusterExpansionZoom, getClusterLeaves, getGridNavigationIndex, getHighlightStyle, getSelectionStyle, getSimplificationToleranceForZoom, getSimplifiedFeaturesForZoom, groupFeaturesByProperty, isClusterFeature, isValidBounds, isValidLatitude, isValidLongitude, loadGeoJSON, normalizeLongitude, normalizePadding, paintPropsEqual, panToFitPopup, prefersReducedMotion, queryByBounds, queryByBoundsWithStats, queryRTreeByBounds, queryRTreeByBoundsWithStats, removeMarkerProtection, resetWorkerUrlWarning, resolveDeckInterleaved, serializeFilter, simplifyFeature, simplifyFeatureCollection, simplifyFeatureCollectionWithStats, simplifyPolygon, supportsDeckInterleaving, validateBoundsArray, validateCoordinates, validateGeoJSON, warnIfWorkerUrlMissing, zoomToScale } from '../chunk-ZAGAADA3.js';
2
+ import '../chunk-KEBZDTH3.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/maps-core",
3
- "version": "0.7.2",
3
+ "version": "0.7.4",
4
4
  "description": "Core utilities and theme for Classic Theme maps",
5
5
  "keywords": [
6
6
  "maps",
@@ -36,45 +36,45 @@
36
36
  :root {
37
37
  /* Semantic Colors (HSL format) */
38
38
  --background: 0 0% 100%;
39
- --background-hover: 0 0% 98%;
40
- --foreground: 0 0% 31%;
39
+ --background-hover: 60 13% 94%;
40
+ --foreground: 60 1% 31%;
41
41
 
42
42
  --card: 0 0% 100%;
43
- --card-foreground: 0 0% 31%;
43
+ --card-foreground: 60 1% 31%;
44
44
 
45
45
  --popover: 0 0% 100%;
46
- --popover-foreground: 0 0% 31%;
46
+ --popover-foreground: 60 1% 31%;
47
47
 
48
- --primary: 357 72% 39%;
48
+ --primary: 188 37% 17%;
49
49
  --primary-foreground: 0 0% 100%;
50
- --primary-hover: 357 71% 32%;
50
+ --primary-hover: 188 37% 17%;
51
51
 
52
- --secondary: 71 10% 40%;
53
- --secondary-foreground: 0 0% 100%;
54
- --secondary-hover: 357 72% 39%;
52
+ --secondary: 0 0% 100%;
53
+ --secondary-foreground: 188 37% 17%;
54
+ --secondary-hover: 60 13% 94%;
55
55
 
56
- --muted: 72 11% 91%;
57
- --muted-foreground: 0 0% 48%;
58
- --muted-hover: 72 11% 82%;
56
+ --muted: 60 13% 94%;
57
+ --muted-foreground: 0 0% 40%;
58
+ --muted-hover: 66 15% 87%;
59
59
 
60
- --accent: 182 48% 44%;
61
- --accent-foreground: 0 0% 100%;
62
- --accent-hover: 182 51% 39%;
60
+ --accent: 66 15% 87%;
61
+ --accent-foreground: 60 1% 31%;
62
+ --accent-hover: 66 15% 87%;
63
63
 
64
- --destructive: 0 75% 51%;
64
+ --destructive: 358 69% 40%;
65
65
  --destructive-foreground: 0 0% 100%;
66
- --destructive-hover: 0 70% 50%;
66
+ --destructive-hover: 358 69% 34%;
67
67
 
68
68
  --border: 0 0% 0%;
69
69
  --input: 0 0% 0%;
70
- --ring: 357 72% 39%;
70
+ --ring: 188 37% 17%;
71
71
 
72
72
  /* Status Colors */
73
- --success: 160 84% 39%;
73
+ --success: 188 37% 17%;
74
74
  --success-foreground: 0 0% 100%;
75
- --warning: 38 92% 50%;
75
+ --warning: 358 69% 40%;
76
76
  --warning-foreground: 0 0% 100%;
77
- --info: 217 91% 60%;
77
+ --info: 188 37% 17%;
78
78
  --info-foreground: 0 0% 100%;
79
79
 
80
80
  /* Layout */
@@ -83,11 +83,11 @@
83
83
  --radius: 0.5rem;
84
84
 
85
85
  /* Chart Colors */
86
- --chart-1: 182 48% 44%;
87
- --chart-2: 196 100% 12%;
88
- --chart-3: 335 36% 27%;
89
- --chart-4: 132 23% 53%;
90
- --chart-5: 206 39% 55%;
86
+ --chart-1: 188 37% 17%;
87
+ --chart-2: 71 10% 40%;
88
+ --chart-3: 182 50% 41%;
89
+ --chart-4: 70 9% 48%;
90
+ --chart-5: 30 1% 46%;
91
91
  }
92
92
 
93
93
  .dark {
@@ -467,11 +467,8 @@
467
467
  .border-input {
468
468
  border-color: hsl(var(--input, 0 0% 0%));
469
469
  }
470
- .border-black {
471
- border-color: black;
472
- }
473
- .border-destructive\/50 {
474
- border-color: hsl(var(--destructive, 0 75% 51%) / 0.5);
470
+ .border-foreground {
471
+ border-color: hsl(var(--foreground, 60 1% 31%));
475
472
  }
476
473
 
477
474
  /* Border Radius */
@@ -501,7 +498,7 @@
501
498
  background-color: hsl(var(--background, 0 0% 100%));
502
499
  }
503
500
  .bg-foreground {
504
- background-color: hsl(var(--foreground, 0 0% 31%));
501
+ background-color: hsl(var(--foreground, 60 1% 31%));
505
502
  }
506
503
  .bg-card {
507
504
  background-color: hsl(var(--card, 0 0% 100%));
@@ -510,60 +507,48 @@
510
507
  background-color: hsl(var(--popover, 0 0% 100%));
511
508
  }
512
509
  .bg-muted {
513
- background-color: hsl(var(--muted, 72 11% 91%));
514
- }
515
- .bg-muted\/30 {
516
- background-color: hsl(var(--muted, 72 11% 91%) / 0.3);
517
- }
518
- .bg-muted\/50 {
519
- background-color: hsl(var(--muted, 72 11% 91%) / 0.5);
510
+ background-color: hsl(var(--muted, 60 13% 94%));
520
511
  }
521
512
  .bg-accent {
522
- background-color: hsl(var(--accent, 182 48% 44%));
523
- }
524
- .bg-destructive\/5 {
525
- background-color: hsl(var(--destructive, 0 75% 51%) / 0.05);
513
+ background-color: hsl(var(--accent, 66 15% 87%));
526
514
  }
527
515
  .bg-muted-foreground\/20 {
528
- background-color: hsl(var(--muted-foreground, 0 0% 48%) / 0.2);
516
+ background-color: hsl(var(--muted-foreground, 0 0% 40%) / 0.2);
529
517
  }
530
518
  .bg-primary {
531
- background-color: hsl(var(--primary, 357 72% 39%));
519
+ background-color: hsl(var(--primary, 188 37% 17%));
532
520
  }
533
521
  .bg-secondary {
534
- background-color: hsl(var(--secondary, 71 10% 40%));
522
+ background-color: hsl(var(--secondary, 0 0% 100%));
535
523
  }
536
524
  .bg-success {
537
- background-color: hsl(var(--success, 160 84% 39%));
525
+ background-color: hsl(var(--success, 188 37% 17%));
538
526
  }
539
527
  .bg-warning {
540
- background-color: hsl(var(--warning, 38 92% 50%));
528
+ background-color: hsl(var(--warning, 358 69% 40%));
541
529
  }
542
530
  .bg-info {
543
- background-color: hsl(var(--info, 217 91% 60%));
531
+ background-color: hsl(var(--info, 188 37% 17%));
544
532
  }
545
533
 
546
534
  /* Text Colors */
547
535
  .text-foreground {
548
- color: hsl(var(--foreground, 0 0% 31%));
536
+ color: hsl(var(--foreground, 60 1% 31%));
549
537
  }
550
538
  .text-card-foreground {
551
- color: hsl(var(--card-foreground, 0 0% 31%));
539
+ color: hsl(var(--card-foreground, 60 1% 31%));
552
540
  }
553
541
  .text-popover-foreground {
554
- color: hsl(var(--popover-foreground, 0 0% 31%));
542
+ color: hsl(var(--popover-foreground, 60 1% 31%));
555
543
  }
556
544
  .text-muted-foreground {
557
- color: hsl(var(--muted-foreground, 0 0% 48%));
558
- }
559
- .text-muted-foreground\/60 {
560
- color: hsl(var(--muted-foreground, 0 0% 48%) / 0.6);
545
+ color: hsl(var(--muted-foreground, 0 0% 40%));
561
546
  }
562
547
  .text-destructive {
563
- color: hsl(var(--destructive, 0 75% 51%));
548
+ color: hsl(var(--destructive, 358 69% 40%));
564
549
  }
565
550
  .text-accent-foreground {
566
- color: hsl(var(--accent-foreground, 0 0% 100%));
551
+ color: hsl(var(--accent-foreground, 60 1% 31%));
567
552
  }
568
553
  .text-border {
569
554
  color: hsl(var(--border, 0 0% 0%));
@@ -572,7 +557,7 @@
572
557
  color: hsl(var(--primary-foreground, 0 0% 100%));
573
558
  }
574
559
  .text-secondary-foreground {
575
- color: hsl(var(--secondary-foreground, 0 0% 100%));
560
+ color: hsl(var(--secondary-foreground, 188 37% 17%));
576
561
  }
577
562
  .text-success-foreground {
578
563
  color: hsl(var(--success-foreground, 0 0% 100%));
@@ -612,6 +597,9 @@
612
597
  .font-semibold {
613
598
  font-weight: 600;
614
599
  }
600
+ .line-through {
601
+ text-decoration-line: line-through;
602
+ }
615
603
  .font-mono {
616
604
  font-family:
617
605
  ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
@@ -654,18 +642,18 @@
654
642
 
655
643
  /* Ring */
656
644
  .ring-2 {
657
- box-shadow: 0 0 0 2px var(--tw-ring-color, hsl(var(--ring, 357 72% 39%)));
645
+ box-shadow: 0 0 0 2px var(--tw-ring-color, hsl(var(--ring, 188 37% 17%)));
658
646
  }
659
647
  .ring-primary {
660
- --tw-ring-color: hsl(var(--primary, 357 72% 39%));
648
+ --tw-ring-color: hsl(var(--primary, 188 37% 17%));
661
649
  }
662
650
  .ring-ring {
663
- --tw-ring-color: hsl(var(--ring, 357 72% 39%));
651
+ --tw-ring-color: hsl(var(--ring, 188 37% 17%));
664
652
  }
665
653
  .ring-offset-2 {
666
654
  box-shadow:
667
655
  0 0 0 2px hsl(var(--background, 0 0% 100%)),
668
- 0 0 0 calc(2px + 2px) var(--tw-ring-color, hsl(var(--ring, 357 72% 39%)));
656
+ 0 0 0 calc(2px + 2px) var(--tw-ring-color, hsl(var(--ring, 188 37% 17%)));
669
657
  }
670
658
 
671
659
  /* Opacity */
@@ -773,16 +761,16 @@
773
761
 
774
762
  /* Hover States */
775
763
  .hover\:bg-muted:hover {
776
- background-color: hsl(var(--muted, 72 11% 91%));
764
+ background-color: hsl(var(--muted, 60 13% 94%));
777
765
  }
778
766
  .hover\:bg-accent:hover {
779
- background-color: hsl(var(--accent, 182 48% 44%));
767
+ background-color: hsl(var(--accent, 66 15% 87%));
780
768
  }
781
769
  .hover\:text-foreground:hover {
782
- color: hsl(var(--foreground, 0 0% 31%));
770
+ color: hsl(var(--foreground, 60 1% 31%));
783
771
  }
784
772
  .hover\:text-accent-foreground:hover {
785
- color: hsl(var(--accent-foreground, 0 0% 100%));
773
+ color: hsl(var(--accent-foreground, 60 1% 31%));
786
774
  }
787
775
 
788
776
  /* Focus States */
@@ -791,20 +779,15 @@
791
779
  outline-offset: 2px;
792
780
  }
793
781
  .focus-visible\:ring-2:focus-visible {
794
- box-shadow: 0 0 0 2px var(--tw-ring-color, hsl(var(--ring, 357 72% 39%)));
782
+ box-shadow: 0 0 0 2px var(--tw-ring-color, hsl(var(--ring, 188 37% 17%)));
795
783
  }
796
784
  .focus-visible\:ring-ring:focus-visible {
797
- --tw-ring-color: hsl(var(--ring, 357 72% 39%));
785
+ --tw-ring-color: hsl(var(--ring, 188 37% 17%));
798
786
  }
799
787
  .focus-visible\:ring-offset-2:focus-visible {
800
788
  box-shadow:
801
789
  0 0 0 2px hsl(var(--background, 0 0% 100%)),
802
- 0 0 0 calc(2px + 2px) var(--tw-ring-color, hsl(var(--ring, 357 72% 39%)));
803
- }
804
-
805
- /* Dark Mode */
806
- .dark .dark\:border-gray-400 {
807
- border-color: rgb(156 163 175);
790
+ 0 0 0 calc(2px + 2px) var(--tw-ring-color, hsl(var(--ring, 188 37% 17%)));
808
791
  }
809
792
  }
810
793