@atlaskit/tokens 13.4.0 → 15.0.0

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.
Files changed (219) hide show
  1. package/CHANGELOG.md +44 -0
  2. package/artifacts/theme-import-map/package.json +1 -8
  3. package/artifacts/types/package.json +1 -8
  4. package/babel-plugin/package.json +1 -8
  5. package/constants/package.json +1 -8
  6. package/css-type-schema/package.json +1 -8
  7. package/custom-themes/package.json +1 -8
  8. package/dist/cjs/theme-state-defaults.js +1 -4
  9. package/dist/es2019/theme-state-defaults.js +1 -4
  10. package/dist/esm/theme-state-defaults.js +1 -4
  11. package/enable-global-theme/package.json +1 -8
  12. package/get-global-theme/package.json +1 -8
  13. package/get-ssr-auto-script/package.json +1 -8
  14. package/get-theme-html-attrs/package.json +1 -8
  15. package/get-theme-styles/package.json +1 -8
  16. package/get-token/package.json +1 -8
  17. package/get-token-value/package.json +1 -8
  18. package/package.json +29 -40
  19. package/palettes-raw/package.json +1 -8
  20. package/rename-mapping/package.json +1 -8
  21. package/set-global-theme/package.json +1 -8
  22. package/theme-config/package.json +1 -8
  23. package/theme-mutation-observer/package.json +1 -8
  24. package/theme-state-transformer/package.json +1 -8
  25. package/token-default-values/package.json +1 -8
  26. package/token-ids/package.json +1 -8
  27. package/token-metadata/package.json +1 -8
  28. package/token-names/package.json +1 -8
  29. package/token-order/package.json +1 -8
  30. package/tokens-raw/package.json +1 -8
  31. package/types/package.json +1 -8
  32. package/use-theme-observer/package.json +1 -8
  33. package/dist/cjs/artifacts/themes/atlassian-shape-rounder.js +0 -12
  34. package/dist/cjs/artifacts/themes/atlassian-shape-roundest.js +0 -12
  35. package/dist/es2019/artifacts/themes/atlassian-shape-rounder.js +0 -19
  36. package/dist/es2019/artifacts/themes/atlassian-shape-roundest.js +0 -19
  37. package/dist/esm/artifacts/themes/atlassian-shape-rounder.js +0 -6
  38. package/dist/esm/artifacts/themes/atlassian-shape-roundest.js +0 -6
  39. package/dist/types/artifacts/themes/atlassian-shape-rounder.d.ts +0 -7
  40. package/dist/types/artifacts/themes/atlassian-shape-roundest.d.ts +0 -7
  41. package/dist/types-ts4.5/artifacts/atlassian-dark-token-value-for-contrast-check.d.ts +0 -18
  42. package/dist/types-ts4.5/artifacts/atlassian-light-token-value-for-contrast-check.d.ts +0 -18
  43. package/dist/types-ts4.5/artifacts/generated-pairs.d.ts +0 -16
  44. package/dist/types-ts4.5/artifacts/palettes-raw/legacy-palette.d.ts +0 -25
  45. package/dist/types-ts4.5/artifacts/palettes-raw/motion-palette.d.ts +0 -24
  46. package/dist/types-ts4.5/artifacts/palettes-raw/palette-brand-refresh.d.ts +0 -25
  47. package/dist/types-ts4.5/artifacts/palettes-raw/palette.d.ts +0 -25
  48. package/dist/types-ts4.5/artifacts/palettes-raw/shape-palette.d.ts +0 -24
  49. package/dist/types-ts4.5/artifacts/palettes-raw/spacing-scale.d.ts +0 -24
  50. package/dist/types-ts4.5/artifacts/palettes-raw/typography-palette.d.ts +0 -24
  51. package/dist/types-ts4.5/artifacts/replacement-mapping.d.ts +0 -26
  52. package/dist/types-ts4.5/artifacts/theme-import-map.d.ts +0 -16
  53. package/dist/types-ts4.5/artifacts/themes/atlassian-dark-future.d.ts +0 -7
  54. package/dist/types-ts4.5/artifacts/themes/atlassian-dark-increased-contrast.d.ts +0 -7
  55. package/dist/types-ts4.5/artifacts/themes/atlassian-dark-new-input-border.d.ts +0 -7
  56. package/dist/types-ts4.5/artifacts/themes/atlassian-dark.d.ts +0 -7
  57. package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-dark.d.ts +0 -7
  58. package/dist/types-ts4.5/artifacts/themes/atlassian-legacy-light.d.ts +0 -7
  59. package/dist/types-ts4.5/artifacts/themes/atlassian-light-future.d.ts +0 -7
  60. package/dist/types-ts4.5/artifacts/themes/atlassian-light-increased-contrast.d.ts +0 -7
  61. package/dist/types-ts4.5/artifacts/themes/atlassian-light-new-input-border.d.ts +0 -7
  62. package/dist/types-ts4.5/artifacts/themes/atlassian-light.d.ts +0 -7
  63. package/dist/types-ts4.5/artifacts/themes/atlassian-motion.d.ts +0 -7
  64. package/dist/types-ts4.5/artifacts/themes/atlassian-shape-rounder.d.ts +0 -7
  65. package/dist/types-ts4.5/artifacts/themes/atlassian-shape-roundest.d.ts +0 -7
  66. package/dist/types-ts4.5/artifacts/themes/atlassian-shape.d.ts +0 -7
  67. package/dist/types-ts4.5/artifacts/themes/atlassian-spacing.d.ts +0 -7
  68. package/dist/types-ts4.5/artifacts/themes/atlassian-typography.d.ts +0 -7
  69. package/dist/types-ts4.5/artifacts/token-default-values.d.ts +0 -566
  70. package/dist/types-ts4.5/artifacts/token-names.d.ts +0 -1113
  71. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-brand-refresh.d.ts +0 -50
  72. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-future.d.ts +0 -31
  73. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark-increased-contrast.d.ts +0 -51
  74. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-dark.d.ts +0 -51
  75. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-dark.d.ts +0 -51
  76. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-legacy-light.d.ts +0 -51
  77. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-brand-refresh.d.ts +0 -50
  78. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-future.d.ts +0 -31
  79. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light-increased-contrast.d.ts +0 -51
  80. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-light.d.ts +0 -51
  81. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-motion.d.ts +0 -43
  82. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-shape.d.ts +0 -31
  83. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-spacing.d.ts +0 -31
  84. package/dist/types-ts4.5/artifacts/tokens-raw/atlassian-typography.d.ts +0 -38
  85. package/dist/types-ts4.5/artifacts/types-internal.d.ts +0 -6
  86. package/dist/types-ts4.5/artifacts/types.d.ts +0 -6
  87. package/dist/types-ts4.5/artifacts/typescript/atlassian-dark-token-names.d.ts +0 -784
  88. package/dist/types-ts4.5/artifacts/typescript/atlassian-dark-types-internal.d.ts +0 -6
  89. package/dist/types-ts4.5/artifacts/typescript/atlassian-dark-types.d.ts +0 -6
  90. package/dist/types-ts4.5/artifacts/typescript/atlassian-light-token-names.d.ts +0 -784
  91. package/dist/types-ts4.5/artifacts/typescript/atlassian-light-types-internal.d.ts +0 -6
  92. package/dist/types-ts4.5/artifacts/typescript/atlassian-light-types.d.ts +0 -6
  93. package/dist/types-ts4.5/babel-plugin/index.d.ts +0 -1
  94. package/dist/types-ts4.5/babel-plugin/plugin.d.ts +0 -29
  95. package/dist/types-ts4.5/constants.d.ts +0 -9
  96. package/dist/types-ts4.5/custom-theme.d.ts +0 -6
  97. package/dist/types-ts4.5/enable-global-theme.d.ts +0 -26
  98. package/dist/types-ts4.5/entry-points/artifacts-theme-import-map.d.ts +0 -1
  99. package/dist/types-ts4.5/entry-points/artifacts-types.d.ts +0 -1
  100. package/dist/types-ts4.5/entry-points/babel-plugin.d.ts +0 -1
  101. package/dist/types-ts4.5/entry-points/constants.d.ts +0 -1
  102. package/dist/types-ts4.5/entry-points/css-type-schema.codegen.d.ts +0 -165
  103. package/dist/types-ts4.5/entry-points/custom-themes.d.ts +0 -1
  104. package/dist/types-ts4.5/entry-points/enable-global-theme.d.ts +0 -1
  105. package/dist/types-ts4.5/entry-points/get-global-theme.d.ts +0 -1
  106. package/dist/types-ts4.5/entry-points/get-ssr-auto-script.d.ts +0 -1
  107. package/dist/types-ts4.5/entry-points/get-theme-html-attrs.d.ts +0 -1
  108. package/dist/types-ts4.5/entry-points/get-theme-styles.d.ts +0 -1
  109. package/dist/types-ts4.5/entry-points/get-token-value.d.ts +0 -1
  110. package/dist/types-ts4.5/entry-points/get-token.d.ts +0 -1
  111. package/dist/types-ts4.5/entry-points/palettes-raw.d.ts +0 -2
  112. package/dist/types-ts4.5/entry-points/rename-mapping.d.ts +0 -1
  113. package/dist/types-ts4.5/entry-points/set-global-theme.d.ts +0 -1
  114. package/dist/types-ts4.5/entry-points/theme-config.d.ts +0 -2
  115. package/dist/types-ts4.5/entry-points/theme-mutation-observer.d.ts +0 -1
  116. package/dist/types-ts4.5/entry-points/theme-state-transformer.d.ts +0 -2
  117. package/dist/types-ts4.5/entry-points/token-default-values.d.ts +0 -1
  118. package/dist/types-ts4.5/entry-points/token-ids.d.ts +0 -1
  119. package/dist/types-ts4.5/entry-points/token-metadata.codegen.d.ts +0 -19
  120. package/dist/types-ts4.5/entry-points/token-names.d.ts +0 -2
  121. package/dist/types-ts4.5/entry-points/token-order.d.ts +0 -1
  122. package/dist/types-ts4.5/entry-points/tokens-raw.d.ts +0 -6
  123. package/dist/types-ts4.5/entry-points/types.d.ts +0 -1
  124. package/dist/types-ts4.5/entry-points/use-theme-observer.d.ts +0 -1
  125. package/dist/types-ts4.5/get-custom-theme-styles.d.ts +0 -16
  126. package/dist/types-ts4.5/get-global-theme.d.ts +0 -3
  127. package/dist/types-ts4.5/get-ssr-auto-script.d.ts +0 -11
  128. package/dist/types-ts4.5/get-theme-html-attrs.d.ts +0 -18
  129. package/dist/types-ts4.5/get-theme-styles.d.ts +0 -25
  130. package/dist/types-ts4.5/get-token-value.d.ts +0 -25
  131. package/dist/types-ts4.5/get-token.d.ts +0 -26
  132. package/dist/types-ts4.5/index.d.ts +0 -19
  133. package/dist/types-ts4.5/is-color-mode.d.ts +0 -2
  134. package/dist/types-ts4.5/is-theme-ids.d.ts +0 -2
  135. package/dist/types-ts4.5/is-theme-kind.d.ts +0 -11
  136. package/dist/types-ts4.5/load-custom-theme-styles.d.ts +0 -17
  137. package/dist/types-ts4.5/set-global-theme.d.ts +0 -26
  138. package/dist/types-ts4.5/theme-color-modes.d.ts +0 -12
  139. package/dist/types-ts4.5/theme-config.d.ts +0 -121
  140. package/dist/types-ts4.5/theme-ids.d.ts +0 -19
  141. package/dist/types-ts4.5/theme-mutation-observer.d.ts +0 -25
  142. package/dist/types-ts4.5/theme-object-to-string.d.ts +0 -13
  143. package/dist/types-ts4.5/theme-options-schema.d.ts +0 -7
  144. package/dist/types-ts4.5/theme-state-defaults.d.ts +0 -14
  145. package/dist/types-ts4.5/theme-state.d.ts +0 -17
  146. package/dist/types-ts4.5/theme-string-to-object.d.ts +0 -14
  147. package/dist/types-ts4.5/types.d.ts +0 -1356
  148. package/dist/types-ts4.5/use-theme-observer.d.ts +0 -16
  149. package/dist/types-ts4.5/utils/additional-contrast-checker.d.ts +0 -9
  150. package/dist/types-ts4.5/utils/color-detection.d.ts +0 -8
  151. package/dist/types-ts4.5/utils/color-mode-listeners.d.ts +0 -13
  152. package/dist/types-ts4.5/utils/configure-page.d.ts +0 -6
  153. package/dist/types-ts4.5/utils/contrast-mode-listeners.d.ts +0 -13
  154. package/dist/types-ts4.5/utils/custom-theme-loading-utils.d.ts +0 -4
  155. package/dist/types-ts4.5/utils/custom-theme-token-contrast-check.d.ts +0 -11
  156. package/dist/types-ts4.5/utils/delta-e.d.ts +0 -1
  157. package/dist/types-ts4.5/utils/generate-colors.d.ts +0 -5
  158. package/dist/types-ts4.5/utils/generate-token-map-with-contrast-check.d.ts +0 -11
  159. package/dist/types-ts4.5/utils/generate-token-map.d.ts +0 -11
  160. package/dist/types-ts4.5/utils/get-alpha.d.ts +0 -1
  161. package/dist/types-ts4.5/utils/get-closest-color-index.d.ts +0 -2
  162. package/dist/types-ts4.5/utils/get-contrast-ratio.d.ts +0 -1
  163. package/dist/types-ts4.5/utils/get-css-custom-property.d.ts +0 -15
  164. package/dist/types-ts4.5/utils/get-fully-qualified-token-id.d.ts +0 -11
  165. package/dist/types-ts4.5/utils/get-increased-contrast-theme.d.ts +0 -5
  166. package/dist/types-ts4.5/utils/get-theme-override-preferences.d.ts +0 -2
  167. package/dist/types-ts4.5/utils/get-theme-preferences.d.ts +0 -3
  168. package/dist/types-ts4.5/utils/get-token-id.d.ts +0 -15
  169. package/dist/types-ts4.5/utils/hash.d.ts +0 -1
  170. package/dist/types-ts4.5/utils/hct-color-utils/alpha-from-argb.d.ts +0 -4
  171. package/dist/types-ts4.5/utils/hct-color-utils/argb-from-linrgb.d.ts +0 -4
  172. package/dist/types-ts4.5/utils/hct-color-utils/argb-from-lstar.d.ts +0 -8
  173. package/dist/types-ts4.5/utils/hct-color-utils/argb-from-rgb.d.ts +0 -4
  174. package/dist/types-ts4.5/utils/hct-color-utils/argb-from-rgba.d.ts +0 -8
  175. package/dist/types-ts4.5/utils/hct-color-utils/argb-from-xyz.d.ts +0 -4
  176. package/dist/types-ts4.5/utils/hct-color-utils/blue-from-argb.d.ts +0 -4
  177. package/dist/types-ts4.5/utils/hct-color-utils/clamp-component.d.ts +0 -1
  178. package/dist/types-ts4.5/utils/hct-color-utils/clamp-double.d.ts +0 -7
  179. package/dist/types-ts4.5/utils/hct-color-utils/clamp-int.d.ts +0 -7
  180. package/dist/types-ts4.5/utils/hct-color-utils/contrast.d.ts +0 -78
  181. package/dist/types-ts4.5/utils/hct-color-utils/delinearized.d.ts +0 -9
  182. package/dist/types-ts4.5/utils/hct-color-utils/green-from-argb.d.ts +0 -4
  183. package/dist/types-ts4.5/utils/hct-color-utils/hct.d.ts +0 -92
  184. package/dist/types-ts4.5/utils/hct-color-utils/index.d.ts +0 -4
  185. package/dist/types-ts4.5/utils/hct-color-utils/lab-f.d.ts +0 -1
  186. package/dist/types-ts4.5/utils/hct-color-utils/lab-invf.d.ts +0 -1
  187. package/dist/types-ts4.5/utils/hct-color-utils/lerp.d.ts +0 -6
  188. package/dist/types-ts4.5/utils/hct-color-utils/linearized.d.ts +0 -9
  189. package/dist/types-ts4.5/utils/hct-color-utils/lstar-from-argb.d.ts +0 -7
  190. package/dist/types-ts4.5/utils/hct-color-utils/lstar-from-y.d.ts +0 -12
  191. package/dist/types-ts4.5/utils/hct-color-utils/math-utils.d.ts +0 -6
  192. package/dist/types-ts4.5/utils/hct-color-utils/matrix-multiply.d.ts +0 -4
  193. package/dist/types-ts4.5/utils/hct-color-utils/red-from-argb.d.ts +0 -4
  194. package/dist/types-ts4.5/utils/hct-color-utils/rgba-from-argb.d.ts +0 -8
  195. package/dist/types-ts4.5/utils/hct-color-utils/rgba.d.ts +0 -14
  196. package/dist/types-ts4.5/utils/hct-color-utils/sanitize-degrees-double.d.ts +0 -7
  197. package/dist/types-ts4.5/utils/hct-color-utils/signum.d.ts +0 -6
  198. package/dist/types-ts4.5/utils/hct-color-utils/viewing-conditions.d.ts +0 -47
  199. package/dist/types-ts4.5/utils/hct-color-utils/white-point-d65.d.ts +0 -6
  200. package/dist/types-ts4.5/utils/hct-color-utils/y-from-lstar.d.ts +0 -12
  201. package/dist/types-ts4.5/utils/hex-to-hsl.d.ts +0 -5
  202. package/dist/types-ts4.5/utils/hex-to-rgb-a.d.ts +0 -6
  203. package/dist/types-ts4.5/utils/hex-to-rgb.d.ts +0 -5
  204. package/dist/types-ts4.5/utils/hex-to-rgba-values.d.ts +0 -6
  205. package/dist/types-ts4.5/utils/hsl-to-rgb.d.ts +0 -5
  206. package/dist/types-ts4.5/utils/is-valid-brand-hex.d.ts +0 -1
  207. package/dist/types-ts4.5/utils/is-valid-hex.d.ts +0 -1
  208. package/dist/types-ts4.5/utils/limit-size-of-custom-style-elements.d.ts +0 -1
  209. package/dist/types-ts4.5/utils/load-theme-css.d.ts +0 -2
  210. package/dist/types-ts4.5/utils/reduce-token-map.d.ts +0 -6
  211. package/dist/types-ts4.5/utils/relative-luminance-w3-c.d.ts +0 -1
  212. package/dist/types-ts4.5/utils/rgb-to-hex.d.ts +0 -1
  213. package/dist/types-ts4.5/utils/rgb-to-lab.d.ts +0 -5
  214. package/dist/types-ts4.5/utils/theme-loading.d.ts +0 -5
  215. package/dist/types-ts4.5/utils/token-ids.d.ts +0 -3
  216. package/dist/types-ts4.5/utils/token-order.d.ts +0 -7
  217. package/dist/types-ts4.5/utils/token-usage-guidelines.d.ts +0 -8
  218. package/figma/atlassian-shape-rounder.json +0 -123
  219. package/figma/atlassian-shape-roundest.json +0 -123
