beathers 5.2.2 → 5.3.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/CHANGELOG +119 -0
- package/dist/css/beathers-icons.min.css +1 -1
- package/dist/css/beathers-icons.min.css.map +1 -1
- package/dist/css/beathers.min.css +2 -2
- package/dist/css/beathers.min.css.map +1 -1
- package/dist/data/colors.d.ts +10 -0
- package/dist/data/colors.js +54 -0
- package/dist/data/font.d.ts +4 -0
- package/dist/data/font.js +32 -0
- package/dist/data/index.d.ts +3 -0
- package/dist/data/index.js +2 -0
- package/dist/index.d.ts +5 -2
- package/dist/index.js +4 -1
- package/dist/scripts/cli.d.ts +1 -0
- package/dist/scripts/cli.js +7 -220
- package/dist/scripts/commands/build.d.ts +2 -0
- package/dist/scripts/commands/build.js +128 -0
- package/dist/scripts/commands/colors.d.ts +5 -0
- package/dist/scripts/commands/colors.js +140 -0
- package/dist/scripts/commands/fonts.d.ts +4 -0
- package/dist/scripts/commands/fonts.js +124 -0
- package/dist/scripts/commands/help.d.ts +2 -0
- package/dist/scripts/commands/help.js +42 -0
- package/dist/scripts/commands/index.d.ts +14 -0
- package/dist/scripts/commands/index.js +95 -0
- package/dist/scripts/commands/init.d.ts +2 -0
- package/dist/scripts/commands/init.js +129 -0
- package/dist/scripts/commands/list.d.ts +3 -0
- package/dist/scripts/commands/list.js +29 -0
- package/dist/scripts/commands/version.d.ts +2 -0
- package/dist/scripts/commands/version.js +13 -0
- package/dist/scripts/helpers/BuildScssVariables.d.ts +3 -0
- package/dist/scripts/{BuildScssVariables.js → helpers/BuildScssVariables.js} +4 -4
- package/dist/scripts/{CallNewVariables.d.ts → helpers/CallNewVariables.d.ts} +1 -0
- package/dist/scripts/{LoadUserConfigs.d.ts → helpers/LoadUserConfigs.d.ts} +2 -1
- package/dist/scripts/{Merge.d.ts → helpers/Merge.d.ts} +2 -1
- package/dist/scripts/{ReadDefaultValues.d.ts → helpers/ReadDefaultValues.d.ts} +2 -1
- package/dist/scripts/{ReadDefaultValues.js → helpers/ReadDefaultValues.js} +6 -2
- package/dist/scripts/helpers/index.d.ts +6 -0
- package/dist/scripts/helpers/index.js +5 -0
- package/dist/scripts/types.d.ts +42 -4
- package/dist/scripts/types.js +1 -0
- package/package.json +90 -80
- package/readme.md +30 -1
- package/src/scss/_variables.scss +1 -305
- package/src/scss/beathers-icons.min.scss +245 -245
- package/src/scss/beathers.min.scss +2 -4
- package/src/scss/functions/_colors.scss +79 -68
- package/src/scss/functions/_mediaQueries.scss +22 -12
- package/src/scss/functions/_others.scss +31 -22
- package/src/scss/functions/_typographic.scss +11 -2
- package/src/scss/functions/_validations.scss +38 -43
- package/src/scss/settings/_configs.scss +1 -72
- package/src/scss/settings/_defaults.scss +139 -212
- package/src/scss/style/_colors.scss +39 -23
- package/src/scss/style/_grid.scss +23 -25
- package/src/scss/style/_resets.scss +119 -0
- package/src/scss/style/_shaping.scss +142 -89
- package/src/scss/style/_typographic.scss +79 -36
- package/dist/scripts/BuildScssVariables.d.ts +0 -2
- package/dist/scripts/BuildTheme.d.ts +0 -1
- package/dist/scripts/BuildTheme.js +0 -75
- package/src/scss/settings/_resets.scss +0 -103
- /package/dist/scripts/{CallNewVariables.js → helpers/CallNewVariables.js} +0 -0
- /package/dist/scripts/{LoadUserConfigs.js → helpers/LoadUserConfigs.js} +0 -0
- /package/dist/scripts/{Merge.js → helpers/Merge.js} +0 -0
package/dist/scripts/types.d.ts
CHANGED
|
@@ -1,52 +1,90 @@
|
|
|
1
|
+
/** CSS size unit values supporting px, rem, em, viewport units, and percentages */
|
|
1
2
|
type SizeUnit = `${number}px` | `${number}rem` | `${number}em` | `${number}vw` | `${number}vh` | `${number}%`;
|
|
3
|
+
/** Color configuration object with optional light and dark theme hex values */
|
|
2
4
|
type ColorType = Record<string, {
|
|
3
|
-
light
|
|
4
|
-
dark
|
|
5
|
+
light?: `#${string}`;
|
|
6
|
+
dark?: `#${string}`;
|
|
5
7
|
}>;
|
|
8
|
+
/** Available font weight values from thin to black */
|
|
6
9
|
type FontWeight = 'thin' | 'extra-light' | 'light' | 'regular' | 'medium' | 'semibold' | 'bold' | 'extra-bold' | 'black';
|
|
10
|
+
/** Font style options for normal, italic, or oblique text */
|
|
7
11
|
type FontStyle = 'normal' | 'italic' | 'oblique';
|
|
8
12
|
interface FontVariant {
|
|
13
|
+
/** Display name for the font variant */
|
|
9
14
|
title: string;
|
|
15
|
+
/** Unicode range for the font variant */
|
|
10
16
|
unicode?: string;
|
|
17
|
+
/** Font file format. */
|
|
11
18
|
format?: 'woff' | 'woff2';
|
|
19
|
+
/** Whether the font is locally installed. @default true */
|
|
12
20
|
isLocal?: boolean;
|
|
21
|
+
/** Remote URL for downloading the font */
|
|
13
22
|
url?: `https://${string}` | `http://${string}`;
|
|
14
23
|
}
|
|
24
|
+
/** Font configuration with weights, styles, and variants */
|
|
15
25
|
type FontType = {
|
|
26
|
+
/** Available font weights for this font family */
|
|
16
27
|
weights?: FontWeight[];
|
|
28
|
+
/** Available font styles for this font family */
|
|
17
29
|
styles?: FontStyle[];
|
|
30
|
+
/** Named font variants with specific configurations */
|
|
18
31
|
variants?: Record<string, FontVariant>;
|
|
19
32
|
};
|
|
20
33
|
interface Typography {
|
|
34
|
+
/** Default font families to use as fallbacks */
|
|
21
35
|
defaultFontFamilies?: string[];
|
|
36
|
+
/** Base path for font files */
|
|
22
37
|
fontMainPath?: string;
|
|
38
|
+
/** Default font format for all fonts. */
|
|
23
39
|
fontFormat?: 'woff' | 'woff2';
|
|
40
|
+
/** Global font weights available across all fonts */
|
|
24
41
|
fontWeights?: FontWeight[];
|
|
42
|
+
/** Global font styles available across all fonts */
|
|
25
43
|
fontStyles?: FontStyle[];
|
|
44
|
+
/** Named font sizes mapped to CSS size units */
|
|
26
45
|
fontSizes?: Record<string, SizeUnit>;
|
|
27
|
-
|
|
46
|
+
/** Line counts for text truncation utilities */
|
|
47
|
+
textTruncate?: number[];
|
|
48
|
+
/** Font family configurations */
|
|
28
49
|
fonts?: Record<string, FontType>;
|
|
29
50
|
}
|
|
30
51
|
interface Settings {
|
|
52
|
+
/** Number of divisions for grid axis calculations. @default 12 */
|
|
31
53
|
axisDivisions?: number;
|
|
54
|
+
/** Opacity values for transparency utilities (0-100 range) */
|
|
32
55
|
opacities?: number[];
|
|
56
|
+
/** Blur values in pixels for filter utilities */
|
|
33
57
|
blurValues?: number[];
|
|
58
|
+
/** Inset values for positioning utilities */
|
|
34
59
|
insetValues?: number[];
|
|
35
|
-
|
|
60
|
+
/** Border width values in pixels */
|
|
61
|
+
bordersValue?: number[];
|
|
62
|
+
/** Border radius values in pixels */
|
|
36
63
|
radiuses?: number[];
|
|
64
|
+
/** Responsive breakpoints for media queries */
|
|
37
65
|
breakpoints?: Record<'null' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl', 0 | SizeUnit>;
|
|
66
|
+
/** Container wrapper configurations for different breakpoints */
|
|
38
67
|
wrappers?: Record<'null' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl', {
|
|
39
68
|
width: SizeUnit;
|
|
40
69
|
padding?: SizeUnit;
|
|
41
70
|
}>;
|
|
71
|
+
/** Gutter values for spacing utilities */
|
|
42
72
|
guttersValues?: Record<'auto' | number, 'auto' | SizeUnit>;
|
|
43
73
|
}
|
|
74
|
+
/** Available feature keys for enabling/disabling CSS utilities */
|
|
44
75
|
type RoleKeys = 'useMediaQueries' | 'useIcons' | 'useFontFamilies' | 'useFontSizes' | 'useFontShapes' | 'useTextAligns' | 'useTextTruncate' | 'useColors' | 'useColorsOpacities' | 'useColorsLightMode' | 'useColorsDarkMode' | 'useCurrentColors' | 'useRootColors' | 'useGrid' | 'useFlex' | 'useTransitions' | 'useWrappers' | 'useShadows' | 'useDisplays' | 'useOverflows' | 'useOpacities' | 'useBlur' | 'useObjectFits' | 'usePositions' | 'useInsets' | 'useSizes' | 'useGutters' | 'useBorders' | 'useTextBorders' | 'useRadius';
|
|
76
|
+
/** Feature toggles for enabling/disabling CSS utility generation. @default all true */
|
|
45
77
|
type Roles = Partial<Record<RoleKeys, boolean>>;
|
|
78
|
+
/** Main theme configuration object containing all design system settings */
|
|
46
79
|
interface Theme {
|
|
80
|
+
/** Color palette definitions with light/dark theme support */
|
|
47
81
|
colors?: ColorType;
|
|
82
|
+
/** Typography settings including fonts, sizes, and weights */
|
|
48
83
|
typography?: Typography;
|
|
84
|
+
/** Framework settings for grid, spacing, and responsive behavior */
|
|
49
85
|
settings?: Settings;
|
|
86
|
+
/** Feature flags for controlling which CSS utilities are generated */
|
|
50
87
|
roles?: Roles;
|
|
51
88
|
}
|
|
52
89
|
export type { SizeUnit, ColorType, FontWeight, FontStyle, FontVariant, FontType, Typography, Settings, RoleKeys, Roles, Theme, };
|
|
90
|
+
//# sourceMappingURL=types.d.ts.map
|
package/dist/scripts/types.js
CHANGED
package/package.json
CHANGED
|
@@ -1,80 +1,90 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "beathers",
|
|
3
|
-
"version": "5.
|
|
4
|
-
"type": "module",
|
|
5
|
-
"description": "Beather is a lightweight SCSS library that serves as a comprehensive design system for your projects. It offers a structured and consistent approach to manage colors, fonts, and other design related variables, making it easier to maintain a cohesive visual identity across your application.",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.ts",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"
|
|
23
|
-
"scss
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"eslint
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
|
|
80
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "beathers",
|
|
3
|
+
"version": "5.3.1",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"description": "Beather is a lightweight SCSS library that serves as a comprehensive design system for your projects. It offers a structured and consistent approach to manage colors, fonts, and other design related variables, making it easier to maintain a cohesive visual identity across your application.",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/index.js",
|
|
11
|
+
"require": "./dist/index.js",
|
|
12
|
+
"types": "./dist/index.d.ts"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"bin": {
|
|
16
|
+
"beathers": "dist/scripts/cli.js"
|
|
17
|
+
},
|
|
18
|
+
"scripts": {
|
|
19
|
+
"watch": "nodemon --watch src/scss/ --ext scss --exec \"npm-run-all build\"",
|
|
20
|
+
"build": "sass --style compressed --source-map --embed-sources --no-error-css src/scss/:dist/css/",
|
|
21
|
+
"build:test": "tsx src/scripts/cli.ts",
|
|
22
|
+
"build:publish": "rimraf dist && tsc && npm run build",
|
|
23
|
+
"lint": "eslint . && stylelint \"**/*.scss\"",
|
|
24
|
+
"lint:fix": "eslint . --fix && stylelint \"**/*.scss\" --fix",
|
|
25
|
+
"format:check": "prettier --check --ignore-path .gitignore .",
|
|
26
|
+
"format:fix": "prettier --write --ignore-path .gitignore . && npm run lint"
|
|
27
|
+
},
|
|
28
|
+
"keywords": [
|
|
29
|
+
"design-system",
|
|
30
|
+
"scss-library",
|
|
31
|
+
"css-framework",
|
|
32
|
+
"utility-first",
|
|
33
|
+
"responsive-design",
|
|
34
|
+
"dark-mode",
|
|
35
|
+
"light-mode",
|
|
36
|
+
"theming",
|
|
37
|
+
"css-variables",
|
|
38
|
+
"typography",
|
|
39
|
+
"flexbox",
|
|
40
|
+
"css-grid",
|
|
41
|
+
"media-queries",
|
|
42
|
+
"atomic-css",
|
|
43
|
+
"modular-css",
|
|
44
|
+
"frontend-framework",
|
|
45
|
+
"scalable-css",
|
|
46
|
+
"customizable-theme",
|
|
47
|
+
"component-library",
|
|
48
|
+
"ui-framework"
|
|
49
|
+
],
|
|
50
|
+
"author": "Bhoenix studio",
|
|
51
|
+
"license": "MIT",
|
|
52
|
+
"homepage": "https://bhoenixstudio.com/beathers",
|
|
53
|
+
"dependencies": {
|
|
54
|
+
"fs-extra": "^11.3.0"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@eslint/js": "^9.26.0",
|
|
58
|
+
"@types/fs-extra": "^11.0.4",
|
|
59
|
+
"@types/node": "^22.15.21",
|
|
60
|
+
"@types/scss-parser": "^1.0.4",
|
|
61
|
+
"autoprefixer": "^10.4.21",
|
|
62
|
+
"eslint": "^9.26.0",
|
|
63
|
+
"eslint-plugin-css": "^0.11.0",
|
|
64
|
+
"eslint-plugin-import": "^2.31.0",
|
|
65
|
+
"globals": "^16.1.0",
|
|
66
|
+
"nodemon": "^3.1.10",
|
|
67
|
+
"npm-run-all": "^4.1.5",
|
|
68
|
+
"postcss": "^8.5.3",
|
|
69
|
+
"postcss-cli": "^11.0.1",
|
|
70
|
+
"postcss-scss": "^4.0.9",
|
|
71
|
+
"prettier": "^3.5.3",
|
|
72
|
+
"rimraf": "^6.0.1",
|
|
73
|
+
"sass": "^1.88.0",
|
|
74
|
+
"stylelint": "^16.19.1",
|
|
75
|
+
"stylelint-config-prettier": "^9.0.5",
|
|
76
|
+
"stylelint-config-standard-scss": "^15.0.1",
|
|
77
|
+
"stylelint-scss": "^6.12.0",
|
|
78
|
+
"tsx": "^4.19.4",
|
|
79
|
+
"typescript": "^5.8.3",
|
|
80
|
+
"typescript-eslint": "^8.32.1"
|
|
81
|
+
},
|
|
82
|
+
"files": [
|
|
83
|
+
"dist/css/**/*.{css,map}",
|
|
84
|
+
"dist/**/*.{js,d.ts}",
|
|
85
|
+
"src/scss/**/*.scss",
|
|
86
|
+
"public/images/logo.png",
|
|
87
|
+
"CHANGELOG",
|
|
88
|
+
"readme.md"
|
|
89
|
+
]
|
|
90
|
+
}
|
package/readme.md
CHANGED
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
|
|
6
6
|
[](https://www.npmjs.com/package/beathers)
|
|
7
7
|
[](https://opensource.org/licenses/MIT)
|
|
8
|
+
[](CHANGELOG)
|
|
8
9
|
|
|
9
|
-
Beathers is a lightweight, powerful SCSS library designed to accelerate your web development workflow
|
|
10
|
+
Beathers is a lightweight, powerful SCSS library designed to accelerate your web development workflow.**Everything is fully customizable** through a simple configuration file, allowing you to tailor every aspect to match your brand and requirements. It offers a comprehensive suite of SCSS mixins, variables, and utility classes, enabling you to build responsive, visually appealing web applications with complete design control.
|
|
10
11
|
|
|
11
12
|
## Get Started
|
|
12
13
|
|
|
@@ -42,6 +43,34 @@ Generate your custom CSS from the configuration:
|
|
|
42
43
|
npx beathers build
|
|
43
44
|
```
|
|
44
45
|
|
|
46
|
+
### CLI Commands
|
|
47
|
+
|
|
48
|
+
Beathers provides a comprehensive set of CLI commands to manage your design system:
|
|
49
|
+
|
|
50
|
+
#### Configuration
|
|
51
|
+
|
|
52
|
+
- `npx beathers init` - Initialize a new configuration file
|
|
53
|
+
- `npx beathers build` - Build theme from configuration
|
|
54
|
+
- `npx beathers build --local` - Build with custom output path
|
|
55
|
+
|
|
56
|
+
#### Font Management
|
|
57
|
+
|
|
58
|
+
- `npx beathers add-font` - Add a new font to your configuration
|
|
59
|
+
- `npx beathers remove-font` - Remove a font from your configuration
|
|
60
|
+
- `npx beathers import-font-sample` - Import a sample font configuration
|
|
61
|
+
|
|
62
|
+
#### Color Management
|
|
63
|
+
|
|
64
|
+
- `npx beathers add-colors` - Add new colors to your configuration
|
|
65
|
+
- `npx beathers remove-color` - Remove a color from your configuration
|
|
66
|
+
- `npx beathers import-color-pack` - Import a complete color pack from available packs
|
|
67
|
+
- `npx beathers import-color` - Import a specific color from available packs
|
|
68
|
+
|
|
69
|
+
#### Help & Information
|
|
70
|
+
|
|
71
|
+
- `npx beathers --help` - Show all available commands
|
|
72
|
+
- `npx beathers --version` - Show current version
|
|
73
|
+
|
|
45
74
|
### Import in Your Project
|
|
46
75
|
|
|
47
76
|
**CSS Import (Recommended):**
|
package/src/scss/_variables.scss
CHANGED
|
@@ -1,305 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// Do not edit this file directly
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// --- Colors ---
|
|
7
|
-
$colors: (
|
|
8
|
-
"main": (
|
|
9
|
-
"light": #ffffff,
|
|
10
|
-
"dark": #1a1d21,
|
|
11
|
-
),
|
|
12
|
-
"second": (
|
|
13
|
-
"light": #f8f8ff,
|
|
14
|
-
"dark": #2e2e3f,
|
|
15
|
-
),
|
|
16
|
-
"third": (
|
|
17
|
-
"light": #ebecf7,
|
|
18
|
-
"dark": #39394a,
|
|
19
|
-
),
|
|
20
|
-
"t1": (
|
|
21
|
-
"light": #303030,
|
|
22
|
-
"dark": #fafafa,
|
|
23
|
-
),
|
|
24
|
-
"t2": (
|
|
25
|
-
"light": #404040,
|
|
26
|
-
"dark": #f5f5f5,
|
|
27
|
-
),
|
|
28
|
-
"t3": (
|
|
29
|
-
"light": #404040,
|
|
30
|
-
"dark": #f5f5f5,
|
|
31
|
-
),
|
|
32
|
-
"d1": (
|
|
33
|
-
"light": #505050,
|
|
34
|
-
"dark": #dfdfdf,
|
|
35
|
-
),
|
|
36
|
-
"d2": (
|
|
37
|
-
"light": #808080,
|
|
38
|
-
"dark": #bdbdbd,
|
|
39
|
-
),
|
|
40
|
-
"d3": (
|
|
41
|
-
"light": #909090,
|
|
42
|
-
"dark": #9e9e9e,
|
|
43
|
-
),
|
|
44
|
-
"success": (
|
|
45
|
-
"light": #099750,
|
|
46
|
-
"dark": #5ff2a9,
|
|
47
|
-
),
|
|
48
|
-
"primary": (
|
|
49
|
-
"light": #2a6e9f,
|
|
50
|
-
"dark": #89c5f0,
|
|
51
|
-
),
|
|
52
|
-
"secondary": (
|
|
53
|
-
"light": #545454,
|
|
54
|
-
"dark": #c6c3c3,
|
|
55
|
-
),
|
|
56
|
-
"danger": (
|
|
57
|
-
"light": #b5333b,
|
|
58
|
-
"dark": #ee6b74,
|
|
59
|
-
),
|
|
60
|
-
"warning": (
|
|
61
|
-
"light": #ca9420,
|
|
62
|
-
"dark": #fcd06f,
|
|
63
|
-
),
|
|
64
|
-
"info": (
|
|
65
|
-
"light": #0c8181,
|
|
66
|
-
"dark": #49d1d1,
|
|
67
|
-
),
|
|
68
|
-
"facebook": (
|
|
69
|
-
"light": #3b5998,
|
|
70
|
-
"dark": #3b5998,
|
|
71
|
-
),
|
|
72
|
-
"messenger": (
|
|
73
|
-
"light": #006aff,
|
|
74
|
-
"dark": #006aff,
|
|
75
|
-
),
|
|
76
|
-
"whatsapp": (
|
|
77
|
-
"light": #25d366,
|
|
78
|
-
"dark": #25d366,
|
|
79
|
-
),
|
|
80
|
-
"instagram": (
|
|
81
|
-
"light": #3f729b,
|
|
82
|
-
"dark": #3f729b,
|
|
83
|
-
),
|
|
84
|
-
"google": (
|
|
85
|
-
"light": #4285f4,
|
|
86
|
-
"dark": #4285f4,
|
|
87
|
-
),
|
|
88
|
-
"signal": (
|
|
89
|
-
"light": #2190e8,
|
|
90
|
-
"dark": #2190e8,
|
|
91
|
-
),
|
|
92
|
-
"twitter": (
|
|
93
|
-
"light": #00acee,
|
|
94
|
-
"dark": #00acee,
|
|
95
|
-
),
|
|
96
|
-
"telegram": (
|
|
97
|
-
"light": #0088cc,
|
|
98
|
-
"dark": #0088cc,
|
|
99
|
-
),
|
|
100
|
-
"youtube": (
|
|
101
|
-
"light": #ff0000,
|
|
102
|
-
"dark": #ff0000,
|
|
103
|
-
),
|
|
104
|
-
"linkedin": (
|
|
105
|
-
"light": #0077b5,
|
|
106
|
-
"dark": #0077b5,
|
|
107
|
-
),
|
|
108
|
-
"behance": (
|
|
109
|
-
"light": #053eff,
|
|
110
|
-
"dark": #053eff,
|
|
111
|
-
),
|
|
112
|
-
"github": (
|
|
113
|
-
"light": #171515,
|
|
114
|
-
"dark": #171515,
|
|
115
|
-
),
|
|
116
|
-
"gitlab": (
|
|
117
|
-
"light": #fca326,
|
|
118
|
-
"dark": #fca326,
|
|
119
|
-
),
|
|
120
|
-
"wechat": (
|
|
121
|
-
"light": #09b83e,
|
|
122
|
-
"dark": #09b83e,
|
|
123
|
-
),
|
|
124
|
-
"tiktok": (
|
|
125
|
-
"light": #ff0050,
|
|
126
|
-
"dark": #ff0050,
|
|
127
|
-
),
|
|
128
|
-
"snapchat": (
|
|
129
|
-
"light": #fffc00,
|
|
130
|
-
"dark": #fffc00,
|
|
131
|
-
),
|
|
132
|
-
"pinterest": (
|
|
133
|
-
"light": #e60023,
|
|
134
|
-
"dark": #e60023,
|
|
135
|
-
),
|
|
136
|
-
"reddit": (
|
|
137
|
-
"light": #ff4500,
|
|
138
|
-
"dark": #ff4500,
|
|
139
|
-
),
|
|
140
|
-
"teams": (
|
|
141
|
-
"light": #464eb8,
|
|
142
|
-
"dark": #464eb8,
|
|
143
|
-
),
|
|
144
|
-
"twitch": (
|
|
145
|
-
"light": #6441a5,
|
|
146
|
-
"dark": #6441a5,
|
|
147
|
-
),
|
|
148
|
-
"dribbble": (
|
|
149
|
-
"light": #ea4c89,
|
|
150
|
-
"dark": #ea4c89,
|
|
151
|
-
),
|
|
152
|
-
"custom-1": (
|
|
153
|
-
"light": #4289c7,
|
|
154
|
-
"dark": #75b0e4,
|
|
155
|
-
),
|
|
156
|
-
"custom-2": (
|
|
157
|
-
"light": #39c2cb,
|
|
158
|
-
"dark": #79e2e9,
|
|
159
|
-
),
|
|
160
|
-
"custom-3": (
|
|
161
|
-
"light": #36c07e,
|
|
162
|
-
"dark": #86f3be,
|
|
163
|
-
),
|
|
164
|
-
"custom-4": (
|
|
165
|
-
"light": #a84fd1,
|
|
166
|
-
"dark": #cd87ee,
|
|
167
|
-
),
|
|
168
|
-
"custom-5": (
|
|
169
|
-
"light": #df4f60,
|
|
170
|
-
"dark": #df7884,
|
|
171
|
-
),
|
|
172
|
-
"custom-6": (
|
|
173
|
-
"light": #dec338,
|
|
174
|
-
"dark": #e6d689,
|
|
175
|
-
),
|
|
176
|
-
"custom-7": (
|
|
177
|
-
"light": #ea6e2c,
|
|
178
|
-
"dark": #e29f7b,
|
|
179
|
-
),
|
|
180
|
-
"custom-8": (
|
|
181
|
-
"light": #a66d38,
|
|
182
|
-
"dark": #e3b387,
|
|
183
|
-
),
|
|
184
|
-
"custom-9": (
|
|
185
|
-
"light": #eb30a0,
|
|
186
|
-
"dark": #e779bb,
|
|
187
|
-
),
|
|
188
|
-
"custom-10": (
|
|
189
|
-
"light": #1e24a5,
|
|
190
|
-
"dark": #5d64ea,
|
|
191
|
-
),
|
|
192
|
-
"black": (
|
|
193
|
-
"light": #000000,
|
|
194
|
-
"dark": #000000,
|
|
195
|
-
),
|
|
196
|
-
"white": (
|
|
197
|
-
"light": #ffffff,
|
|
198
|
-
"dark": #ffffff,
|
|
199
|
-
),
|
|
200
|
-
);
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
// --- Typography ---
|
|
204
|
-
$defaultFontFamilies: system-ui, -apple-system, Roboto, Arial, sans-serif;
|
|
205
|
-
$fontMainPath: "/fonts/";
|
|
206
|
-
$fontFormat: "woff2";
|
|
207
|
-
$fontWeights: ("light", "regular", "medium", "bold");
|
|
208
|
-
$fontStyles: ("normal");
|
|
209
|
-
$fontSizes: (
|
|
210
|
-
"h1": 96px,
|
|
211
|
-
"h2": 60px,
|
|
212
|
-
"h3": 40px,
|
|
213
|
-
"h4": 34px,
|
|
214
|
-
"h5": 24px,
|
|
215
|
-
"h6": 20px,
|
|
216
|
-
"subtitle1": 16px,
|
|
217
|
-
"subtitle2": 14px,
|
|
218
|
-
"body1": 16px,
|
|
219
|
-
"body2": 14px,
|
|
220
|
-
"button": 14px,
|
|
221
|
-
"caption": 12px,
|
|
222
|
-
"overline": 10px,
|
|
223
|
-
);
|
|
224
|
-
$textTruncate: 10;
|
|
225
|
-
$fonts: (
|
|
226
|
-
"font1": (
|
|
227
|
-
"variants": (
|
|
228
|
-
"en": (
|
|
229
|
-
"title": roboto,
|
|
230
|
-
"unicode": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
|
|
231
|
-
),
|
|
232
|
-
"ar": (
|
|
233
|
-
"title": cairo,
|
|
234
|
-
"unicode": "U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD",
|
|
235
|
-
),
|
|
236
|
-
),
|
|
237
|
-
),
|
|
238
|
-
);
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
// --- Settings ---
|
|
242
|
-
$axisDivisions: 12;
|
|
243
|
-
$opacities: (10, 20, 30, 40, 50, 60, 70, 80, 90, 100);
|
|
244
|
-
$blurValues: (5, 10, 15, 25);
|
|
245
|
-
$insetValues: (0, 5, 15, 25);
|
|
246
|
-
$bordersValue: 10;
|
|
247
|
-
$radiuses: (5, 10, 15, 25);
|
|
248
|
-
$breakpoints: (
|
|
249
|
-
null: 0,
|
|
250
|
-
sm: 576px,
|
|
251
|
-
md: 768px,
|
|
252
|
-
lg: 992px,
|
|
253
|
-
xl: 1200px,
|
|
254
|
-
xxl: 1400px,
|
|
255
|
-
);
|
|
256
|
-
$wrappers: (
|
|
257
|
-
null: undefined 1.5rem,
|
|
258
|
-
sm: undefined 2rem,
|
|
259
|
-
md: undefined 3rem,
|
|
260
|
-
lg: undefined 3rem,
|
|
261
|
-
xl: undefined 2rem,
|
|
262
|
-
xxl: undefined 2rem,
|
|
263
|
-
);
|
|
264
|
-
$guttersValues: (
|
|
265
|
-
1: 0.25rem,
|
|
266
|
-
2: 0.5rem,
|
|
267
|
-
3: 0.75rem,
|
|
268
|
-
4: 1rem,
|
|
269
|
-
5: 1.5rem,
|
|
270
|
-
6: 2rem,
|
|
271
|
-
auto: auto,
|
|
272
|
-
);
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
// --- Roles ---
|
|
276
|
-
$useMediaQueries: false;
|
|
277
|
-
$useIcons: true;
|
|
278
|
-
$useFontFamilies: true;
|
|
279
|
-
$useFontSizes: true;
|
|
280
|
-
$useFontShapes: true;
|
|
281
|
-
$useTextAligns: true;
|
|
282
|
-
$useTextTruncate: true;
|
|
283
|
-
$useColors: true;
|
|
284
|
-
$useColorsOpacities: true;
|
|
285
|
-
$useColorsLightMode: true;
|
|
286
|
-
$useColorsDarkMode: true;
|
|
287
|
-
$useCurrentColors: true;
|
|
288
|
-
$useRootColors: true;
|
|
289
|
-
$useGrid: true;
|
|
290
|
-
$useFlex: true;
|
|
291
|
-
$useTransitions: true;
|
|
292
|
-
$useWrappers: true;
|
|
293
|
-
$useShadows: true;
|
|
294
|
-
$useDisplays: true;
|
|
295
|
-
$useOverflows: true;
|
|
296
|
-
$useOpacities: true;
|
|
297
|
-
$useBlur: true;
|
|
298
|
-
$useObjectFits: true;
|
|
299
|
-
$usePositions: true;
|
|
300
|
-
$useInsets: true;
|
|
301
|
-
$useSizes: true;
|
|
302
|
-
$useGutters: true;
|
|
303
|
-
$useBorders: true;
|
|
304
|
-
$useTextBorders: true;
|
|
305
|
-
$useRadius: true;
|
|
1
|
+
/* stylelint-disable no-empty-source */
|