@primer/primitives 7.11.0-rc.4d2dde2 → 7.11.0-rc.4e35714
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 +2 -2
- package/dist/color-contrast-check.json +1 -1
- package/dist/deprecated/colors.json +7 -1
- package/dist/js/colors/dark.d.ts +5 -0
- package/dist/js/colors/dark.js +5 -0
- package/dist/js/colors/dark_colorblind.d.ts +5 -0
- package/dist/js/colors/dark_colorblind.js +5 -0
- package/dist/js/colors/dark_dimmed.d.ts +5 -0
- package/dist/js/colors/dark_dimmed.js +5 -0
- package/dist/js/colors/dark_high_contrast.d.ts +5 -0
- package/dist/js/colors/dark_high_contrast.js +5 -0
- package/dist/js/colors/dark_tritanopia.d.ts +5 -0
- package/dist/js/colors/dark_tritanopia.js +5 -0
- package/dist/js/colors/index.d.ts +45 -0
- package/dist/js/colors/light.d.ts +5 -0
- package/dist/js/colors/light.js +5 -0
- package/dist/js/colors/light_colorblind.d.ts +5 -0
- package/dist/js/colors/light_colorblind.js +5 -0
- package/dist/js/colors/light_high_contrast.d.ts +5 -0
- package/dist/js/colors/light_high_contrast.js +5 -0
- package/dist/js/colors/light_tritanopia.d.ts +5 -0
- package/dist/js/colors/light_tritanopia.js +5 -0
- package/dist/js/index.d.ts +45 -0
- package/dist/json/colors/dark.json +5 -0
- package/dist/json/colors/dark_colorblind.json +5 -0
- package/dist/json/colors/dark_dimmed.json +5 -0
- package/dist/json/colors/dark_high_contrast.json +5 -0
- package/dist/json/colors/dark_tritanopia.json +5 -0
- package/dist/json/colors/light.json +5 -0
- package/dist/json/colors/light_colorblind.json +5 -0
- package/dist/json/colors/light_high_contrast.json +5 -0
- package/dist/json/colors/light_tritanopia.json +5 -0
- package/dist/scss/colors/_dark.scss +1 -0
- package/dist/scss/colors/_dark_colorblind.scss +1 -0
- package/dist/scss/colors/_dark_dimmed.scss +1 -0
- package/dist/scss/colors/_dark_high_contrast.scss +1 -0
- package/dist/scss/colors/_dark_tritanopia.scss +1 -0
- package/dist/scss/colors/_light.scss +1 -0
- package/dist/scss/colors/_light_colorblind.scss +1 -0
- package/dist/scss/colors/_light_high_contrast.scss +1 -0
- package/dist/scss/colors/_light_tritanopia.scss +1 -0
- package/dist/ts/colors/dark.ts +5 -0
- package/dist/ts/colors/dark_colorblind.ts +5 -0
- package/dist/ts/colors/dark_dimmed.ts +5 -0
- package/dist/ts/colors/dark_high_contrast.ts +5 -0
- package/dist/ts/colors/dark_tritanopia.ts +5 -0
- package/dist/ts/colors/light.ts +5 -0
- package/dist/ts/colors/light_colorblind.ts +5 -0
- package/dist/ts/colors/light_high_contrast.ts +5 -0
- package/dist/ts/colors/light_tritanopia.ts +5 -0
- package/package.json +16 -15
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
- package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
- package/CHANGELOG.md +0 -685
- package/tokens/functional/border/dark.json5 +0 -12
- package/tokens/functional/border/light.json5 +0 -12
- package/tokens/functional/shadow/dark.json5 +0 -93
- package/tokens/functional/shadow/light.json5 +0 -100
package/README.md
CHANGED
|
@@ -63,7 +63,7 @@ When you're ready to remove a variable, first remove it's definitions:
|
|
|
63
63
|
|
|
64
64
|
```diff
|
|
65
65
|
// data/colors/vars/global_light.ts
|
|
66
|
-
import {get} from '../../../src/utils'
|
|
66
|
+
import {get} from '../../../src/utils-v1'
|
|
67
67
|
|
|
68
68
|
export default {
|
|
69
69
|
text: {
|
|
@@ -75,7 +75,7 @@ export default {
|
|
|
75
75
|
|
|
76
76
|
```diff
|
|
77
77
|
// data/colors/vars/global_dark.ts
|
|
78
|
-
import {get} from '../../../src/utils'
|
|
78
|
+
import {get} from '../../../src/utils-v1'
|
|
79
79
|
|
|
80
80
|
export default {
|
|
81
81
|
text: {
|