@@ -1,12 +0,0 @@
1
- /**
2
- * Converts an L* value to a Y value.
3
- *
4
- * L* in L*a*b* and Y in XYZ measure the same quantity, luminance.
5
- *
6
- * L* measures perceptual luminance, a linear scale. Y in XYZ
7
- * measures relative luminance, a logarithmic scale.
8
- *
9
- * @param lstar L* in L*a*b*
10
- * @return Y in XYZ
11
- */
12
- export declare function yFromLstar(lstar: number): number;
@@ -1,5 +0,0 @@
1
- export declare function hexToHSL(hex: string): [
2
- number,
3
- number,
4
- number
5
- ];
@@ -1,6 +0,0 @@
1
- export declare function hexToRgbA(hex: string): [
2
- number,
3
- number,
4
- number,
5
- number
6
- ];
@@ -1,5 +0,0 @@
1
- export declare function hexToRgb(hex: string): [
2
- number,
3
- number,
4
- number
5
- ];
@@ -1,6 +0,0 @@
1
- export declare const hexToRGBAValues: (hex: string) => {
2
- r: number;
3
- g: number;
4
- b: number;
5
- a: number;
6
- };
@@ -1,5 +0,0 @@
1
- export declare function HSLToRGB(h: number, s: number, l: number): [
2
- number,
3
- number,
4
- number
5
- ];
@@ -1 +0,0 @@
1
- export declare const isValidBrandHex: (hex: string) => boolean;
@@ -1 +0,0 @@
1
- export declare const isValidHex: (hex: string) => boolean;
@@ -1 +0,0 @@
1
- export declare function limitSizeOfCustomStyleElements(sizeThreshold: number): void;
@@ -1,2 +0,0 @@
1
- import { type ThemeIdsWithOverrides } from '../theme-config';
2
- export declare const loadThemeCss: (themeId: ThemeIdsWithOverrides) => Promise<string>;
@@ -1,6 +0,0 @@
1
- import tokens from '../artifacts/token-names';
2
- type Token = keyof typeof tokens;
3
- export declare function reduceTokenMap(tokenMap: {
4
- [key in Token]?: number | string;
5
- }, themeRamp: string[]): string;
6
- export {};
@@ -1 +0,0 @@
1
- export declare function relativeLuminanceW3C(r: number, g: number, b: number): number;
@@ -1 +0,0 @@
1
- export declare function rgbToHex(r: number, g: number, b: number): string;
@@ -1,5 +0,0 @@
1
- export declare function rgbToLab(rgb: number[]): [
2
- number,
3
- number,
4
- number
5
- ];
@@ -1,5 +0,0 @@
1
- import { type ThemeIdsWithOverrides } from '../theme-config';
2
- export declare const loadAndAppendThemeCss: (themeId: ThemeIdsWithOverrides) => Promise<void>;
3
- export declare const darkModeMediaQuery = "(prefers-color-scheme: dark)";
4
- export declare const moreContrastMediaQuery = "(prefers-contrast: more)";
5
- export { loadThemeCss } from './load-theme-css';
@@ -1,3 +0,0 @@
1
- export { getCSSCustomProperty } from './get-css-custom-property';
2
- export { getTokenId } from './get-token-id';
3
- export { getFullyQualifiedTokenId } from './get-fully-qualified-token-id';
@@ -1,7 +0,0 @@
1
- /**
2
- * Create specific rules for ordering tokens based on their root path and subpath.
3
- */
4
- export declare const tokenOrder: {
5
- path: string;
6
- subpaths: string[];
7
- }[];
@@ -1,8 +0,0 @@
1
- export declare const getTokenUsageGuidelines: (tokenId: string) => {
2
- usage: string;
3
- cssProperties: string[];
4
- };
5
- /**
6
- * Types of tokens. Using path.subpath notation.
7
- */
8
- export type TokenCategory = 'color.text' | 'color.link' | 'color.icon' | 'color.border' | 'color.background' | 'color.blanket' | 'color.interaction' | 'color.skeleton' | 'color.chart' | 'elevation.surface' | 'elevation.shadow' | 'opacity' | 'utility' | 'space' | 'font.heading' | 'font.body' | 'font.metric' | 'font.code' | 'font.weight' | 'font.family' | 'font.lineHeight' | 'radius' | 'border.width';
@@ -1,123 +0,0 @@
1
- {
2
- "name": "Shape rounder",
3
- "tokens": {
4
- "Shape rounder/radius.xsmall": {
5
- "attributes": {
6
- "group": "shape",
7
- "state": "active",
8
- "suggest": [
9
- "2px"
10
- ],
11
- "introduced": "6.1.0",
12
- "description": "Used for small containers such as badges."
13
- },
14
- "value": 2
15
- },
16
- "Shape rounder/radius.small": {
17
- "attributes": {
18
- "group": "shape",
19
- "state": "active",
20
- "suggest": [
21
- "4px"
22
- ],
23
- "introduced": "6.1.0",
24
- "description": "Used for labels."
25
- },
26
- "value": 4
27
- },
28
- "Shape rounder/radius.medium": {
29
- "attributes": {
30
- "group": "shape",
31
- "state": "active",
32
- "suggest": [
33
- "6px"
34
- ],
35
- "introduced": "6.1.0",
36
- "description": "Used for buttons and inputs."
37
- },
38
- "value": 6
39
- },
40
- "Shape rounder/radius.large": {
41
- "attributes": {
42
- "group": "shape",
43
- "state": "active",
44
- "suggest": [
45
- "8px"
46
- ],
47
- "introduced": "6.1.0",
48
- "description": "Used for cards and small containers."
49
- },
50
- "value": 12
51
- },
52
- "Shape rounder/radius.xlarge": {
53
- "attributes": {
54
- "group": "shape",
55
- "state": "active",
56
- "suggest": [
57
- "12px"
58
- ],
59
- "introduced": "6.1.0",
60
- "description": "Used for modals and large containers."
61
- },
62
- "value": 16
63
- },
64
- "Shape rounder/radius.full": {
65
- "attributes": {
66
- "group": "shape",
67
- "state": "active",
68
- "suggest": [
69
- "50%"
70
- ],
71
- "introduced": "6.1.0",
72
- "description": "Used for circular containers, like a rounded button."
73
- },
74
- "value": 9999
75
- },
76
- "Shape rounder/radius.tile": {
77
- "attributes": {
78
- "group": "shape",
79
- "state": "active",
80
- "introduced": "6.2.0",
81
- "description": "Used for tiles only."
82
- },
83
- "value": "25%"
84
- },
85
- "Shape rounder/border.width": {
86
- "attributes": {
87
- "group": "shape",
88
- "state": "active",
89
- "suggest": [
90
- "1px"
91
- ],
92
- "introduced": "1.5.2",
93
- "description": "The default width for all standard component borders and dividers."
94
- },
95
- "value": 1
96
- },
97
- "Shape rounder/border.width.selected": {
98
- "attributes": {
99
- "group": "shape",
100
- "state": "active",
101
- "suggest": [
102
- "2px"
103
- ],
104
- "introduced": "6.1.0",
105
- "description": "The width used to indicate a selected element, such as an active tab or a chosen item."
106
- },
107
- "value": 2
108
- },
109
- "Shape rounder/border.width.focused": {
110
- "attributes": {
111
- "group": "shape",
112
- "state": "active",
113
- "suggest": [
114
- "2px"
115
- ],
116
- "introduced": "6.1.0",
117
- "description": "The width used for the focus ring on interactive elements."
118
- },
119
- "value": 2
120
- }
121
- },
122
- "renameMap": {}
123
- }
@@ -1,123 +0,0 @@
1
- {
2
- "name": "Shape roundest",
3
- "tokens": {
4
- "Shape roundest/radius.xsmall": {
5
- "attributes": {
6
- "group": "shape",
7
- "state": "active",
8
- "suggest": [
9
- "2px"
10
- ],
11
- "introduced": "6.1.0",
12
- "description": "Used for small containers such as badges."
13
- },
14
- "value": 2
15
- },
16
- "Shape roundest/radius.small": {
17
- "attributes": {
18
- "group": "shape",
19
- "state": "active",
20
- "suggest": [
21
- "4px"
22
- ],
23
- "introduced": "6.1.0",
24
- "description": "Used for labels."
25
- },
26
- "value": 4
27
- },
28
- "Shape roundest/radius.medium": {
29
- "attributes": {
30
- "group": "shape",
31
- "state": "active",
32
- "suggest": [
33
- "6px"
34
- ],
35
- "introduced": "6.1.0",
36
- "description": "Used for buttons and inputs."
37
- },
38
- "value": 12
39
- },
40
- "Shape roundest/radius.large": {
41
- "attributes": {
42
- "group": "shape",
43
- "state": "active",
44
- "suggest": [
45
- "8px"
46
- ],
47
- "introduced": "6.1.0",
48
- "description": "Used for cards and small containers."
49
- },
50
- "value": 16
51
- },
52
- "Shape roundest/radius.xlarge": {
53
- "attributes": {
54
- "group": "shape",
55
- "state": "active",
56
- "suggest": [
57
- "12px"
58
- ],
59
- "introduced": "6.1.0",
60
- "description": "Used for modals and large containers."
61
- },
62
- "value": 20
63
- },
64
- "Shape roundest/radius.full": {
65
- "attributes": {
66
- "group": "shape",
67
- "state": "active",
68
- "suggest": [
69
- "50%"
70
- ],
71
- "introduced": "6.1.0",
72
- "description": "Used for circular containers, like a rounded button."
73
- },
74
- "value": 9999
75
- },
76
- "Shape roundest/radius.tile": {
77
- "attributes": {
78
- "group": "shape",
79
- "state": "active",
80
- "introduced": "6.2.0",
81
- "description": "Used for tiles only."
82
- },
83
- "value": "25%"
84
- },
85
- "Shape roundest/border.width": {
86
- "attributes": {
87
- "group": "shape",
88
- "state": "active",
89
- "suggest": [
90
- "1px"
91
- ],
92
- "introduced": "1.5.2",
93
- "description": "The default width for all standard component borders and dividers."
94
- },
95
- "value": 1
96
- },
97
- "Shape roundest/border.width.selected": {
98
- "attributes": {
99
- "group": "shape",
100
- "state": "active",
101
- "suggest": [
102
- "2px"
103
- ],
104
- "introduced": "6.1.0",
105
- "description": "The width used to indicate a selected element, such as an active tab or a chosen item."
106
- },
107
- "value": 2
108
- },
109
- "Shape roundest/border.width.focused": {
110
- "attributes": {
111
- "group": "shape",
112
- "state": "active",
113
- "suggest": [
114
- "2px"
115
- ],
116
- "introduced": "6.1.0",
117
- "description": "The width used for the focus ring on interactive elements."
118
- },
119
- "value": 2
120
- }
121
- },
122
- "renameMap": {}
123
- }