@frontile/theme 0.18.0-alpha.11 → 0.18.0-alpha.12
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/{forms-legacy-BxJS2xFC.js → forms-legacy-B5rhfjDu.js} +2 -2
- package/dist/{forms-legacy-BxJS2xFC.js.map → forms-legacy-B5rhfjDu.js.map} +1 -1
- package/dist/index.js +2 -2
- package/dist/plugin.js +13 -29
- package/dist/plugin.js.map +1 -1
- package/package.json +12 -12
- package/src/styles/font-faces.css +23 -5
- package/declarations/colors/contrast.d.ts +0 -16
- package/declarations/colors/defaults.d.ts +0 -66
- package/declarations/colors/palette-dark.d.ts +0 -123
- package/declarations/colors/palette-light.d.ts +0 -123
- package/dist/index.css +0 -91
- package/dist/styles/font-faces.css +0 -70
- package/dist/styles/theme.css +0 -48
- package/dist/styles/typography.css +0 -387
|
@@ -1,123 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Frontile Color Palette (light mode)
|
|
3
|
-
*
|
|
4
|
-
* Color scales extracted from Tokens Studio palette definitions.
|
|
5
|
-
*/
|
|
6
|
-
declare const gray: {
|
|
7
|
-
'50': string;
|
|
8
|
-
'100': string;
|
|
9
|
-
'200': string;
|
|
10
|
-
'300': string;
|
|
11
|
-
'400': string;
|
|
12
|
-
'500': string;
|
|
13
|
-
'600': string;
|
|
14
|
-
'700': string;
|
|
15
|
-
'800': string;
|
|
16
|
-
'900': string;
|
|
17
|
-
'950': string;
|
|
18
|
-
};
|
|
19
|
-
declare const blue: {
|
|
20
|
-
'50': string;
|
|
21
|
-
'100': string;
|
|
22
|
-
'200': string;
|
|
23
|
-
'300': string;
|
|
24
|
-
'400': string;
|
|
25
|
-
'500': string;
|
|
26
|
-
'600': string;
|
|
27
|
-
'700': string;
|
|
28
|
-
'800': string;
|
|
29
|
-
'900': string;
|
|
30
|
-
'950': string;
|
|
31
|
-
};
|
|
32
|
-
declare const green: {
|
|
33
|
-
'50': string;
|
|
34
|
-
'100': string;
|
|
35
|
-
'200': string;
|
|
36
|
-
'300': string;
|
|
37
|
-
'400': string;
|
|
38
|
-
'500': string;
|
|
39
|
-
'600': string;
|
|
40
|
-
'700': string;
|
|
41
|
-
'800': string;
|
|
42
|
-
'900': string;
|
|
43
|
-
'950': string;
|
|
44
|
-
};
|
|
45
|
-
declare const orange: {
|
|
46
|
-
'50': string;
|
|
47
|
-
'100': string;
|
|
48
|
-
'200': string;
|
|
49
|
-
'300': string;
|
|
50
|
-
'400': string;
|
|
51
|
-
'500': string;
|
|
52
|
-
'600': string;
|
|
53
|
-
'700': string;
|
|
54
|
-
'800': string;
|
|
55
|
-
'900': string;
|
|
56
|
-
'950': string;
|
|
57
|
-
};
|
|
58
|
-
declare const pink: {
|
|
59
|
-
'50': string;
|
|
60
|
-
'100': string;
|
|
61
|
-
'200': string;
|
|
62
|
-
'300': string;
|
|
63
|
-
'400': string;
|
|
64
|
-
'500': string;
|
|
65
|
-
'600': string;
|
|
66
|
-
'700': string;
|
|
67
|
-
'800': string;
|
|
68
|
-
'900': string;
|
|
69
|
-
'950': string;
|
|
70
|
-
};
|
|
71
|
-
declare const red: {
|
|
72
|
-
'50': string;
|
|
73
|
-
'100': string;
|
|
74
|
-
'200': string;
|
|
75
|
-
'300': string;
|
|
76
|
-
'400': string;
|
|
77
|
-
'500': string;
|
|
78
|
-
'600': string;
|
|
79
|
-
'700': string;
|
|
80
|
-
'800': string;
|
|
81
|
-
'900': string;
|
|
82
|
-
'950': string;
|
|
83
|
-
};
|
|
84
|
-
declare const teal: {
|
|
85
|
-
'50': string;
|
|
86
|
-
'100': string;
|
|
87
|
-
'200': string;
|
|
88
|
-
'300': string;
|
|
89
|
-
'400': string;
|
|
90
|
-
'500': string;
|
|
91
|
-
'600': string;
|
|
92
|
-
'700': string;
|
|
93
|
-
'800': string;
|
|
94
|
-
'900': string;
|
|
95
|
-
'950': string;
|
|
96
|
-
};
|
|
97
|
-
declare const violet: {
|
|
98
|
-
'50': string;
|
|
99
|
-
'100': string;
|
|
100
|
-
'200': string;
|
|
101
|
-
'300': string;
|
|
102
|
-
'400': string;
|
|
103
|
-
'500': string;
|
|
104
|
-
'600': string;
|
|
105
|
-
'700': string;
|
|
106
|
-
'800': string;
|
|
107
|
-
'900': string;
|
|
108
|
-
'950': string;
|
|
109
|
-
};
|
|
110
|
-
declare const yellow: {
|
|
111
|
-
'50': string;
|
|
112
|
-
'100': string;
|
|
113
|
-
'200': string;
|
|
114
|
-
'300': string;
|
|
115
|
-
'400': string;
|
|
116
|
-
'500': string;
|
|
117
|
-
'600': string;
|
|
118
|
-
'700': string;
|
|
119
|
-
'800': string;
|
|
120
|
-
'900': string;
|
|
121
|
-
'950': string;
|
|
122
|
-
};
|
|
123
|
-
export { gray, blue, green, orange, pink, red, teal, violet, yellow };
|
package/dist/index.css
DELETED
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
@source './';
|
|
2
|
-
@import './styles/font-faces.css';
|
|
3
|
-
@import './styles/theme.css';
|
|
4
|
-
|
|
5
|
-
/* Theme variants */
|
|
6
|
-
@custom-variant dark (&:is(.dark *, .light .theme-inverse *):not(.dark .theme-inverse *));
|
|
7
|
-
@custom-variant light (&:is(.light *, .dark .theme-inverse *):not(.light .theme-inverse *));
|
|
8
|
-
@custom-variant focus-visible (&[data-focus-visible-added]);
|
|
9
|
-
|
|
10
|
-
/* Data state variants */
|
|
11
|
-
@custom-variant data-is-active (&[data-active=true]);
|
|
12
|
-
@custom-variant group-data-is-active (:merge(.group)[data-active="true"] &);
|
|
13
|
-
|
|
14
|
-
/* ARIA variants */
|
|
15
|
-
@custom-variant aria-invalid (&[aria-invalid="true"]);
|
|
16
|
-
|
|
17
|
-
/* Animations */
|
|
18
|
-
@keyframes loading {
|
|
19
|
-
from {
|
|
20
|
-
transform: translateX(-100%) scaleX(0);
|
|
21
|
-
}
|
|
22
|
-
to {
|
|
23
|
-
transform: translateX(200%) scaleX(3);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
@keyframes swing {
|
|
28
|
-
0%,
|
|
29
|
-
100% {
|
|
30
|
-
width: 50%;
|
|
31
|
-
transform: translateX(-25%);
|
|
32
|
-
}
|
|
33
|
-
50% {
|
|
34
|
-
transform: translateX(125%);
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@keyframes shimmer {
|
|
39
|
-
from {
|
|
40
|
-
background-position: 200% 0;
|
|
41
|
-
}
|
|
42
|
-
to {
|
|
43
|
-
background-position: -200% 0;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
/*
|
|
48
|
-
Fades a skeleton row in once. Callers set an `animation-delay` per row so the
|
|
49
|
-
placeholders arrive in sequence, the way the real rows will. `both` holds the
|
|
50
|
-
from-state during the delay, so a row waiting its turn is hidden rather than
|
|
51
|
-
visible-then-flashing.
|
|
52
|
-
*/
|
|
53
|
-
@keyframes skeleton-enter {
|
|
54
|
-
from {
|
|
55
|
-
opacity: 0;
|
|
56
|
-
}
|
|
57
|
-
to {
|
|
58
|
-
opacity: 1;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
/* Default theme values - can be overridden via CSS or JS config */
|
|
63
|
-
:root {
|
|
64
|
-
/* Drawer Sizes */
|
|
65
|
-
--drawer-xs: 20rem;
|
|
66
|
-
--drawer-sm: 24rem;
|
|
67
|
-
--drawer-md: 28rem;
|
|
68
|
-
--drawer-lg: 32rem;
|
|
69
|
-
--drawer-xl: 36rem;
|
|
70
|
-
--drawer-full: 100%;
|
|
71
|
-
|
|
72
|
-
/* Modal Sizes */
|
|
73
|
-
--modal-xs: 20rem;
|
|
74
|
-
--modal-sm: 24rem;
|
|
75
|
-
--modal-md: 28rem;
|
|
76
|
-
--modal-lg: 32rem;
|
|
77
|
-
--modal-xl: 36rem;
|
|
78
|
-
--modal-full: 100%;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
@theme {
|
|
82
|
-
/* Opacity */
|
|
83
|
-
--opacity-hover: 0.8;
|
|
84
|
-
--opacity-disabled: 0.5;
|
|
85
|
-
|
|
86
|
-
/* Animations */
|
|
87
|
-
--animate-swing: swing 2s ease-in-out infinite;
|
|
88
|
-
--animate-shimmer: shimmer 2s linear infinite;
|
|
89
|
-
--animate-skeleton-enter: skeleton-enter 320ms cubic-bezier(0.16, 1, 0.3, 1)
|
|
90
|
-
both;
|
|
91
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Domine (Variable Font)
|
|
3
|
-
* Used for: marquee text styles (text-marquee-*)
|
|
4
|
-
* Primary weight: 600 (SemiBold) - used by all marquee styles
|
|
5
|
-
* Variable font supports weights: 400-700
|
|
6
|
-
*
|
|
7
|
-
* Sourced from: https://fonts.google.com/specimen/Domine
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/* Variable Font - Normal */
|
|
11
|
-
@font-face {
|
|
12
|
-
font-family: 'Domine';
|
|
13
|
-
src: url('/@frontile/theme/fonts/domine-variable.woff2') format('woff2-variations');
|
|
14
|
-
font-weight: 400 700;
|
|
15
|
-
font-style: normal;
|
|
16
|
-
font-display: swap;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Open Sans (Variable Font)
|
|
21
|
-
* Used for: header, body, caption, and label text styles
|
|
22
|
-
* Weights used: 400 (regular), 600 (semibold), 700 (bold)
|
|
23
|
-
* Variable font supports weights: 300-800
|
|
24
|
-
*
|
|
25
|
-
* Sourced from: https://fonts.google.com/specimen/Open+Sans
|
|
26
|
-
*/
|
|
27
|
-
|
|
28
|
-
/* Variable Font - Normal */
|
|
29
|
-
@font-face {
|
|
30
|
-
font-family: 'Open Sans';
|
|
31
|
-
src: url('/@frontile/theme/fonts/open-sans-variable.woff2') format('woff2-variations');
|
|
32
|
-
font-weight: 300 800;
|
|
33
|
-
font-style: normal;
|
|
34
|
-
font-display: swap;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/* Variable Font - Italic */
|
|
38
|
-
@font-face {
|
|
39
|
-
font-family: 'Open Sans';
|
|
40
|
-
src: url('/@frontile/theme/fonts/open-sans-italic-variable.woff2') format('woff2-variations');
|
|
41
|
-
font-weight: 300 800;
|
|
42
|
-
font-style: italic;
|
|
43
|
-
font-display: swap;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
/**
|
|
47
|
-
* Source Code Pro (Variable Font)
|
|
48
|
-
* Used for: code text styles (text-code-*)
|
|
49
|
-
* Variable font supports weights: 200-900
|
|
50
|
-
*
|
|
51
|
-
* Sourced from: https://fonts.google.com/specimen/Source+Code+Pro
|
|
52
|
-
*/
|
|
53
|
-
|
|
54
|
-
/* Variable Font - Normal */
|
|
55
|
-
@font-face {
|
|
56
|
-
font-family: 'Source Code Pro';
|
|
57
|
-
src: url('/@frontile/theme/fonts/source-code-pro-variable.woff2') format('woff2-variations');
|
|
58
|
-
font-weight: 200 900;
|
|
59
|
-
font-style: normal;
|
|
60
|
-
font-display: swap;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
/* Variable Font - Italic */
|
|
64
|
-
@font-face {
|
|
65
|
-
font-family: 'Source Code Pro';
|
|
66
|
-
src: url('/@frontile/theme/fonts/source-code-pro-italic-variable.woff2') format('woff2-variations');
|
|
67
|
-
font-weight: 200 900;
|
|
68
|
-
font-style: italic;
|
|
69
|
-
font-display: swap;
|
|
70
|
-
}
|
package/dist/styles/theme.css
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
@import './typography.css';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Tailwind CSS v4 Theme Configuration
|
|
5
|
-
* Combined: Icon Sizes, Border, Radius, Elevation
|
|
6
|
-
*/
|
|
7
|
-
@theme {
|
|
8
|
-
/* ==================== Icon Sizes ==================== */
|
|
9
|
-
--size-icon-pico: var(--font-size-6); /* Icon size for pico scale. */
|
|
10
|
-
--size-icon-nano: var(--font-size-7); /* Icon size for nano scale. */
|
|
11
|
-
--size-icon-micro: var(--font-size-8); /* Icon size for micro scale. */
|
|
12
|
-
--size-icon-3xs: var(--font-size-7); /* Icon size for 3xs scale. */
|
|
13
|
-
--size-icon-2xs: var(--font-size-10); /* Icon size for 2xs scale. */
|
|
14
|
-
--size-icon-xs: var(--font-size-12); /* Icon size for xs scale. */
|
|
15
|
-
--size-icon-sm: var(--font-size-14); /* Icon size for sm scale. */
|
|
16
|
-
--size-icon-md: var(--font-size-16); /* Icon size for md scale. */
|
|
17
|
-
--size-icon-lg: var(--font-size-18); /* Icon size for lg scale. */
|
|
18
|
-
--size-icon-xl: var(--font-size-21); /* Icon size for xl scale. */
|
|
19
|
-
--size-icon-2xl: var(--font-size-23); /* Icon size for 2xl scale. */
|
|
20
|
-
--size-icon-3xl: var(--font-size-26); /* Icon size for 3xl scale. */
|
|
21
|
-
--size-icon-kilo: var(--font-size-29); /* Icon size for kilo scale. */
|
|
22
|
-
--size-icon-mega: var(--font-size-31); /* Icon size for mega scale. */
|
|
23
|
-
|
|
24
|
-
/* ==================== Border Thickness ==================== */
|
|
25
|
-
--border-width-thin: 0.5px; /* Thin, subtle border style. */
|
|
26
|
-
--border-width-default: 1px; /* Default border width. */
|
|
27
|
-
--border-width-heavy: 2px; /* Default border width. */
|
|
28
|
-
--border-width-aggressive: 4px; /* Default border width. */
|
|
29
|
-
|
|
30
|
-
/* ==================== Border Radius ==================== */
|
|
31
|
-
--radius-none: 0px; /* No border radius (sharp corners). */
|
|
32
|
-
--radius-xs: 1px; /* Extra small border radius for minimal rounding. */
|
|
33
|
-
--radius-sm: 2px; /* Small border radius for subtle rounding. */
|
|
34
|
-
--radius-md: 4px; /* Medium border radius for standard elements. */
|
|
35
|
-
--radius-xl: 12px; /* Extra large border radius for emphasized elements. */
|
|
36
|
-
--radius-2xl: 16px; /* Double extra large border radius for very soft corners. */
|
|
37
|
-
--radius-default: 20px; /* Default border radius for friendly, approachable UI elements. Aligns with TailwindCSS 'rounded' class. */
|
|
38
|
-
--radius-pill: 9999px; /* Pill-shaped border radius (fully rounded sides) for buttons and tags. */
|
|
39
|
-
--radius: 8px; /* Large border radius for more prominent rounding. - DEFAULT */
|
|
40
|
-
|
|
41
|
-
/* ==================== Elevation Shadows ==================== */
|
|
42
|
-
--shadow-elevation-0: 0px 0px 0px 0px rgb(0 0 0 / 0.01);
|
|
43
|
-
--shadow-elevation-1: -8px 56px 80px 0px rgb(0 0 0 / 0.04);
|
|
44
|
-
--shadow-elevation-2: 1px 4px 14px 0px rgb(0 0 0 / 0.01), 5px 14px 55px 0px rgb(0 0 0 / 0.03), 12px 32px 124px 0px rgb(0 0 0 / 0.04);
|
|
45
|
-
--shadow-elevation-3: 0px 2px 5px 0px rgb(0 0 0 / 0.01), 0px 7px 21px 0px rgb(0 0 0 / 0.02), -1px 15px 47px 0px rgb(0 0 0 / 0.04), -1px 27px 83px 0px rgb(0 0 0 / 0.05), -2px 42px 130px 0px rgb(0 0 0 / 0.06);
|
|
46
|
-
--shadow-elevation-4: 0px 1px 4px 0px rgb(0 0 0 / 0.01), 0px 3px 15px 0px rgb(0 0 0 / 0.02), 0px 8px 33px 0px rgb(0 0 0 / 0.03), 1px 14px 59px 0px rgb(0 0 0 / 0.05), 1px 21px 92px 0px rgb(0 0 0 / 0.06), 1px 31px 132px 0px rgb(0 0 0 / 0.07), 2px 42px 180px 0px rgb(0 0 0 / 0.08);
|
|
47
|
-
--shadow-elevation-5: 0px 1px 4px 0px rgb(0 0 0 / 0.02), 1px 3px 16px 0px rgb(0 0 0 / 0.03), 1px 8px 35px 0px rgb(0 0 0 / 0.05), 3px 14px 62px 0px rgb(0 0 0 / 0.07), 4px 21px 97px 0px rgb(0 0 0 / 0.09), 6px 31px 140px 0px rgb(0 0 0 / 0.10), 8px 42px 190px 0px rgb(0 0 0 / 0.12);
|
|
48
|
-
}
|