@signozhq/design-tokens 2.1.2 → 2.1.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.
- package/dist/design-tokens.js +116 -54
- package/dist/design-tokens.umd.cjs +1 -1
- package/dist/index.d.ts +78 -16
- package/dist/style.css +1 -1
- package/dist/tailwind-theme.css +1 -1
- package/dist/themes/signoz-tokens.css +1 -1
- package/package.json +1 -1
package/dist/design-tokens.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const b = {
|
|
2
2
|
BG_ROBIN_50: "#edf1fe",
|
|
3
3
|
BG_ROBIN_100: "#cad5fd",
|
|
4
4
|
BG_ROBIN_150: "#cad5fd",
|
|
@@ -271,7 +271,7 @@ const E = {
|
|
|
271
271
|
TEXT_GRADIENT_OCEAN: "linear-gradient(99deg, #48F8CF 4.42%, #28CBF3 96.6%)",
|
|
272
272
|
TEXT_GRADIENT_SPLASH: "linear-gradient(99deg, #4568DC 4.42%, #324DAA 96.6%)",
|
|
273
273
|
TEXT_GRADIENT_FLAMINGO: "linear-gradient(92deg, #CA9CD0 1.36%, #D38972 68.48%, #A1B1E7 98.99%)"
|
|
274
|
-
},
|
|
274
|
+
}, A = {
|
|
275
275
|
"robin-50": "#edf1fe",
|
|
276
276
|
"robin-100": "#cad5fd",
|
|
277
277
|
"robin-150": "#cad5fd",
|
|
@@ -408,7 +408,7 @@ const E = {
|
|
|
408
408
|
"gradient-ocean": "linear-gradient(99deg, #48F8CF 4.42%, #28CBF3 96.6%)",
|
|
409
409
|
"gradient-splash": "linear-gradient(99deg, #4568DC 4.42%, #324DAA 96.6%)",
|
|
410
410
|
"gradient-flamingo": "linear-gradient(92deg, #CA9CD0 1.36%, #D38972 68.48%, #A1B1E7 98.99%)"
|
|
411
|
-
},
|
|
411
|
+
}, T = {
|
|
412
412
|
PADDING_1: "0.25rem",
|
|
413
413
|
PADDING_2: "0.5rem",
|
|
414
414
|
PADDING_3: "0.75rem",
|
|
@@ -445,7 +445,19 @@ const E = {
|
|
|
445
445
|
MARGIN_48: "12rem",
|
|
446
446
|
MARGIN_56: "14rem",
|
|
447
447
|
MARGIN_64: "16rem"
|
|
448
|
-
},
|
|
448
|
+
}, R = {
|
|
449
|
+
PERISCOPE_LINEHEIGHTMEDIUM: "24px",
|
|
450
|
+
PERISCOPE_LINEHEIGHTBASE: "20px",
|
|
451
|
+
PERISCOPE_FONTFAMILYSANS: "Inter, sans-serif",
|
|
452
|
+
PERISCOPE_FONTFAMILYSERIF: "Lora, serif",
|
|
453
|
+
PERISCOPE_FONTFAMILYMONO: "SF Mono, monospace",
|
|
454
|
+
PERISCOPE_FONTWEIGHTREGULAR: "400",
|
|
455
|
+
PERISCOPE_FONTWEIGHTMEDIUM: "500",
|
|
456
|
+
PERISCOPE_FONTWEIGHTBOLD: "600",
|
|
457
|
+
PERISCOPE_FONTSIZELARGE: "18px",
|
|
458
|
+
PERISCOPE_FONTSIZEMEDIUM: "16px",
|
|
459
|
+
PERISCOPE_FONTSIZEBASE: "13px",
|
|
460
|
+
PERISCOPE_FONTSIZESMALL: "11px",
|
|
449
461
|
FONTFAMILY_INTER: "Inter, sans-serif",
|
|
450
462
|
FONTFAMILY_SFMONO: "SF Mono, monospace",
|
|
451
463
|
FONTSIZE_XS: "0.75rem",
|
|
@@ -885,7 +897,7 @@ const E = {
|
|
|
885
897
|
lineHeight: "18px",
|
|
886
898
|
letterSpacing: "-0.5px"
|
|
887
899
|
}
|
|
888
|
-
},
|
|
900
|
+
}, S = {
|
|
889
901
|
BACKGROUND: "var(--background)",
|
|
890
902
|
FOREGROUND: "var(--foreground)",
|
|
891
903
|
CARD: "var(--card)",
|
|
@@ -1006,7 +1018,7 @@ const E = {
|
|
|
1006
1018
|
ACCENT_SIENNA: "var(--accent-sienna)",
|
|
1007
1019
|
ACCENT_SIENNA_HOVER: "var(--accent-sienna-hover)",
|
|
1008
1020
|
ACCENT_SIENNA_FOREGROUND: "var(--accent-sienna-foreground)"
|
|
1009
|
-
},
|
|
1021
|
+
}, I = {
|
|
1010
1022
|
background: "var(--background)",
|
|
1011
1023
|
foreground: "var(--foreground)",
|
|
1012
1024
|
card: "var(--card)",
|
|
@@ -2273,7 +2285,7 @@ const E = {
|
|
|
2273
2285
|
type: "color"
|
|
2274
2286
|
}
|
|
2275
2287
|
}
|
|
2276
|
-
},
|
|
2288
|
+
}, L = {
|
|
2277
2289
|
bg: e,
|
|
2278
2290
|
text: r
|
|
2279
2291
|
}, a = {
|
|
@@ -2499,11 +2511,60 @@ const E = {
|
|
|
2499
2511
|
value: "128px",
|
|
2500
2512
|
type: "spacing"
|
|
2501
2513
|
}
|
|
2502
|
-
},
|
|
2514
|
+
}, m = {
|
|
2503
2515
|
padding: a,
|
|
2504
2516
|
margin: o,
|
|
2505
2517
|
spacing: t
|
|
2506
2518
|
}, n = {
|
|
2519
|
+
lineHeightMedium: {
|
|
2520
|
+
value: "24px",
|
|
2521
|
+
type: "typography"
|
|
2522
|
+
},
|
|
2523
|
+
lineHeightBase: {
|
|
2524
|
+
value: "20px",
|
|
2525
|
+
type: "typography"
|
|
2526
|
+
},
|
|
2527
|
+
fontFamilySans: {
|
|
2528
|
+
value: "Inter, sans-serif",
|
|
2529
|
+
type: "typography"
|
|
2530
|
+
},
|
|
2531
|
+
fontFamilySerif: {
|
|
2532
|
+
value: "Lora, serif",
|
|
2533
|
+
type: "typography"
|
|
2534
|
+
},
|
|
2535
|
+
fontFamilyMono: {
|
|
2536
|
+
value: "SF Mono, monospace",
|
|
2537
|
+
type: "typography"
|
|
2538
|
+
},
|
|
2539
|
+
fontWeightRegular: {
|
|
2540
|
+
value: "400",
|
|
2541
|
+
type: "typography"
|
|
2542
|
+
},
|
|
2543
|
+
fontWeightMedium: {
|
|
2544
|
+
value: "500",
|
|
2545
|
+
type: "typography"
|
|
2546
|
+
},
|
|
2547
|
+
fontWeightBold: {
|
|
2548
|
+
value: "600",
|
|
2549
|
+
type: "typography"
|
|
2550
|
+
},
|
|
2551
|
+
fontSizeLarge: {
|
|
2552
|
+
value: "18px",
|
|
2553
|
+
type: "typography"
|
|
2554
|
+
},
|
|
2555
|
+
fontSizeMedium: {
|
|
2556
|
+
value: "16px",
|
|
2557
|
+
type: "typography"
|
|
2558
|
+
},
|
|
2559
|
+
fontSizeBase: {
|
|
2560
|
+
value: "13px",
|
|
2561
|
+
type: "typography"
|
|
2562
|
+
},
|
|
2563
|
+
fontSizeSmall: {
|
|
2564
|
+
value: "11px",
|
|
2565
|
+
type: "typography"
|
|
2566
|
+
}
|
|
2567
|
+
}, c = {
|
|
2507
2568
|
inter: {
|
|
2508
2569
|
value: "Inter, sans-serif",
|
|
2509
2570
|
type: "typography"
|
|
@@ -2512,7 +2573,7 @@ const E = {
|
|
|
2512
2573
|
value: "SF Mono, monospace",
|
|
2513
2574
|
type: "typography"
|
|
2514
2575
|
}
|
|
2515
|
-
},
|
|
2576
|
+
}, l = {
|
|
2516
2577
|
xs: {
|
|
2517
2578
|
value: "0.75rem",
|
|
2518
2579
|
type: "typography"
|
|
@@ -2565,7 +2626,7 @@ const E = {
|
|
|
2565
2626
|
value: "8rem",
|
|
2566
2627
|
type: "typography"
|
|
2567
2628
|
}
|
|
2568
|
-
},
|
|
2629
|
+
}, i = {
|
|
2569
2630
|
thin: {
|
|
2570
2631
|
value: "100",
|
|
2571
2632
|
type: "typography"
|
|
@@ -2602,7 +2663,7 @@ const E = {
|
|
|
2602
2663
|
value: "900",
|
|
2603
2664
|
type: "typography"
|
|
2604
2665
|
}
|
|
2605
|
-
},
|
|
2666
|
+
}, p = {
|
|
2606
2667
|
18: {
|
|
2607
2668
|
value: "18px",
|
|
2608
2669
|
type: "typography"
|
|
@@ -2676,7 +2737,7 @@ const E = {
|
|
|
2676
2737
|
value: "-0.5px",
|
|
2677
2738
|
type: "typography"
|
|
2678
2739
|
}
|
|
2679
|
-
},
|
|
2740
|
+
}, u = {
|
|
2680
2741
|
large: {
|
|
2681
2742
|
400: {
|
|
2682
2743
|
fontSize: {
|
|
@@ -2949,7 +3010,7 @@ const E = {
|
|
|
2949
3010
|
}
|
|
2950
3011
|
}
|
|
2951
3012
|
}
|
|
2952
|
-
},
|
|
3013
|
+
}, s = {
|
|
2953
3014
|
base: {
|
|
2954
3015
|
400: {
|
|
2955
3016
|
fontSize: {
|
|
@@ -3086,7 +3147,7 @@ const E = {
|
|
|
3086
3147
|
}
|
|
3087
3148
|
}
|
|
3088
3149
|
}
|
|
3089
|
-
},
|
|
3150
|
+
}, d = {
|
|
3090
3151
|
base: {
|
|
3091
3152
|
400: {
|
|
3092
3153
|
fontSize: {
|
|
@@ -3223,7 +3284,7 @@ const E = {
|
|
|
3223
3284
|
}
|
|
3224
3285
|
}
|
|
3225
3286
|
}
|
|
3226
|
-
},
|
|
3287
|
+
}, y = {
|
|
3227
3288
|
medium: {
|
|
3228
3289
|
400: {
|
|
3229
3290
|
fontSize: {
|
|
@@ -3428,17 +3489,18 @@ const E = {
|
|
|
3428
3489
|
}
|
|
3429
3490
|
}
|
|
3430
3491
|
}
|
|
3431
|
-
},
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3492
|
+
}, N = {
|
|
3493
|
+
periscope: n,
|
|
3494
|
+
fontFamily: c,
|
|
3495
|
+
fontSize: l,
|
|
3496
|
+
fontWeight: i,
|
|
3497
|
+
lineHeight: p,
|
|
3436
3498
|
letterSpacing: g,
|
|
3437
|
-
label:
|
|
3438
|
-
uppercase:
|
|
3439
|
-
code:
|
|
3440
|
-
paragraph:
|
|
3441
|
-
},
|
|
3499
|
+
label: u,
|
|
3500
|
+
uppercase: s,
|
|
3501
|
+
code: d,
|
|
3502
|
+
paragraph: y
|
|
3503
|
+
}, v = {
|
|
3442
3504
|
large: {
|
|
3443
3505
|
400: {
|
|
3444
3506
|
fontFamily: "Inter, sans-serif",
|
|
@@ -3531,7 +3593,7 @@ const E = {
|
|
|
3531
3593
|
letterSpacing: "0px"
|
|
3532
3594
|
}
|
|
3533
3595
|
}
|
|
3534
|
-
},
|
|
3596
|
+
}, f = {
|
|
3535
3597
|
base: {
|
|
3536
3598
|
400: {
|
|
3537
3599
|
fontFamily: "Inter, sans-serif",
|
|
@@ -3578,7 +3640,7 @@ const E = {
|
|
|
3578
3640
|
letterSpacing: "4px"
|
|
3579
3641
|
}
|
|
3580
3642
|
}
|
|
3581
|
-
},
|
|
3643
|
+
}, _ = {
|
|
3582
3644
|
base: {
|
|
3583
3645
|
400: {
|
|
3584
3646
|
fontFamily: "SF Mono, monospace",
|
|
@@ -3625,7 +3687,7 @@ const E = {
|
|
|
3625
3687
|
letterSpacing: "0px"
|
|
3626
3688
|
}
|
|
3627
3689
|
}
|
|
3628
|
-
},
|
|
3690
|
+
}, E = {
|
|
3629
3691
|
medium: {
|
|
3630
3692
|
400: {
|
|
3631
3693
|
fontFamily: "Inter, sans-serif",
|
|
@@ -3695,12 +3757,12 @@ const E = {
|
|
|
3695
3757
|
letterSpacing: "-0.5px"
|
|
3696
3758
|
}
|
|
3697
3759
|
}
|
|
3698
|
-
}, N = {
|
|
3699
|
-
label: y,
|
|
3700
|
-
uppercase: v,
|
|
3701
|
-
code: f,
|
|
3702
|
-
paragraph: _
|
|
3703
3760
|
}, x = {
|
|
3761
|
+
label: v,
|
|
3762
|
+
uppercase: f,
|
|
3763
|
+
code: _,
|
|
3764
|
+
paragraph: E
|
|
3765
|
+
}, G = {
|
|
3704
3766
|
default: {
|
|
3705
3767
|
light: {
|
|
3706
3768
|
meta: {
|
|
@@ -4693,7 +4755,7 @@ const E = {
|
|
|
4693
4755
|
group: "surface-levels"
|
|
4694
4756
|
},
|
|
4695
4757
|
"l2-background": {
|
|
4696
|
-
value: "var(--bg-neutral-dark-
|
|
4758
|
+
value: "var(--bg-neutral-dark-950)",
|
|
4697
4759
|
description: "Secondary background for cards and elevated surfaces",
|
|
4698
4760
|
usage: "Use for cards, panels, sidebars, and first-level nested containers",
|
|
4699
4761
|
dontUse: "Avoid for deeply nested elements - use l3 instead",
|
|
@@ -4815,7 +4877,7 @@ const E = {
|
|
|
4815
4877
|
group: "actions"
|
|
4816
4878
|
},
|
|
4817
4879
|
"secondary-background": {
|
|
4818
|
-
value: "var(--bg-neutral-dark-
|
|
4880
|
+
value: "var(--bg-neutral-dark-950)",
|
|
4819
4881
|
description: "Secondary action background color",
|
|
4820
4882
|
usage: "Use for secondary buttons and less prominent actions",
|
|
4821
4883
|
category: "background",
|
|
@@ -4847,7 +4909,7 @@ const E = {
|
|
|
4847
4909
|
group: "actions"
|
|
4848
4910
|
},
|
|
4849
4911
|
"success-background": {
|
|
4850
|
-
value: "var(--bg-forest-
|
|
4912
|
+
value: "var(--bg-forest-500)",
|
|
4851
4913
|
description: "Success action background color",
|
|
4852
4914
|
usage: "Use for success states, confirmations, and positive actions",
|
|
4853
4915
|
category: "background",
|
|
@@ -4860,19 +4922,19 @@ const E = {
|
|
|
4860
4922
|
group: "actions"
|
|
4861
4923
|
},
|
|
4862
4924
|
"success-foreground": {
|
|
4863
|
-
value: "var(--text-neutral-dark-
|
|
4925
|
+
value: "var(--text-neutral-dark-1000)",
|
|
4864
4926
|
description: "Text color for success action elements",
|
|
4865
4927
|
category: "foreground",
|
|
4866
4928
|
group: "actions"
|
|
4867
4929
|
},
|
|
4868
4930
|
"success-foreground-hover": {
|
|
4869
|
-
value: "var(--text-base-
|
|
4931
|
+
value: "var(--text-base-black)",
|
|
4870
4932
|
description: "Hover text color for success elements",
|
|
4871
4933
|
category: "foreground",
|
|
4872
4934
|
group: "actions"
|
|
4873
4935
|
},
|
|
4874
4936
|
"warning-background": {
|
|
4875
|
-
value: "var(--bg-amber-
|
|
4937
|
+
value: "var(--bg-amber-500)",
|
|
4876
4938
|
description: "Warning action background color",
|
|
4877
4939
|
usage: "Use for warning states and cautionary actions",
|
|
4878
4940
|
category: "background",
|
|
@@ -4885,13 +4947,13 @@ const E = {
|
|
|
4885
4947
|
group: "actions"
|
|
4886
4948
|
},
|
|
4887
4949
|
"warning-foreground": {
|
|
4888
|
-
value: "var(--text-neutral-dark-
|
|
4950
|
+
value: "var(--text-neutral-dark-1000)",
|
|
4889
4951
|
description: "Text color for warning action elements",
|
|
4890
4952
|
category: "foreground",
|
|
4891
4953
|
group: "actions"
|
|
4892
4954
|
},
|
|
4893
4955
|
"warning-foreground-hover": {
|
|
4894
|
-
value: "var(--text-base-
|
|
4956
|
+
value: "var(--text-base-black)",
|
|
4895
4957
|
description: "Hover text color for warning elements",
|
|
4896
4958
|
category: "foreground",
|
|
4897
4959
|
group: "actions"
|
|
@@ -4934,13 +4996,13 @@ const E = {
|
|
|
4934
4996
|
group: "surface-levels"
|
|
4935
4997
|
},
|
|
4936
4998
|
"l2-background-transparent": {
|
|
4937
|
-
value: "color-mix(in srgb, var(--bg-neutral-dark-
|
|
4999
|
+
value: "color-mix(in srgb, var(--bg-neutral-dark-950), transparent 100%)",
|
|
4938
5000
|
description: "",
|
|
4939
5001
|
category: "background",
|
|
4940
5002
|
group: "surface-levels"
|
|
4941
5003
|
},
|
|
4942
5004
|
"l2-background-60": {
|
|
4943
|
-
value: "color-mix(in srgb, var(--bg-neutral-dark-
|
|
5005
|
+
value: "color-mix(in srgb, var(--bg-neutral-dark-950), transparent 40%)",
|
|
4944
5006
|
description: "",
|
|
4945
5007
|
category: "background",
|
|
4946
5008
|
group: "surface-levels"
|
|
@@ -5219,16 +5281,16 @@ const E = {
|
|
|
5219
5281
|
}
|
|
5220
5282
|
};
|
|
5221
5283
|
export {
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5226
|
-
|
|
5227
|
-
|
|
5284
|
+
b as Color,
|
|
5285
|
+
A as ColorTailwind,
|
|
5286
|
+
T as Spacing,
|
|
5287
|
+
S as Style,
|
|
5288
|
+
I as StyleTailwind,
|
|
5289
|
+
R as Typography,
|
|
5228
5290
|
h as TypographyStyles,
|
|
5229
|
-
|
|
5230
|
-
|
|
5231
|
-
|
|
5232
|
-
|
|
5233
|
-
|
|
5291
|
+
L as colorTokens,
|
|
5292
|
+
G as semanticTokens,
|
|
5293
|
+
m as spacingTokens,
|
|
5294
|
+
x as typographyStylesTokens,
|
|
5295
|
+
N as typographyTokens
|
|
5234
5296
|
};
|