@adam-milo/tokens 1.0.48 → 1.0.51
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/README.md +1 -1
- package/dist/index.d.mts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/tokens.css +16 -8
- package/package.json +1 -1
package/README.md
CHANGED
package/dist/index.d.mts
CHANGED
|
@@ -2,6 +2,12 @@ export { Colors, Gradients, LegacyColors, colors, gradients, legacyColors } from
|
|
|
2
2
|
export { BorderRadius, BorderWidth, Spacing, borderRadius, borderWidth, spacing } from './spacing.mjs';
|
|
3
3
|
export { FontFamily, FontSize, fontFamily, fontSize } from './typography.mjs';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* @adam-milo/tokens
|
|
7
|
+
* Design tokens (colors, spacing, typography) for the Adam Milo Design System.
|
|
8
|
+
* Single source of truth for the design system.
|
|
9
|
+
*/
|
|
10
|
+
|
|
5
11
|
declare const tokens: {
|
|
6
12
|
readonly colors: {
|
|
7
13
|
readonly text: "#191A39";
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,12 @@ export { Colors, Gradients, LegacyColors, colors, gradients, legacyColors } from
|
|
|
2
2
|
export { BorderRadius, BorderWidth, Spacing, borderRadius, borderWidth, spacing } from './spacing.js';
|
|
3
3
|
export { FontFamily, FontSize, fontFamily, fontSize } from './typography.js';
|
|
4
4
|
|
|
5
|
+
/**
|
|
6
|
+
* @adam-milo/tokens
|
|
7
|
+
* Design tokens (colors, spacing, typography) for the Adam Milo Design System.
|
|
8
|
+
* Single source of truth for the design system.
|
|
9
|
+
*/
|
|
10
|
+
|
|
5
11
|
declare const tokens: {
|
|
6
12
|
readonly colors: {
|
|
7
13
|
readonly text: "#191A39";
|
package/dist/tokens.css
CHANGED
|
@@ -110,19 +110,27 @@
|
|
|
110
110
|
rgba(50, 156, 178, 0.18) 100%
|
|
111
111
|
);
|
|
112
112
|
|
|
113
|
+
/* Mobile/tablet: very subtle blue from top-right and bottom-right only; center and left stay white */
|
|
114
|
+
--gradient-auth-bg-mobile:
|
|
115
|
+
radial-gradient(160% 100% at 100% 0%, rgba(50, 156, 178, 0) 45%, rgba(50, 156, 178, 0.14) 100%),
|
|
116
|
+
radial-gradient(
|
|
117
|
+
160% 100% at 100% 100%,
|
|
118
|
+
rgba(50, 156, 178, 0) 45%,
|
|
119
|
+
rgba(50, 156, 178, 0.14) 100%
|
|
120
|
+
);
|
|
121
|
+
|
|
122
|
+
/* Desktop: pale blue-grey from left and right edges only; center is bright white */
|
|
113
123
|
--gradient-auth-bg:
|
|
114
124
|
linear-gradient(
|
|
115
125
|
to right,
|
|
116
|
-
rgba(50, 156, 178, 0.
|
|
117
|
-
rgba(50, 156, 178, 0.
|
|
118
|
-
rgba(50, 156, 178, 0
|
|
119
|
-
rgba(50, 156, 178, 0) 50%
|
|
126
|
+
rgba(50, 156, 178, 0.07) 0%,
|
|
127
|
+
rgba(50, 156, 178, 0.03) 18%,
|
|
128
|
+
rgba(50, 156, 178, 0) 38%
|
|
120
129
|
),
|
|
121
130
|
linear-gradient(
|
|
122
131
|
to left,
|
|
123
|
-
rgba(50, 156, 178, 0.
|
|
124
|
-
rgba(50, 156, 178, 0.
|
|
125
|
-
rgba(50, 156, 178, 0
|
|
126
|
-
rgba(50, 156, 178, 0) 50%
|
|
132
|
+
rgba(50, 156, 178, 0.07) 0%,
|
|
133
|
+
rgba(50, 156, 178, 0.03) 18%,
|
|
134
|
+
rgba(50, 156, 178, 0) 38%
|
|
127
135
|
);
|
|
128
136
|
}
|