@mekari/pixel3-styled-system 0.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.
- package/.turbo/turbo-build.log +16 -0
- package/chunks/packages__accordion__src__accordion.css +10 -0
- package/chunks/packages__avatar2__src__modules__avatar.recipes.css +166 -0
- package/chunks/packages__avatar__src__avatar.style.css +150 -0
- package/chunks/packages__avatar__src__avatar.styles.css +171 -0
- package/chunks/packages__avatar__src__modules__avatar.recipes.css +191 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-accordion__src__accordion.css +10 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-avatar2__src__modules__avatar.recipes.css +166 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__avatar.css +16 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__avatar.style.css +150 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__avatar.styles.css +171 -0
- package/chunks/packages__core__node_modules__@mekari__pixel3-avatar__src__modules__avatar.recipes.css +191 -0
- package/css/conditions.mjs +34 -0
- package/css/css.d.ts +9 -0
- package/css/css.mjs +44 -0
- package/css/cva.d.ts +6 -0
- package/css/cva.mjs +85 -0
- package/css/cx.d.ts +5 -0
- package/css/cx.mjs +15 -0
- package/css/index.d.ts +5 -0
- package/css/index.mjs +4 -0
- package/css/sva.d.ts +4 -0
- package/css/sva.mjs +35 -0
- package/global.css +59 -0
- package/helpers.mjs +300 -0
- package/jsx/aspect-ratio.d.ts +10 -0
- package/jsx/aspect-ratio.mjs +16 -0
- package/jsx/bleed.d.ts +10 -0
- package/jsx/bleed.mjs +16 -0
- package/jsx/box.d.ts +10 -0
- package/jsx/box.mjs +16 -0
- package/jsx/center.d.ts +10 -0
- package/jsx/center.mjs +16 -0
- package/jsx/circle.d.ts +10 -0
- package/jsx/circle.mjs +16 -0
- package/jsx/container.d.ts +10 -0
- package/jsx/container.mjs +16 -0
- package/jsx/divider.d.ts +10 -0
- package/jsx/divider.mjs +16 -0
- package/jsx/factory-helper.mjs +22 -0
- package/jsx/factory.d.ts +4 -0
- package/jsx/factory.mjs +85 -0
- package/jsx/flex.d.ts +10 -0
- package/jsx/flex.mjs +16 -0
- package/jsx/float.d.ts +10 -0
- package/jsx/float.mjs +16 -0
- package/jsx/grid-item.d.ts +10 -0
- package/jsx/grid-item.mjs +16 -0
- package/jsx/grid.d.ts +10 -0
- package/jsx/grid.mjs +16 -0
- package/jsx/hstack.d.ts +10 -0
- package/jsx/hstack.mjs +16 -0
- package/jsx/index.d.ts +27 -0
- package/jsx/index.mjs +22 -0
- package/jsx/is-valid-prop.d.ts +5 -0
- package/jsx/is-valid-prop.mjs +17 -0
- package/jsx/link-box.d.ts +10 -0
- package/jsx/link-box.mjs +16 -0
- package/jsx/link-overlay.d.ts +10 -0
- package/jsx/link-overlay.mjs +16 -0
- package/jsx/spacer.d.ts +10 -0
- package/jsx/spacer.mjs +16 -0
- package/jsx/square.d.ts +10 -0
- package/jsx/square.mjs +16 -0
- package/jsx/stack.d.ts +10 -0
- package/jsx/stack.mjs +16 -0
- package/jsx/visually-hidden.d.ts +10 -0
- package/jsx/visually-hidden.mjs +16 -0
- package/jsx/vstack.d.ts +10 -0
- package/jsx/vstack.mjs +16 -0
- package/jsx/wrap.d.ts +10 -0
- package/jsx/wrap.mjs +16 -0
- package/package.json +40 -0
- package/patterns/aspect-ratio.d.ts +21 -0
- package/patterns/aspect-ratio.mjs +35 -0
- package/patterns/bleed.d.ts +22 -0
- package/patterns/bleed.mjs +19 -0
- package/patterns/box.d.ts +21 -0
- package/patterns/box.mjs +12 -0
- package/patterns/center.d.ts +21 -0
- package/patterns/center.mjs +18 -0
- package/patterns/circle.d.ts +21 -0
- package/patterns/circle.mjs +22 -0
- package/patterns/container.d.ts +21 -0
- package/patterns/container.mjs +18 -0
- package/patterns/divider.d.ts +23 -0
- package/patterns/divider.mjs +21 -0
- package/patterns/flex.d.ts +27 -0
- package/patterns/flex.mjs +23 -0
- package/patterns/float.d.ts +24 -0
- package/patterns/float.mjs +45 -0
- package/patterns/grid-item.d.ts +26 -0
- package/patterns/grid-item.mjs +22 -0
- package/patterns/grid.d.ts +25 -0
- package/patterns/grid.mjs +22 -0
- package/patterns/hstack.d.ts +22 -0
- package/patterns/hstack.mjs +20 -0
- package/patterns/index.d.ts +21 -0
- package/patterns/index.mjs +20 -0
- package/patterns/link-box.d.ts +21 -0
- package/patterns/link-box.mjs +19 -0
- package/patterns/link-overlay.d.ts +21 -0
- package/patterns/link-overlay.mjs +24 -0
- package/patterns/spacer.d.ts +21 -0
- package/patterns/spacer.mjs +18 -0
- package/patterns/square.d.ts +21 -0
- package/patterns/square.mjs +21 -0
- package/patterns/stack.d.ts +24 -0
- package/patterns/stack.mjs +20 -0
- package/patterns/visually-hidden.d.ts +21 -0
- package/patterns/visually-hidden.mjs +15 -0
- package/patterns/vstack.d.ts +22 -0
- package/patterns/vstack.mjs +20 -0
- package/patterns/wrap.d.ts +25 -0
- package/patterns/wrap.mjs +22 -0
- package/recipes/accordion.d.ts +27 -0
- package/recipes/accordion.mjs +50 -0
- package/recipes/avatar-group-recipe.d.ts +27 -0
- package/recipes/avatar-group-recipe.mjs +43 -0
- package/recipes/avatar-group-slot-recipe.d.ts +27 -0
- package/recipes/avatar-group-slot-recipe.mjs +43 -0
- package/recipes/avatar-recipe.d.ts +30 -0
- package/recipes/avatar-recipe.mjs +122 -0
- package/recipes/avatar-slot-recipe.d.ts +29 -0
- package/recipes/avatar-slot-recipe.mjs +116 -0
- package/recipes/badge-recipe.d.ts +29 -0
- package/recipes/badge-recipe.mjs +160 -0
- package/recipes/button-group-recipe.d.ts +27 -0
- package/recipes/button-group-recipe.mjs +22 -0
- package/recipes/button-recipe.d.ts +28 -0
- package/recipes/button-recipe.mjs +94 -0
- package/recipes/checkbox-slot-recipe.d.ts +27 -0
- package/recipes/checkbox-slot-recipe.mjs +38 -0
- package/recipes/create-recipe.d.ts +1 -0
- package/recipes/create-recipe.mjs +79 -0
- package/recipes/icon-recipe.d.ts +27 -0
- package/recipes/icon-recipe.mjs +29 -0
- package/recipes/index.d.ts +30 -0
- package/recipes/index.mjs +29 -0
- package/recipes/input-addon-recipe.d.ts +29 -0
- package/recipes/input-addon-recipe.mjs +107 -0
- package/recipes/input-addon-slot-recipe.d.ts +28 -0
- package/recipes/input-addon-slot-recipe.mjs +45 -0
- package/recipes/input-group-recipe.d.ts +27 -0
- package/recipes/input-group-recipe.mjs +30 -0
- package/recipes/input-group-slot-recipe.d.ts +27 -0
- package/recipes/input-group-slot-recipe.mjs +30 -0
- package/recipes/input-recipe.d.ts +30 -0
- package/recipes/input-recipe.mjs +63 -0
- package/recipes/input-slot-recipe.d.ts +28 -0
- package/recipes/input-slot-recipe.mjs +53 -0
- package/recipes/popover-content-recipe.d.ts +28 -0
- package/recipes/popover-content-recipe.mjs +34 -0
- package/recipes/popover-list-item-recipe.d.ts +27 -0
- package/recipes/popover-list-item-recipe.mjs +22 -0
- package/recipes/popover-list-recipe.d.ts +27 -0
- package/recipes/popover-list-recipe.mjs +22 -0
- package/recipes/progress-slot-recipe.d.ts +28 -0
- package/recipes/progress-slot-recipe.mjs +57 -0
- package/recipes/radio-slot-recipe.d.ts +27 -0
- package/recipes/radio-slot-recipe.mjs +38 -0
- package/recipes/select-slot-recipe.d.ts +27 -0
- package/recipes/select-slot-recipe.mjs +51 -0
- package/recipes/selected-border-recipe.d.ts +28 -0
- package/recipes/selected-border-recipe.mjs +88 -0
- package/recipes/shared-slot-recipe.d.ts +27 -0
- package/recipes/shared-slot-recipe.mjs +30 -0
- package/recipes/spinner-recipe.d.ts +27 -0
- package/recipes/spinner-recipe.mjs +29 -0
- package/recipes/tab-list-recipe.d.ts +27 -0
- package/recipes/tab-list-recipe.mjs +22 -0
- package/recipes/tab-recipe.d.ts +28 -0
- package/recipes/tab-recipe.mjs +87 -0
- package/recipes/table-container-recipe.d.ts +27 -0
- package/recipes/table-container-recipe.mjs +22 -0
- package/recipes/table-head-recipe.d.ts +27 -0
- package/recipes/table-head-recipe.mjs +22 -0
- package/recipes/table-recipe.d.ts +27 -0
- package/recipes/table-recipe.mjs +22 -0
- package/recipes/tag-recipe.d.ts +28 -0
- package/recipes/tag-recipe.mjs +66 -0
- package/recipes/tag-slot-recipe.d.ts +28 -0
- package/recipes/tag-slot-recipe.mjs +66 -0
- package/recipes/text-recipe.d.ts +28 -0
- package/recipes/text-recipe.mjs +40 -0
- package/recipes/textarea-recipe.d.ts +27 -0
- package/recipes/textarea-recipe.mjs +26 -0
- package/recipes/toggle-slot-recipe.d.ts +27 -0
- package/recipes/toggle-slot-recipe.mjs +38 -0
- package/recipes/tooltip-recipe.d.ts +27 -0
- package/recipes/tooltip-recipe.mjs +22 -0
- package/reset.css +214 -0
- package/styles.css +246 -0
- package/tokens/index.css +179 -0
- package/tokens/index.d.ts +9 -0
- package/tokens/index.mjs +848 -0
- package/tokens/keyframes.css +23 -0
- package/tokens/tokens.d.ts +57 -0
- package/types/composition.d.ts +111 -0
- package/types/conditions.d.ts +256 -0
- package/types/csstype.d.ts +20749 -0
- package/types/global.d.ts +19 -0
- package/types/index.d.ts +8 -0
- package/types/jsx.d.ts +54 -0
- package/types/parts.d.ts +8 -0
- package/types/pattern.d.ts +63 -0
- package/types/prop-type.d.ts +317 -0
- package/types/recipe.d.ts +146 -0
- package/types/selectors.d.ts +59 -0
- package/types/style-props.d.ts +653 -0
- package/types/system-types.d.ts +93 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const textareaRecipeFn = /* @__PURE__ */ createRecipe('textarea', {}, [])
|
|
5
|
+
|
|
6
|
+
const textareaRecipeVariantMap = {
|
|
7
|
+
"isFullWidth": [
|
|
8
|
+
"true"
|
|
9
|
+
]
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const textareaRecipeVariantKeys = Object.keys(textareaRecipeVariantMap)
|
|
13
|
+
|
|
14
|
+
export const textareaRecipe = /* @__PURE__ */ Object.assign(textareaRecipeFn, {
|
|
15
|
+
__recipe__: true,
|
|
16
|
+
__name__: 'textareaRecipe',
|
|
17
|
+
raw: (props) => props,
|
|
18
|
+
variantKeys: textareaRecipeVariantKeys,
|
|
19
|
+
variantMap: textareaRecipeVariantMap,
|
|
20
|
+
merge(recipe) {
|
|
21
|
+
return mergeRecipes(this, recipe)
|
|
22
|
+
},
|
|
23
|
+
splitVariantProps(props) {
|
|
24
|
+
return splitProps(props, textareaRecipeVariantKeys)
|
|
25
|
+
},
|
|
26
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface ToggleSlotRecipeVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type ToggleSlotRecipeVariantMap = {
|
|
10
|
+
[key in keyof ToggleSlotRecipeVariant]: Array<ToggleSlotRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type ToggleSlotRecipeVariantProps = {
|
|
14
|
+
[key in keyof ToggleSlotRecipeVariant]?: ConditionalValue<ToggleSlotRecipeVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface ToggleSlotRecipeRecipe {
|
|
18
|
+
__type: ToggleSlotRecipeVariantProps
|
|
19
|
+
(props?: ToggleSlotRecipeVariantProps): Pretty<Record<"root" | "control" | "label", string>>
|
|
20
|
+
raw: (props?: ToggleSlotRecipeVariantProps) => ToggleSlotRecipeVariantProps
|
|
21
|
+
variantMap: ToggleSlotRecipeVariantMap
|
|
22
|
+
variantKeys: Array<keyof ToggleSlotRecipeVariant>
|
|
23
|
+
splitVariantProps<Props extends ToggleSlotRecipeVariantProps>(props: Props): [ToggleSlotRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof ToggleSlotRecipeVariantProps>>]
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare const toggleSlotRecipe: ToggleSlotRecipeRecipe
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { splitProps, getSlotCompoundVariant } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const toggleSlotRecipeDefaultVariants = {}
|
|
5
|
+
const toggleSlotRecipeCompoundVariants = []
|
|
6
|
+
|
|
7
|
+
const toggleSlotRecipeSlotNames = [
|
|
8
|
+
[
|
|
9
|
+
"root",
|
|
10
|
+
"toggle__root"
|
|
11
|
+
],
|
|
12
|
+
[
|
|
13
|
+
"control",
|
|
14
|
+
"toggle__control"
|
|
15
|
+
],
|
|
16
|
+
[
|
|
17
|
+
"label",
|
|
18
|
+
"toggle__label"
|
|
19
|
+
]
|
|
20
|
+
]
|
|
21
|
+
const toggleSlotRecipeSlotFns = /* @__PURE__ */ toggleSlotRecipeSlotNames.map(([slotName, slotKey]) => [slotName, createRecipe(slotKey, toggleSlotRecipeDefaultVariants, getSlotCompoundVariant(toggleSlotRecipeCompoundVariants, slotName))])
|
|
22
|
+
|
|
23
|
+
const toggleSlotRecipeFn = (props = {}) => {
|
|
24
|
+
return Object.fromEntries(toggleSlotRecipeSlotFns.map(([slotName, slotFn]) => [slotName, slotFn(props)]))
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const toggleSlotRecipeVariantKeys = []
|
|
28
|
+
|
|
29
|
+
export const toggleSlotRecipe = /* @__PURE__ */ Object.assign(toggleSlotRecipeFn, {
|
|
30
|
+
__recipe__: false,
|
|
31
|
+
__name__: 'toggleSlotRecipe',
|
|
32
|
+
raw: (props) => props,
|
|
33
|
+
variantKeys: toggleSlotRecipeVariantKeys,
|
|
34
|
+
variantMap: {},
|
|
35
|
+
splitVariantProps(props) {
|
|
36
|
+
return splitProps(props, toggleSlotRecipeVariantKeys)
|
|
37
|
+
},
|
|
38
|
+
})
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import type { ConditionalValue } from '../types/index';
|
|
3
|
+
import type { DistributiveOmit, Pretty } from '../types/system-types';
|
|
4
|
+
|
|
5
|
+
interface TooltipRecipeVariant {
|
|
6
|
+
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
type TooltipRecipeVariantMap = {
|
|
10
|
+
[key in keyof TooltipRecipeVariant]: Array<TooltipRecipeVariant[key]>
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export type TooltipRecipeVariantProps = {
|
|
14
|
+
[key in keyof TooltipRecipeVariant]?: ConditionalValue<TooltipRecipeVariant[key]> | undefined
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface TooltipRecipeRecipe {
|
|
18
|
+
__type: TooltipRecipeVariantProps
|
|
19
|
+
(props?: TooltipRecipeVariantProps): string
|
|
20
|
+
raw: (props?: TooltipRecipeVariantProps) => TooltipRecipeVariantProps
|
|
21
|
+
variantMap: TooltipRecipeVariantMap
|
|
22
|
+
variantKeys: Array<keyof TooltipRecipeVariant>
|
|
23
|
+
splitVariantProps<Props extends TooltipRecipeVariantProps>(props: Props): [TooltipRecipeVariantProps, Pretty<DistributiveOmit<Props, keyof TooltipRecipeVariantProps>>]
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
export declare const tooltipRecipe: TooltipRecipeRecipe
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { splitProps } from '../helpers.mjs';
|
|
2
|
+
import { createRecipe, mergeRecipes } from './create-recipe.mjs';
|
|
3
|
+
|
|
4
|
+
const tooltipRecipeFn = /* @__PURE__ */ createRecipe('tooltip', {}, [])
|
|
5
|
+
|
|
6
|
+
const tooltipRecipeVariantMap = {}
|
|
7
|
+
|
|
8
|
+
const tooltipRecipeVariantKeys = Object.keys(tooltipRecipeVariantMap)
|
|
9
|
+
|
|
10
|
+
export const tooltipRecipe = /* @__PURE__ */ Object.assign(tooltipRecipeFn, {
|
|
11
|
+
__recipe__: true,
|
|
12
|
+
__name__: 'tooltipRecipe',
|
|
13
|
+
raw: (props) => props,
|
|
14
|
+
variantKeys: tooltipRecipeVariantKeys,
|
|
15
|
+
variantMap: tooltipRecipeVariantMap,
|
|
16
|
+
merge(recipe) {
|
|
17
|
+
return mergeRecipes(this, recipe)
|
|
18
|
+
},
|
|
19
|
+
splitVariantProps(props) {
|
|
20
|
+
return splitProps(props, tooltipRecipeVariantKeys)
|
|
21
|
+
},
|
|
22
|
+
})
|
package/reset.css
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
@layer pixel_reset {
|
|
2
|
+
* {
|
|
3
|
+
margin: 0;
|
|
4
|
+
padding: 0;
|
|
5
|
+
font: inherit;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
*,
|
|
9
|
+
*::before,
|
|
10
|
+
*::after {
|
|
11
|
+
box-sizing: border-box;
|
|
12
|
+
border-width: 0;
|
|
13
|
+
border-style: solid;
|
|
14
|
+
border-color: var(--global-color-border, currentColor);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
html {
|
|
18
|
+
line-height: 1.5;
|
|
19
|
+
--font-fallback: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
|
|
20
|
+
'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
|
|
21
|
+
'Noto Color Emoji';
|
|
22
|
+
-webkit-text-size-adjust: 100%;
|
|
23
|
+
-webkit-font-smoothing: antialiased;
|
|
24
|
+
-moz-osx-font-smoothing: grayscale;
|
|
25
|
+
-moz-tab-size: 4;
|
|
26
|
+
tab-size: 4;
|
|
27
|
+
font-family: var(--global-font-body, var(--font-fallback));
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
hr {
|
|
31
|
+
height: 0;
|
|
32
|
+
color: inherit;
|
|
33
|
+
border-top-width: 1px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
body {
|
|
37
|
+
height: 100%;
|
|
38
|
+
line-height: inherit;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
img {
|
|
42
|
+
border-style: none;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
img,
|
|
46
|
+
svg,
|
|
47
|
+
video,
|
|
48
|
+
canvas,
|
|
49
|
+
audio,
|
|
50
|
+
iframe,
|
|
51
|
+
embed,
|
|
52
|
+
object {
|
|
53
|
+
display: block;
|
|
54
|
+
vertical-align: middle;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
img,
|
|
58
|
+
video {
|
|
59
|
+
max-width: 100%;
|
|
60
|
+
height: auto;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
p,
|
|
64
|
+
h1,
|
|
65
|
+
h2,
|
|
66
|
+
h3,
|
|
67
|
+
h4,
|
|
68
|
+
h5,
|
|
69
|
+
h6 {
|
|
70
|
+
overflow-wrap: break-word;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
ol,
|
|
74
|
+
ul {
|
|
75
|
+
list-style: none;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
code,
|
|
79
|
+
kbd,
|
|
80
|
+
pre,
|
|
81
|
+
samp {
|
|
82
|
+
font-size: 1em;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
button,
|
|
86
|
+
[type='button'],
|
|
87
|
+
[type='reset'],
|
|
88
|
+
[type='submit'] {
|
|
89
|
+
-webkit-appearance: button;
|
|
90
|
+
background-color: transparent;
|
|
91
|
+
background-image: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
button,
|
|
95
|
+
input,
|
|
96
|
+
optgroup,
|
|
97
|
+
select,
|
|
98
|
+
textarea {
|
|
99
|
+
color: inherit;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
button,
|
|
103
|
+
select {
|
|
104
|
+
text-transform: none;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
table {
|
|
108
|
+
text-indent: 0;
|
|
109
|
+
border-color: inherit;
|
|
110
|
+
border-collapse: collapse;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
input::placeholder,
|
|
114
|
+
textarea::placeholder {
|
|
115
|
+
opacity: 1;
|
|
116
|
+
color: var(--global-color-placeholder, #9ca3af);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
textarea {
|
|
120
|
+
resize: vertical;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
summary {
|
|
124
|
+
display: list-item;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
small {
|
|
128
|
+
font-size: 80%;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
sub,
|
|
132
|
+
sup {
|
|
133
|
+
font-size: 75%;
|
|
134
|
+
line-height: 0;
|
|
135
|
+
position: relative;
|
|
136
|
+
vertical-align: baseline;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
sub {
|
|
140
|
+
bottom: -0.25em;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
sup {
|
|
144
|
+
top: -0.5em;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
dialog {
|
|
148
|
+
padding: 0;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
a {
|
|
152
|
+
color: inherit;
|
|
153
|
+
text-decoration: inherit;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
abbr:where([title]) {
|
|
157
|
+
text-decoration: underline dotted;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
b,
|
|
161
|
+
strong {
|
|
162
|
+
font-weight: bolder;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
code,
|
|
166
|
+
kbd,
|
|
167
|
+
samp,
|
|
168
|
+
pre {
|
|
169
|
+
font-size: 1em;
|
|
170
|
+
--font-mono-fallback: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New';
|
|
171
|
+
font-family: var(--global-font-mono, var(--font-mono-fallback));
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
input[type="text"],
|
|
176
|
+
input[type="email"],
|
|
177
|
+
input[type="search"],
|
|
178
|
+
input[type="password"] {
|
|
179
|
+
-webkit-appearance: none;
|
|
180
|
+
-moz-appearance: none;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
input[type='search'] {
|
|
184
|
+
-webkit-appearance: textfield;
|
|
185
|
+
outline-offset: -2px;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
::-webkit-search-decoration,
|
|
189
|
+
::-webkit-search-cancel-button {
|
|
190
|
+
-webkit-appearance: none;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
::-webkit-file-upload-button {
|
|
194
|
+
-webkit-appearance: button;
|
|
195
|
+
font: inherit;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
input[type="number"]::-webkit-inner-spin-button,
|
|
199
|
+
input[type="number"]::-webkit-outer-spin-button {
|
|
200
|
+
height: auto;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
input[type='number']{
|
|
204
|
+
-moz-appearance: textfield;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
:-moz-ui-invalid {
|
|
208
|
+
box-shadow: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
:-moz-focusring {
|
|
212
|
+
outline: auto;
|
|
213
|
+
}
|
|
214
|
+
}
|
package/styles.css
ADDED
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
@layer reset, base, tokens, recipes, utilities;
|
|
2
|
+
|
|
3
|
+
@import './reset.css';
|
|
4
|
+
|
|
5
|
+
@import './global.css';
|
|
6
|
+
|
|
7
|
+
@import './tokens/index.css';
|
|
8
|
+
|
|
9
|
+
@import './tokens/keyframes.css';
|
|
10
|
+
|
|
11
|
+
@layer utilities {
|
|
12
|
+
.pixel-fs_xl {
|
|
13
|
+
font-size: var(--pixel-font-sizes-xl)
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.pixel-font_bold {
|
|
17
|
+
font-weight: var(--pixel-font-weights-bold)
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.pixel-color-palette_green {
|
|
21
|
+
--pixel-colors-color-palette-50: var(--pixel-colors-green-50);
|
|
22
|
+
--pixel-colors-color-palette-100: var(--pixel-colors-green-100);
|
|
23
|
+
--pixel-colors-color-palette-200: var(--pixel-colors-green-200);
|
|
24
|
+
--pixel-colors-color-palette-300: var(--pixel-colors-green-300);
|
|
25
|
+
--pixel-colors-color-palette-400: var(--pixel-colors-green-400);
|
|
26
|
+
--pixel-colors-color-palette-500: var(--pixel-colors-green-500);
|
|
27
|
+
--pixel-colors-color-palette-600: var(--pixel-colors-green-600);
|
|
28
|
+
--pixel-colors-color-palette-700: var(--pixel-colors-green-700);
|
|
29
|
+
--pixel-colors-color-palette-800: var(--pixel-colors-green-800);
|
|
30
|
+
--pixel-colors-color-palette-900: var(--pixel-colors-green-900);
|
|
31
|
+
--pixel-colors-color-palette-950: var(--pixel-colors-green-950)
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.pixel-bg_red\.200 {
|
|
35
|
+
background: var(--pixel-colors-red-200)
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.pixel-border-width_1px {
|
|
39
|
+
border-width: 1px
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.pixel-border_red\.200 {
|
|
43
|
+
border-color: var(--pixel-colors-red-200)
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.pixel-p_4 {
|
|
47
|
+
padding: var(--pixel-spacing-4)
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.pixel-fs_12px {
|
|
51
|
+
font-size: 12px
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.pixel-p_8 {
|
|
55
|
+
padding: var(--pixel-spacing-8)
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.pixel-fs_24px {
|
|
59
|
+
font-size: 24px
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.pixel-leading_xs {
|
|
63
|
+
line-height: xs
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.pixel-leading_sm {
|
|
67
|
+
line-height: sm
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.pixel-leading_lg {
|
|
71
|
+
line-height: lg
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
.pixel-leading_xl {
|
|
75
|
+
line-height: xl
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.pixel-text_white {
|
|
79
|
+
color: var(--pixel-colors-white)
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.pixel-text_uppercase {
|
|
83
|
+
text-transform: uppercase
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.pixel-select_none {
|
|
87
|
+
-webkit-user-select: none;
|
|
88
|
+
user-select: none
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.pixel-bg_gray\.400 {
|
|
92
|
+
background-color: var(--pixel-colors-gray-400)
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.pixel-d_inline-flex {
|
|
96
|
+
display: inline-flex
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.pixel-items_center {
|
|
100
|
+
align-items: center
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.pixel-shrink_0 {
|
|
104
|
+
flex-shrink: 0
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.pixel-justify_center {
|
|
108
|
+
justify-content: center
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.pixel-pos_relative {
|
|
112
|
+
position: relative
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.pixel-font_semibold {
|
|
116
|
+
font-weight: var(--pixel-font-weights-semibold)
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.pixel-align_top {
|
|
120
|
+
vertical-align: top
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.pixel-bg_teal\.50 {
|
|
124
|
+
background-color: var(--pixel-colors-teal-50)
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.pixel-border-width_0\.5 {
|
|
128
|
+
border-width: 0.5px
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.pixel-border_pink\.400 {
|
|
132
|
+
border-color: var(--pixel-colors-pink-400)
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.pixel-rounded_full {
|
|
136
|
+
border-radius: var(--pixel-radii-full)
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.pixel-bg_gray\.50 {
|
|
140
|
+
background-color: var(--pixel-colors-gray-50)
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.pixel-bg_sky\.400 {
|
|
144
|
+
background-color: var(--pixel-colors-sky-400)
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.pixel-bg_teal\.400 {
|
|
148
|
+
background-color: var(--pixel-colors-teal-400)
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.pixel-bg_violet\.400 {
|
|
152
|
+
background-color: var(--pixel-colors-violet-400)
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.pixel-bg_amber\.400 {
|
|
156
|
+
background-color: var(--pixel-colors-amber-400)
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.pixel-bg_rose\.400 {
|
|
160
|
+
background-color: var(--pixel-colors-rose-400)
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.pixel-bg_stone\.400 {
|
|
164
|
+
background-color: var(--pixel-colors-stone-400)
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.pixel-bg_lime\.400 {
|
|
168
|
+
background-color: var(--pixel-colors-lime-400)
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.pixel-bg_pink\.400 {
|
|
172
|
+
background-color: var(--pixel-colors-pink-400)
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.pixel-w_6 {
|
|
176
|
+
width: var(--pixel-sizes-6)
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.pixel-h_6 {
|
|
180
|
+
height: var(--pixel-sizes-6)
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.pixel-fs_xs {
|
|
184
|
+
font-size: var(--pixel-font-sizes-xs)
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.pixel-w_8 {
|
|
188
|
+
width: var(--pixel-sizes-8)
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.pixel-h_8 {
|
|
192
|
+
height: var(--pixel-sizes-8)
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.pixel-fs_sm {
|
|
196
|
+
font-size: var(--pixel-font-sizes-sm)
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.pixel-w_12 {
|
|
200
|
+
width: var(--pixel-sizes-12)
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.pixel-h_12 {
|
|
204
|
+
height: var(--pixel-sizes-12)
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.pixel-fs_lg {
|
|
208
|
+
font-size: var(--pixel-font-sizes-lg)
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.pixel-w_20 {
|
|
212
|
+
width: var(--pixel-sizes-20)
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.pixel-h_20 {
|
|
216
|
+
height: var(--pixel-sizes-20)
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.pixel-fs_2xl {
|
|
220
|
+
font-size: var(--pixel-font-sizes-2xl)
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.pixel-border-width_0\.125rem {
|
|
224
|
+
border-width: 0.125rem
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.pixel-rounded_sm {
|
|
228
|
+
border-radius: var(--pixel-radii-sm)
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
.pixel-rounded_md {
|
|
232
|
+
border-radius: var(--pixel-radii-md)
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.pixel-rounded_lg {
|
|
236
|
+
border-radius: var(--pixel-radii-lg)
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.pixel-rounded_xl {
|
|
240
|
+
border-radius: var(--pixel-radii-xl)
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.pixel-text_gray\.600 {
|
|
244
|
+
color: var(--pixel-colors-gray-600)
|
|
245
|
+
}
|
|
246
|
+
}
|