cherry-styled-components 0.1.0-1
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/.DS_Store +0 -0
- package/.eslintrc.json +3 -0
- package/.gitignore +43 -0
- package/.next/app-build-manifest.json +15 -0
- package/.next/build-manifest.json +19 -0
- package/.next/cache/.tsbuildinfo +1 -0
- package/.next/cache/eslint/.cache_hc9deq +1 -0
- package/.next/cache/webpack/client-development/0.pack.gz +0 -0
- package/.next/cache/webpack/client-development/1.pack.gz +0 -0
- package/.next/cache/webpack/client-development/10.pack.gz +0 -0
- package/.next/cache/webpack/client-development/11.pack.gz +0 -0
- package/.next/cache/webpack/client-development/12.pack.gz +0 -0
- package/.next/cache/webpack/client-development/13.pack.gz +0 -0
- package/.next/cache/webpack/client-development/14.pack.gz +0 -0
- package/.next/cache/webpack/client-development/15.pack.gz +0 -0
- package/.next/cache/webpack/client-development/16.pack.gz +0 -0
- package/.next/cache/webpack/client-development/17.pack.gz +0 -0
- package/.next/cache/webpack/client-development/18.pack.gz +0 -0
- package/.next/cache/webpack/client-development/19.pack.gz +0 -0
- package/.next/cache/webpack/client-development/2.pack.gz +0 -0
- package/.next/cache/webpack/client-development/20.pack.gz +0 -0
- package/.next/cache/webpack/client-development/21.pack.gz +0 -0
- package/.next/cache/webpack/client-development/22.pack.gz +0 -0
- package/.next/cache/webpack/client-development/23.pack.gz +0 -0
- package/.next/cache/webpack/client-development/3.pack.gz +0 -0
- package/.next/cache/webpack/client-development/4.pack.gz +0 -0
- package/.next/cache/webpack/client-development/5.pack.gz +0 -0
- package/.next/cache/webpack/client-development/6.pack.gz +0 -0
- package/.next/cache/webpack/client-development/7.pack.gz +0 -0
- package/.next/cache/webpack/client-development/8.pack.gz +0 -0
- package/.next/cache/webpack/client-development/9.pack.gz +0 -0
- package/.next/cache/webpack/client-development/index.pack.gz +0 -0
- package/.next/cache/webpack/client-development/index.pack.gz.old +0 -0
- package/.next/cache/webpack/client-development-fallback/0.pack.gz +0 -0
- package/.next/cache/webpack/client-development-fallback/1.pack.gz +0 -0
- package/.next/cache/webpack/client-development-fallback/index.pack.gz +0 -0
- package/.next/cache/webpack/client-development-fallback/index.pack.gz.old +0 -0
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/1.pack +0 -0
- package/.next/cache/webpack/client-production/2.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack.old +0 -0
- package/.next/cache/webpack/server-development/0.pack.gz +0 -0
- package/.next/cache/webpack/server-development/1.pack.gz +0 -0
- package/.next/cache/webpack/server-development/10.pack.gz +0 -0
- package/.next/cache/webpack/server-development/11.pack.gz +0 -0
- package/.next/cache/webpack/server-development/12.pack.gz +0 -0
- package/.next/cache/webpack/server-development/13.pack.gz +0 -0
- package/.next/cache/webpack/server-development/14.pack.gz +0 -0
- package/.next/cache/webpack/server-development/15.pack.gz +0 -0
- package/.next/cache/webpack/server-development/16.pack.gz +0 -0
- package/.next/cache/webpack/server-development/17.pack.gz +0 -0
- package/.next/cache/webpack/server-development/18.pack.gz +0 -0
- package/.next/cache/webpack/server-development/19.pack.gz +0 -0
- package/.next/cache/webpack/server-development/2.pack.gz +0 -0
- package/.next/cache/webpack/server-development/20.pack.gz +0 -0
- package/.next/cache/webpack/server-development/21.pack.gz +0 -0
- package/.next/cache/webpack/server-development/22.pack.gz +0 -0
- package/.next/cache/webpack/server-development/23.pack.gz +0 -0
- package/.next/cache/webpack/server-development/24.pack.gz +0 -0
- package/.next/cache/webpack/server-development/25.pack.gz +0 -0
- package/.next/cache/webpack/server-development/26.pack.gz +0 -0
- package/.next/cache/webpack/server-development/27.pack.gz +0 -0
- package/.next/cache/webpack/server-development/28.pack.gz +0 -0
- package/.next/cache/webpack/server-development/29.pack.gz +0 -0
- package/.next/cache/webpack/server-development/3.pack.gz +0 -0
- package/.next/cache/webpack/server-development/30.pack.gz +0 -0
- package/.next/cache/webpack/server-development/31.pack.gz +0 -0
- package/.next/cache/webpack/server-development/32.pack.gz +0 -0
- package/.next/cache/webpack/server-development/4.pack.gz +0 -0
- package/.next/cache/webpack/server-development/5.pack.gz +0 -0
- package/.next/cache/webpack/server-development/6.pack.gz +0 -0
- package/.next/cache/webpack/server-development/7.pack.gz +0 -0
- package/.next/cache/webpack/server-development/8.pack.gz +0 -0
- package/.next/cache/webpack/server-development/9.pack.gz +0 -0
- package/.next/cache/webpack/server-development/index.pack.gz +0 -0
- package/.next/cache/webpack/server-development/index.pack.gz.old +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/1.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack.old +0 -0
- package/.next/package.json +1 -0
- package/.next/react-loadable-manifest.json +1 -0
- package/.next/server/app/page.js +1072 -0
- package/.next/server/app/page_client-reference-manifest.js +1 -0
- package/.next/server/app-paths-manifest.json +1 -0
- package/.next/server/middleware-build-manifest.js +1 -0
- package/.next/server/middleware-manifest.json +6 -0
- package/.next/server/middleware-react-loadable-manifest.js +1 -0
- package/.next/server/next-font-manifest.js +1 -0
- package/.next/server/next-font-manifest.json +1 -0
- package/.next/server/pages-manifest.json +1 -0
- package/.next/server/server-reference-manifest.js +1 -0
- package/.next/server/server-reference-manifest.json +5 -0
- package/.next/server/vendor-chunks/@emotion.js +45 -0
- package/.next/server/vendor-chunks/@swc.js +75 -0
- package/.next/server/vendor-chunks/next.js +2197 -0
- package/.next/server/vendor-chunks/shallowequal.js +24 -0
- package/.next/server/vendor-chunks/styled-components.js +35 -0
- package/.next/server/vendor-chunks/stylis.js +85 -0
- package/.next/server/webpack-runtime.js +220 -0
- package/.next/static/chunks/app/layout.js +695 -0
- package/.next/static/chunks/app/page.js +28 -0
- package/.next/static/chunks/app-pages-internals.js +105 -0
- package/.next/static/chunks/main-app.js +1893 -0
- package/.next/static/chunks/polyfills.js +1 -0
- package/.next/static/chunks/webpack.js +1416 -0
- package/.next/static/css/app/layout.css +69 -0
- package/.next/static/development/_buildManifest.js +1 -0
- package/.next/static/development/_ssgManifest.js +1 -0
- package/.next/static/media/05a31a2ca4975f99-s.woff2 +0 -0
- package/.next/static/media/513657b02c5c193f-s.woff2 +0 -0
- package/.next/static/media/51ed15f9841b9f9d-s.woff2 +0 -0
- package/.next/static/media/c9a5bc6a7c948fb0-s.p.woff2 +0 -0
- package/.next/static/media/d6b16ce4a6175f26-s.woff2 +0 -0
- package/.next/static/media/ec159349637c90ad-s.woff2 +0 -0
- package/.next/static/media/fd4db3eb5472fc27-s.woff2 +0 -0
- package/.next/static/webpack/633457081244afec._.hot-update.json +1 -0
- package/.next/trace +19 -0
- package/.next/types/app/layout.ts +79 -0
- package/.next/types/app/page.ts +79 -0
- package/.next/types/package.json +1 -0
- package/.prettierrc +11 -0
- package/.vscode/settings.json +67 -0
- package/README.md +15 -0
- package/next-env.d.ts +5 -0
- package/next.config.mjs +8 -0
- package/package.json +51 -0
- package/src/app/components/box.tsx +16 -0
- package/src/app/components/button.tsx +177 -0
- package/src/app/components/col.tsx +39 -0
- package/src/app/components/container.tsx +55 -0
- package/src/app/components/flex.tsx +90 -0
- package/src/app/components/grid.tsx +60 -0
- package/src/app/components/index.ts +15 -0
- package/src/app/components/input.tsx +254 -0
- package/src/app/components/max-width.tsx +43 -0
- package/src/app/components/range.tsx +223 -0
- package/src/app/components/select.tsx +122 -0
- package/src/app/components/space.tsx +54 -0
- package/src/app/components/styled-components/index.ts +2 -0
- package/src/app/components/styled-components/registry.tsx +26 -0
- package/src/app/components/styled-components/theme-provider.tsx +21 -0
- package/src/app/components/textarea.tsx +98 -0
- package/src/app/components/toggle.tsx +148 -0
- package/src/app/components/utils/global.tsx +78 -0
- package/src/app/components/utils/icons.tsx +168 -0
- package/src/app/components/utils/index.ts +5 -0
- package/src/app/components/utils/mixins.tsx +107 -0
- package/src/app/components/utils/theme.ts +241 -0
- package/src/app/components/utils/typography.tsx +204 -0
- package/src/app/layout.tsx +19 -0
- package/src/app/page.tsx +14 -0
- package/tsconfig.json +29 -0
- package/tsconfig.tsbuildinfo +1 -0
- package/types/.next/types/app/layout.d.ts +9 -0
- package/types/.next/types/app/page.d.ts +9 -0
- package/types/src/app/components/box.d.ts +4 -0
- package/types/src/app/components/button.d.ts +17 -0
- package/types/src/app/components/col.d.ts +16 -0
- package/types/src/app/components/container.d.ts +19 -0
- package/types/src/app/components/flex.d.ts +27 -0
- package/types/src/app/components/grid.d.ts +24 -0
- package/types/src/app/components/index.d.ts +15 -0
- package/types/src/app/components/input.d.ts +15 -0
- package/types/src/app/components/max-width.d.ts +13 -0
- package/types/src/app/components/range.d.ts +13 -0
- package/types/src/app/components/select.d.ts +14 -0
- package/types/src/app/components/space.d.ts +14 -0
- package/types/src/app/components/styled-components/index.d.ts +2 -0
- package/types/src/app/components/styled-components/registry.d.ts +5 -0
- package/types/src/app/components/styled-components/theme-provider.d.ts +6 -0
- package/types/src/app/components/textarea.d.ts +13 -0
- package/types/src/app/components/toggle.d.ts +14 -0
- package/types/src/app/components/utils/global.d.ts +3 -0
- package/types/src/app/components/utils/icons.d.ts +9 -0
- package/types/src/app/components/utils/index.d.ts +5 -0
- package/types/src/app/components/utils/mixins.d.ts +11 -0
- package/types/src/app/components/utils/theme.d.ts +227 -0
- package/types/src/app/components/utils/typography.d.ts +20 -0
- package/types/src/app/layout.d.ts +2 -0
- package/types/src/app/page.d.ts +4 -0
- package/types/tsconfig.tsbuildinfo +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export * from "./styled-components";
|
|
2
|
+
export * from "./utils/";
|
|
3
|
+
export * from "./box";
|
|
4
|
+
export * from "./button";
|
|
5
|
+
export * from "./col";
|
|
6
|
+
export * from "./container";
|
|
7
|
+
export * from "./flex";
|
|
8
|
+
export * from "./grid";
|
|
9
|
+
export * from "./input";
|
|
10
|
+
export * from "./max-width";
|
|
11
|
+
export * from "./range";
|
|
12
|
+
export * from "./select";
|
|
13
|
+
export * from "./space";
|
|
14
|
+
export * from "./textarea";
|
|
15
|
+
export * from "./toggle";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Theme } from "./utils";
|
|
3
|
+
interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
$label?: string;
|
|
6
|
+
$size?: "default" | "big";
|
|
7
|
+
$error?: boolean;
|
|
8
|
+
$success?: boolean;
|
|
9
|
+
$fullWidth?: boolean;
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledInputWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, InputProps>>;
|
|
13
|
+
export declare const StyledLabel: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, InputProps>>;
|
|
14
|
+
declare function Input({ ...props }: InputProps): React.JSX.Element;
|
|
15
|
+
export { Input };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface MaxWidthProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
$size?: number;
|
|
4
|
+
$xs?: number;
|
|
5
|
+
$sm?: number;
|
|
6
|
+
$md?: number;
|
|
7
|
+
$lg?: number;
|
|
8
|
+
$xl?: number;
|
|
9
|
+
$xxl?: number;
|
|
10
|
+
$xxxl?: number;
|
|
11
|
+
}
|
|
12
|
+
declare function MaxWidth({ ...props }: MaxWidthProps): React.JSX.Element;
|
|
13
|
+
export { MaxWidth };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Theme } from "./utils";
|
|
3
|
+
interface InputProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> {
|
|
4
|
+
className?: string;
|
|
5
|
+
$label?: string;
|
|
6
|
+
$size?: "default" | "big";
|
|
7
|
+
$error?: boolean;
|
|
8
|
+
$success?: boolean;
|
|
9
|
+
$fullWidth?: boolean;
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
}
|
|
12
|
+
declare function Range({ ...props }: InputProps): React.JSX.Element;
|
|
13
|
+
export { Range };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Theme } from "./utils";
|
|
3
|
+
interface SelectProps extends React.InputHTMLAttributes<HTMLSelectElement> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
$label?: string;
|
|
6
|
+
$size?: "default" | "big";
|
|
7
|
+
$error?: boolean;
|
|
8
|
+
$success?: boolean;
|
|
9
|
+
$fullWidth?: boolean;
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
}
|
|
12
|
+
export declare const StyledIconWrapper: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, SelectProps>>;
|
|
13
|
+
declare function Select({ ...props }: SelectProps): React.JSX.Element;
|
|
14
|
+
export { Select };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface SpaceProps {
|
|
3
|
+
$size?: number | "none";
|
|
4
|
+
$xs?: number | "none";
|
|
5
|
+
$sm?: number | "none";
|
|
6
|
+
$md?: number | "none";
|
|
7
|
+
$lg?: number | "none";
|
|
8
|
+
$xl?: number | "none";
|
|
9
|
+
$xxl?: number | "none";
|
|
10
|
+
$xxxl?: number | "none";
|
|
11
|
+
$horizontal?: boolean;
|
|
12
|
+
}
|
|
13
|
+
declare function Space({ ...props }: SpaceProps): React.JSX.Element;
|
|
14
|
+
export { Space };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Theme } from "./utils";
|
|
3
|
+
interface TextareaProps extends Omit<React.InputHTMLAttributes<HTMLTextAreaElement>, "size"> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
$label?: string;
|
|
6
|
+
$size?: "default" | "big";
|
|
7
|
+
$error?: boolean;
|
|
8
|
+
$success?: boolean;
|
|
9
|
+
$fullWidth?: boolean;
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
}
|
|
12
|
+
declare function Textarea({ ...props }: TextareaProps): React.JSX.Element;
|
|
13
|
+
export { Textarea };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Theme } from "./utils";
|
|
3
|
+
interface ToggleProps extends React.InputHTMLAttributes<HTMLInputElement> {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
type?: "checkbox" | "radio";
|
|
6
|
+
$label?: string;
|
|
7
|
+
$size?: "default" | "big";
|
|
8
|
+
$error?: boolean;
|
|
9
|
+
$success?: boolean;
|
|
10
|
+
$fullWidth?: boolean;
|
|
11
|
+
theme?: Theme;
|
|
12
|
+
}
|
|
13
|
+
declare function Toggle({ type, ...props }: ToggleProps): React.JSX.Element;
|
|
14
|
+
export { Toggle };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare function IconCheck(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
3
|
+
declare function IconArrow(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
4
|
+
declare function IconGitHub(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
5
|
+
declare function IconDiscord(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
6
|
+
declare function IconDribbble(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
7
|
+
declare function IconThreads(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
8
|
+
declare function IconFigma(props: React.SVGProps<SVGSVGElement>): React.JSX.Element;
|
|
9
|
+
export { IconCheck, IconArrow, IconGitHub, IconDiscord, IconDribbble, IconThreads, IconFigma, };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Breakpoints, Theme } from "./theme";
|
|
2
|
+
export declare const resetButton: import("styled-components").RuleSet<object>;
|
|
3
|
+
export declare const resetInput: import("styled-components").RuleSet<object>;
|
|
4
|
+
export declare const fullWidthStyles: (fullWidth: boolean) => import("styled-components").RuleSet<object> | undefined;
|
|
5
|
+
export declare const statusBorderStyles: ($error: boolean, $success: boolean, theme: Theme) => import("styled-components").RuleSet<object> | undefined;
|
|
6
|
+
export declare const formElementHeightStyles: ($size?: "default" | "big") => import("styled-components").RuleSet<object>;
|
|
7
|
+
export declare const generateGapStyles: (size: keyof Breakpoints<number>, gap: number | "none") => import("styled-components").RuleSet<object>;
|
|
8
|
+
export declare const generateColsStyles: (size: keyof Breakpoints<number>, cols: number) => import("styled-components").RuleSet<object>;
|
|
9
|
+
export declare const generateColSpanStyles: (size: keyof Breakpoints<number>, span: number) => import("styled-components").RuleSet<object>;
|
|
10
|
+
export declare const generatePaddingStyles: (size: keyof Breakpoints<number>, padding: number | "none") => import("styled-components").RuleSet<object>;
|
|
11
|
+
export declare const generateJustifyContentStyles: (size: keyof Breakpoints<number>, justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly") => import("styled-components").RuleSet<object>;
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
export declare const breakpoints: Breakpoints;
|
|
2
|
+
export declare function mq(minWidth: keyof Breakpoints): string;
|
|
3
|
+
export declare const spacing: Spacing;
|
|
4
|
+
export declare const colors: Colors;
|
|
5
|
+
export declare const shadows: Shadows;
|
|
6
|
+
export declare const fonts: Fonts;
|
|
7
|
+
export declare const fontSizes: FontSizes;
|
|
8
|
+
export declare const lineHeights: LineHeights;
|
|
9
|
+
export declare const theme: Theme;
|
|
10
|
+
export interface Breakpoints<TNumber = number> {
|
|
11
|
+
xs: TNumber;
|
|
12
|
+
sm: TNumber;
|
|
13
|
+
md: TNumber;
|
|
14
|
+
lg: TNumber;
|
|
15
|
+
xl: TNumber;
|
|
16
|
+
xxl: TNumber;
|
|
17
|
+
xxxl: TNumber;
|
|
18
|
+
}
|
|
19
|
+
export interface Spacing<TString = string> {
|
|
20
|
+
maxWidth: {
|
|
21
|
+
xs: TString;
|
|
22
|
+
xxxl: TString;
|
|
23
|
+
};
|
|
24
|
+
padding: {
|
|
25
|
+
xs: TString;
|
|
26
|
+
lg: TString;
|
|
27
|
+
};
|
|
28
|
+
radius: {
|
|
29
|
+
xs: TString;
|
|
30
|
+
lg: TString;
|
|
31
|
+
xl: TString;
|
|
32
|
+
};
|
|
33
|
+
gridGap: {
|
|
34
|
+
xs: TString;
|
|
35
|
+
lg: TString;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
export interface Colors<TString = string> {
|
|
39
|
+
primaryLight: TString;
|
|
40
|
+
primary: TString;
|
|
41
|
+
primaryDark: TString;
|
|
42
|
+
secondaryLight: TString;
|
|
43
|
+
secondary: TString;
|
|
44
|
+
secondaryDark: TString;
|
|
45
|
+
tertiaryLight: TString;
|
|
46
|
+
tertiary: TString;
|
|
47
|
+
tertiaryDark: TString;
|
|
48
|
+
grayLight: TString;
|
|
49
|
+
gray: TString;
|
|
50
|
+
grayDark: TString;
|
|
51
|
+
success: TString;
|
|
52
|
+
error: TString;
|
|
53
|
+
warning: TString;
|
|
54
|
+
info: TString;
|
|
55
|
+
dark: TString;
|
|
56
|
+
light: TString;
|
|
57
|
+
}
|
|
58
|
+
interface Shadows<TString = string> {
|
|
59
|
+
xs: TString;
|
|
60
|
+
sm: TString;
|
|
61
|
+
md: TString;
|
|
62
|
+
lg: TString;
|
|
63
|
+
xl: TString;
|
|
64
|
+
}
|
|
65
|
+
export interface Fonts<TString = string> {
|
|
66
|
+
head: TString;
|
|
67
|
+
text: TString;
|
|
68
|
+
mono: TString;
|
|
69
|
+
}
|
|
70
|
+
export interface FontSizes<TString = string> {
|
|
71
|
+
hero1: {
|
|
72
|
+
xs: TString;
|
|
73
|
+
lg: TString;
|
|
74
|
+
};
|
|
75
|
+
hero2: {
|
|
76
|
+
xs: TString;
|
|
77
|
+
lg: TString;
|
|
78
|
+
};
|
|
79
|
+
hero3: {
|
|
80
|
+
xs: TString;
|
|
81
|
+
lg: TString;
|
|
82
|
+
};
|
|
83
|
+
h1: {
|
|
84
|
+
xs: TString;
|
|
85
|
+
lg: TString;
|
|
86
|
+
};
|
|
87
|
+
h2: {
|
|
88
|
+
xs: TString;
|
|
89
|
+
lg: TString;
|
|
90
|
+
};
|
|
91
|
+
h3: {
|
|
92
|
+
xs: TString;
|
|
93
|
+
lg: TString;
|
|
94
|
+
};
|
|
95
|
+
h4: {
|
|
96
|
+
xs: TString;
|
|
97
|
+
lg: TString;
|
|
98
|
+
};
|
|
99
|
+
h5: {
|
|
100
|
+
xs: TString;
|
|
101
|
+
lg: TString;
|
|
102
|
+
};
|
|
103
|
+
h6: {
|
|
104
|
+
xs: TString;
|
|
105
|
+
lg: TString;
|
|
106
|
+
};
|
|
107
|
+
text: {
|
|
108
|
+
xs: TString;
|
|
109
|
+
lg: TString;
|
|
110
|
+
};
|
|
111
|
+
strong: {
|
|
112
|
+
xs: TString;
|
|
113
|
+
lg: TString;
|
|
114
|
+
};
|
|
115
|
+
small: {
|
|
116
|
+
xs: TString;
|
|
117
|
+
lg: TString;
|
|
118
|
+
};
|
|
119
|
+
blockquote: {
|
|
120
|
+
xs: TString;
|
|
121
|
+
lg: TString;
|
|
122
|
+
};
|
|
123
|
+
code: {
|
|
124
|
+
xs: TString;
|
|
125
|
+
lg: TString;
|
|
126
|
+
};
|
|
127
|
+
button: {
|
|
128
|
+
xs: TString;
|
|
129
|
+
lg: TString;
|
|
130
|
+
};
|
|
131
|
+
buttonBig: {
|
|
132
|
+
xs: TString;
|
|
133
|
+
lg: TString;
|
|
134
|
+
};
|
|
135
|
+
input: {
|
|
136
|
+
xs: TString;
|
|
137
|
+
lg: TString;
|
|
138
|
+
};
|
|
139
|
+
inputBig: {
|
|
140
|
+
xs: TString;
|
|
141
|
+
lg: TString;
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
export interface LineHeights<TString = string> {
|
|
145
|
+
hero1: {
|
|
146
|
+
xs: TString;
|
|
147
|
+
lg: TString;
|
|
148
|
+
};
|
|
149
|
+
hero2: {
|
|
150
|
+
xs: TString;
|
|
151
|
+
lg: TString;
|
|
152
|
+
};
|
|
153
|
+
hero3: {
|
|
154
|
+
xs: TString;
|
|
155
|
+
lg: TString;
|
|
156
|
+
};
|
|
157
|
+
h1: {
|
|
158
|
+
xs: TString;
|
|
159
|
+
lg: TString;
|
|
160
|
+
};
|
|
161
|
+
h2: {
|
|
162
|
+
xs: TString;
|
|
163
|
+
lg: TString;
|
|
164
|
+
};
|
|
165
|
+
h3: {
|
|
166
|
+
xs: TString;
|
|
167
|
+
lg: TString;
|
|
168
|
+
};
|
|
169
|
+
h4: {
|
|
170
|
+
xs: TString;
|
|
171
|
+
lg: TString;
|
|
172
|
+
};
|
|
173
|
+
h5: {
|
|
174
|
+
xs: TString;
|
|
175
|
+
lg: TString;
|
|
176
|
+
};
|
|
177
|
+
h6: {
|
|
178
|
+
xs: TString;
|
|
179
|
+
lg: TString;
|
|
180
|
+
};
|
|
181
|
+
text: {
|
|
182
|
+
xs: TString;
|
|
183
|
+
lg: TString;
|
|
184
|
+
};
|
|
185
|
+
strong: {
|
|
186
|
+
xs: TString;
|
|
187
|
+
lg: TString;
|
|
188
|
+
};
|
|
189
|
+
small: {
|
|
190
|
+
xs: TString;
|
|
191
|
+
lg: TString;
|
|
192
|
+
};
|
|
193
|
+
blockquote: {
|
|
194
|
+
xs: TString;
|
|
195
|
+
lg: TString;
|
|
196
|
+
};
|
|
197
|
+
code: {
|
|
198
|
+
xs: TString;
|
|
199
|
+
lg: TString;
|
|
200
|
+
};
|
|
201
|
+
button: {
|
|
202
|
+
xs: TString;
|
|
203
|
+
lg: TString;
|
|
204
|
+
};
|
|
205
|
+
buttonBig: {
|
|
206
|
+
xs: TString;
|
|
207
|
+
lg: TString;
|
|
208
|
+
};
|
|
209
|
+
input: {
|
|
210
|
+
xs: TString;
|
|
211
|
+
lg: TString;
|
|
212
|
+
};
|
|
213
|
+
inputBig: {
|
|
214
|
+
xs: TString;
|
|
215
|
+
lg: TString;
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
export interface Theme {
|
|
219
|
+
breakpoints: Breakpoints;
|
|
220
|
+
spacing: Spacing;
|
|
221
|
+
colors: Colors;
|
|
222
|
+
shadows: Shadows;
|
|
223
|
+
fonts: Fonts;
|
|
224
|
+
fontSizes: FontSizes;
|
|
225
|
+
lineHeights: LineHeights;
|
|
226
|
+
}
|
|
227
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Theme } from "./theme";
|
|
2
|
+
declare const styledHero1: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
3
|
+
declare const styledHero2: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
4
|
+
declare const styledHero3: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
5
|
+
declare const styledH1: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
6
|
+
declare const styledH2: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
7
|
+
declare const styledH3: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
8
|
+
declare const styledH4: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
9
|
+
declare const styledH5: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
10
|
+
declare const styledH6: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
11
|
+
declare const styledText: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
12
|
+
declare const styledStrong: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
13
|
+
declare const styledSmall: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
14
|
+
declare const styledBlockquote: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
15
|
+
declare const styledCode: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
16
|
+
declare const styledButton: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
17
|
+
declare const styledButtonBig: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
18
|
+
declare const styledInput: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
19
|
+
declare const styledInputBig: (theme: Theme) => import("styled-components").RuleSet<object>;
|
|
20
|
+
export { styledHero1, styledHero2, styledHero3, styledH1, styledH2, styledH3, styledH4, styledH5, styledH6, styledText, styledStrong, styledSmall, styledBlockquote, styledCode, styledButton, styledButtonBig, styledInput, styledInputBig, };
|