beathers 5.3.6 → 5.4.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/.prettierrc.js +8 -0
- package/CHANGELOG +176 -154
- package/css/beathers-icons.min.css.map +1 -0
- package/{dist/css → css}/beathers.min.css +2 -2
- package/css/beathers.min.css.map +1 -0
- package/data/colors.d.ts.map +1 -0
- package/data/font.d.ts.map +1 -0
- package/data/index.d.ts.map +1 -0
- package/index.d.ts.map +1 -0
- package/package.json +27 -26
- package/readme.md +263 -256
- package/scripts/cli.d.ts.map +1 -0
- package/{dist/scripts → scripts}/cli.js +0 -0
- package/scripts/commands/build.d.ts.map +1 -0
- package/{dist/scripts → scripts}/commands/build.js +16 -4
- package/scripts/commands/colors.d.ts.map +1 -0
- package/scripts/commands/fonts.d.ts.map +1 -0
- package/scripts/commands/help.d.ts.map +1 -0
- package/scripts/commands/index.d.ts.map +1 -0
- package/scripts/commands/init.d.ts.map +1 -0
- package/scripts/commands/list.d.ts.map +1 -0
- package/scripts/commands/version.d.ts.map +1 -0
- package/scripts/helpers/BuildScssVariables.d.ts.map +1 -0
- package/scripts/helpers/BuildScssVariables.js +138 -0
- package/scripts/helpers/CallNewVariables.d.ts +2 -0
- package/scripts/helpers/CallNewVariables.d.ts.map +1 -0
- package/{dist/scripts → scripts}/helpers/CallNewVariables.js +5 -3
- package/scripts/helpers/LoadUserConfigs.d.ts.map +1 -0
- package/scripts/helpers/Merge.d.ts.map +1 -0
- package/scripts/helpers/ReadDefaultValues.d.ts.map +1 -0
- package/scripts/helpers/index.d.ts.map +1 -0
- package/scripts/types.d.ts.map +1 -0
- package/{dist/scss → scss}/_variables.scss +21 -0
- package/{dist/scss → scss}/beathers-icons.min.scss +265 -265
- package/{dist/scss → scss}/beathers.min.scss +11 -11
- package/{dist/scss → scss}/functions/_colors.scss +230 -243
- package/{dist/scss → scss}/functions/_mediaQueries.scss +133 -138
- package/{dist/scss → scss}/functions/_others.scss +87 -92
- package/{dist/scss → scss}/functions/_typographic.scss +129 -134
- package/{dist/scss → scss}/functions/_validations.scss +251 -251
- package/{dist/scss → scss}/settings/_configs.scss +295 -295
- package/{dist/scss → scss}/settings/_defaults.scss +178 -178
- package/{dist/scss → scss}/settings/_index.scss +68 -68
- package/{dist/scss → scss}/style/_colors.scss +146 -155
- package/{dist/scss → scss}/style/_grid.scss +89 -90
- package/{dist/scss → scss}/style/_resets.scss +110 -119
- package/{dist/scss → scss}/style/_shaping.scss +388 -425
- package/{dist/scss → scss}/style/_typographic.scss +319 -347
- package/dist/css/beathers-icons.min.css.map +0 -1
- package/dist/css/beathers.min.css.map +0 -1
- package/dist/scripts/helpers/BuildScssVariables.js +0 -111
- package/dist/scripts/helpers/CallNewVariables.d.ts +0 -2
- /package/{dist/css → css}/beathers-icons.min.css +0 -0
- /package/{dist/data → data}/colors.d.ts +0 -0
- /package/{dist/data → data}/colors.js +0 -0
- /package/{dist/data → data}/font.d.ts +0 -0
- /package/{dist/data → data}/font.js +0 -0
- /package/{dist/data → data}/index.d.ts +0 -0
- /package/{dist/data → data}/index.js +0 -0
- /package/{dist/index.d.ts → index.d.ts} +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/scripts → scripts}/cli.d.ts +0 -0
- /package/{dist/scripts → scripts}/commands/build.d.ts +0 -0
- /package/{dist/scripts → scripts}/commands/colors.d.ts +0 -0
- /package/{dist/scripts → scripts}/commands/colors.js +0 -0
- /package/{dist/scripts → scripts}/commands/fonts.d.ts +0 -0
- /package/{dist/scripts → scripts}/commands/fonts.js +0 -0
- /package/{dist/scripts → scripts}/commands/help.d.ts +0 -0
- /package/{dist/scripts → scripts}/commands/help.js +0 -0
- /package/{dist/scripts → scripts}/commands/index.d.ts +0 -0
- /package/{dist/scripts → scripts}/commands/index.js +0 -0
- /package/{dist/scripts → scripts}/commands/init.d.ts +0 -0
- /package/{dist/scripts → scripts}/commands/init.js +0 -0
- /package/{dist/scripts → scripts}/commands/list.d.ts +0 -0
- /package/{dist/scripts → scripts}/commands/list.js +0 -0
- /package/{dist/scripts → scripts}/commands/version.d.ts +0 -0
- /package/{dist/scripts → scripts}/commands/version.js +0 -0
- /package/{dist/scripts → scripts}/helpers/BuildScssVariables.d.ts +0 -0
- /package/{dist/scripts → scripts}/helpers/LoadUserConfigs.d.ts +0 -0
- /package/{dist/scripts → scripts}/helpers/LoadUserConfigs.js +0 -0
- /package/{dist/scripts → scripts}/helpers/Merge.d.ts +0 -0
- /package/{dist/scripts → scripts}/helpers/Merge.js +0 -0
- /package/{dist/scripts → scripts}/helpers/ReadDefaultValues.d.ts +0 -0
- /package/{dist/scripts → scripts}/helpers/ReadDefaultValues.js +0 -0
- /package/{dist/scripts → scripts}/helpers/index.d.ts +0 -0
- /package/{dist/scripts → scripts}/helpers/index.js +0 -0
- /package/{dist/scripts → scripts}/types.d.ts +0 -0
- /package/{dist/scripts → scripts}/types.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../../src/scripts/commands/build.ts"],"names":[],"mappings":"AAuHA,wBAAsB,KAAK,kBAyB1B"}
|
|
@@ -10,7 +10,20 @@ const execAsync = promisify(exec);
|
|
|
10
10
|
const __filename = fileURLToPath(import.meta.url);
|
|
11
11
|
const __dirname = path.dirname(__filename);
|
|
12
12
|
const projectRoot = path.resolve(__dirname, '../..');
|
|
13
|
-
|
|
13
|
+
// Detect if running as installed package vs development
|
|
14
|
+
const isInstalledPackage = projectRoot.includes('node_modules');
|
|
15
|
+
let packageRoot;
|
|
16
|
+
let variablesPath;
|
|
17
|
+
if (isInstalledPackage) {
|
|
18
|
+
const userProjectRoot = process.cwd();
|
|
19
|
+
packageRoot = path.join(userProjectRoot, 'node_modules', 'beathers');
|
|
20
|
+
variablesPath = path.join(packageRoot, 'scss', '_variables.scss');
|
|
21
|
+
}
|
|
22
|
+
else {
|
|
23
|
+
packageRoot = path.resolve(projectRoot, '..');
|
|
24
|
+
// Write variables to src location for development builds
|
|
25
|
+
variablesPath = path.join(projectRoot, 'scss', '_variables.scss');
|
|
26
|
+
}
|
|
14
27
|
async function defaultTheme() {
|
|
15
28
|
let values = null;
|
|
16
29
|
try {
|
|
@@ -66,18 +79,17 @@ async function BuildTheme(customOutputPath) {
|
|
|
66
79
|
console.log('');
|
|
67
80
|
console.log('🔨 Compiling SCSS to CSS...');
|
|
68
81
|
const userProjectRoot = process.cwd();
|
|
69
|
-
const scssSourcePath = path.join(projectRoot, '../
|
|
82
|
+
const scssSourcePath = isInstalledPackage ? path.join(packageRoot, 'scss') : path.join(projectRoot, '../scss');
|
|
70
83
|
let outputPath;
|
|
71
84
|
if (customOutputPath) {
|
|
72
85
|
outputPath = path.join(userProjectRoot, customOutputPath);
|
|
73
86
|
console.log(`📁 Custom output directory: ${outputPath}`);
|
|
74
87
|
}
|
|
75
88
|
else {
|
|
76
|
-
outputPath = path.join(projectRoot, '../
|
|
89
|
+
outputPath = isInstalledPackage ? path.join(packageRoot, 'css') : path.join(projectRoot, '../css');
|
|
77
90
|
console.log(`📁 Default output directory: ${outputPath}`);
|
|
78
91
|
}
|
|
79
92
|
await fs.ensureDir(outputPath);
|
|
80
|
-
// Use sass directly with the correct paths
|
|
81
93
|
const buildCommand = `sass --style compressed --source-map --embed-sources --no-error-css "${scssSourcePath}":"${outputPath}"`;
|
|
82
94
|
const { stdout } = await execAsync(buildCommand);
|
|
83
95
|
console.log('✅ Theme compilation completed successfully!');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colors.d.ts","sourceRoot":"","sources":["../../src/scripts/commands/colors.ts"],"names":[],"mappings":"AAKA,wBAAsB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CA+C/C;AAED,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAkCjD;AAED,wBAAsB,eAAe,IAAI,OAAO,CAAC,IAAI,CAAC,CAuBrD;AAED,wBAAsB,WAAW,IAAI,OAAO,CAAC,IAAI,CAAC,CAuDjD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../src/scripts/commands/fonts.ts"],"names":[],"mappings":"AAMA,wBAAsB,OAAO,IAAI,OAAO,CAAC,IAAI,CAAC,CA0F7C;AAED,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CA4BhD;AAED,wBAAsB,UAAU,IAAI,OAAO,CAAC,IAAI,CAAC,CA6BhD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"help.d.ts","sourceRoot":"","sources":["../../src/scripts/commands/help.ts"],"names":[],"mappings":"AAqBA,wBAAgB,IAAI,SA0BnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scripts/commands/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAGnC,wBAAsB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC,CAUnE;AAED,wBAAsB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAUnE;AAED,wBAAsB,eAAe,CAAC,CAAC,SAAS,MAAM,EAAE,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC,EAAE,GAAG,OAAO,CAAC,CAAC,CAAC,CAoBlG;AAED,wBAAsB,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC,CAQ7D;AAED,wBAAsB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,CAAC,CAsBjE;AAED,wBAAsB,UAAU,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAW/E;AAGD,cAAc,YAAY,CAAA;AAC1B,cAAc,aAAa,CAAA;AAC3B,cAAc,YAAY,CAAA;AAC1B,cAAc,WAAW,CAAA;AACzB,cAAc,WAAW,CAAA;AACzB,cAAc,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../src/scripts/commands/init.ts"],"names":[],"mappings":"AAyEA,wBAAsB,IAAI,kBAqEzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../src/scripts/commands/list.ts"],"names":[],"mappings":"AAiCA,wBAAgB,QAAQ,CAAC,IAAI,EAAE,GAAG,wBACC,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,EAUtD;AAED,MAAM,MAAM,UAAU,GAClB,QAAQ,GACR,IAAI,GACJ,WAAW,GACX,MAAM,GACN,YAAY,GACZ,UAAU,GACV,aAAa,GACb,oBAAoB,GACpB,YAAY,GACZ,cAAc,GACd,mBAAmB,GACnB,cAAc,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/scripts/commands/version.ts"],"names":[],"mappings":"AAMA,wBAAgB,OAAO,SAWtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuildScssVariables.d.ts","sourceRoot":"","sources":["../../src/scripts/helpers/BuildScssVariables.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAiJnC,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAUvD"}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
function BuildColors(colors) {
|
|
2
|
+
let scss = '\n\n// --- Colors ---\n';
|
|
3
|
+
if (colors) {
|
|
4
|
+
scss += '$colors: (\n';
|
|
5
|
+
for (const [name, modes] of Object.entries(colors)) {
|
|
6
|
+
scss += `"${name}": (\n`;
|
|
7
|
+
for (const [mode, value] of Object.entries(modes)) {
|
|
8
|
+
scss += `"${mode}": ${value},\n`;
|
|
9
|
+
}
|
|
10
|
+
scss += `),\n`;
|
|
11
|
+
}
|
|
12
|
+
scss += ');\n';
|
|
13
|
+
}
|
|
14
|
+
else
|
|
15
|
+
scss += '$colors: ();\n';
|
|
16
|
+
return scss;
|
|
17
|
+
}
|
|
18
|
+
function BuildTypography(typography) {
|
|
19
|
+
let scss = '\n\n// --- Typography ---\n';
|
|
20
|
+
scss += '$defaultFontFamilies:';
|
|
21
|
+
scss += typography?.defaultFontFamilies?.length ? typography.defaultFontFamilies.join(', ').replace(/"/g, '') : 'null';
|
|
22
|
+
scss += ';\n';
|
|
23
|
+
scss += `$fontMainPath: ${typography?.fontMainPath ? `"${typography.fontMainPath}"` : 'null'};\n`;
|
|
24
|
+
scss += `$fontFormat: ${typography?.fontFormat ? `"${typography.fontFormat}"` : 'null'};\n`;
|
|
25
|
+
scss += '$fontWeights: (';
|
|
26
|
+
scss += typography?.fontWeights?.length ? typography.fontWeights.map((fW) => `"${fW}"`).join(', ') : '';
|
|
27
|
+
scss += ');\n';
|
|
28
|
+
scss += '$fontStyles: (';
|
|
29
|
+
scss += typography?.fontStyles?.length ? typography.fontStyles.map((fS) => `"${fS}"`).join(', ') : '';
|
|
30
|
+
scss += ');\n';
|
|
31
|
+
scss += '$fontSizes: (';
|
|
32
|
+
if (typography?.fontSizes?.length) {
|
|
33
|
+
scss += '\n';
|
|
34
|
+
for (const [name, value] of Object.entries(typography.fontSizes)) {
|
|
35
|
+
scss += `"${name}": ${value},\n`;
|
|
36
|
+
}
|
|
37
|
+
scss += '\n';
|
|
38
|
+
}
|
|
39
|
+
scss += ');\n';
|
|
40
|
+
scss += '$textTruncate: (';
|
|
41
|
+
scss += typography?.textTruncate?.length ? typography.textTruncate.join(', ') : '';
|
|
42
|
+
scss += ');\n';
|
|
43
|
+
scss += '$fonts: (';
|
|
44
|
+
if (typography?.fonts) {
|
|
45
|
+
scss += '\n';
|
|
46
|
+
for (const [name, font] of Object.entries(typography.fonts)) {
|
|
47
|
+
scss += `"${name}": (\n`;
|
|
48
|
+
if (font?.weights)
|
|
49
|
+
scss += `"weights": (${font.weights.join(', ')}),\n`;
|
|
50
|
+
if (font?.styles)
|
|
51
|
+
scss += `"styles": (${font.styles.join(', ')}),\n`;
|
|
52
|
+
if (font?.variants) {
|
|
53
|
+
scss += `"variants": (\n`;
|
|
54
|
+
for (const [lang, variant] of Object.entries(font.variants)) {
|
|
55
|
+
scss += `"${lang}": (\n`;
|
|
56
|
+
if (variant?.title)
|
|
57
|
+
scss += `"title": ${variant.title.replace(/"/g, '')},\n`;
|
|
58
|
+
if (variant?.unicode)
|
|
59
|
+
scss += `"unicode": "${variant.unicode}",\n`;
|
|
60
|
+
if (variant?.format)
|
|
61
|
+
scss += `"format": "${variant.format}",\n`;
|
|
62
|
+
if (variant?.isLocal)
|
|
63
|
+
scss += `"isLocal": ${variant.isLocal},\n`;
|
|
64
|
+
if (variant?.url)
|
|
65
|
+
scss += `"url": "${variant.url}",\n`;
|
|
66
|
+
scss += '),\n';
|
|
67
|
+
}
|
|
68
|
+
scss += '),\n';
|
|
69
|
+
}
|
|
70
|
+
scss += '),\n';
|
|
71
|
+
}
|
|
72
|
+
scss += '\n';
|
|
73
|
+
}
|
|
74
|
+
scss += ');\n';
|
|
75
|
+
return scss;
|
|
76
|
+
}
|
|
77
|
+
function BuildSettings(settings) {
|
|
78
|
+
let scss = '\n\n// --- Settings ---\n';
|
|
79
|
+
scss += `$axisDivisions: ${settings?.axisDivisions ?? 'null'};\n`;
|
|
80
|
+
scss += '$opacities: (';
|
|
81
|
+
scss += settings?.opacities?.length ? settings.opacities.join(', ') : '';
|
|
82
|
+
scss += ');\n';
|
|
83
|
+
scss += '$blurValues: (';
|
|
84
|
+
scss += settings?.blurValues?.length ? settings.blurValues.join(', ') : '';
|
|
85
|
+
scss += ');\n';
|
|
86
|
+
scss += '$insetValues: (';
|
|
87
|
+
scss += settings?.insetValues?.length ? settings.insetValues.join(', ') : '';
|
|
88
|
+
scss += ');\n';
|
|
89
|
+
scss += '$bordersValue: (';
|
|
90
|
+
scss += settings?.bordersValue?.length ? settings.bordersValue.join(', ') : '';
|
|
91
|
+
scss += ');\n';
|
|
92
|
+
scss += '$radiuses: (';
|
|
93
|
+
scss += settings?.radiuses?.length ? settings.radiuses.join(', ') : '';
|
|
94
|
+
scss += ');\n';
|
|
95
|
+
scss += '$breakpoints: (';
|
|
96
|
+
if (settings?.breakpoints) {
|
|
97
|
+
scss += '\n';
|
|
98
|
+
for (const [key, value] of Object.entries(settings.breakpoints)) {
|
|
99
|
+
scss += `${key}: ${value},\n`;
|
|
100
|
+
}
|
|
101
|
+
scss += '\n';
|
|
102
|
+
}
|
|
103
|
+
scss += ');\n';
|
|
104
|
+
scss += '$wrappers: (';
|
|
105
|
+
if (settings?.wrappers) {
|
|
106
|
+
scss += '\n';
|
|
107
|
+
for (const [key, wrapper] of Object.entries(settings.wrappers)) {
|
|
108
|
+
scss += `${key}: ${wrapper.width} ${wrapper.padding ?? ''},\n`;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
scss += ');\n';
|
|
112
|
+
scss += '$guttersValues: (';
|
|
113
|
+
if (settings?.guttersValues) {
|
|
114
|
+
scss += '\n';
|
|
115
|
+
for (const [key, value] of Object.entries(settings.guttersValues)) {
|
|
116
|
+
scss += `${key}: ${value},\n`;
|
|
117
|
+
}
|
|
118
|
+
}
|
|
119
|
+
scss += ');\n';
|
|
120
|
+
return scss;
|
|
121
|
+
}
|
|
122
|
+
function BuildRoles(roles) {
|
|
123
|
+
let scss = '\n\n// --- Roles ---\n';
|
|
124
|
+
if (roles)
|
|
125
|
+
for (const [key, condition] of Object.entries(roles)) {
|
|
126
|
+
scss += `$${key}: ${condition};\n`;
|
|
127
|
+
}
|
|
128
|
+
return scss;
|
|
129
|
+
}
|
|
130
|
+
export function BuildScssVariables(theme) {
|
|
131
|
+
const { colors, roles, settings, typography } = theme;
|
|
132
|
+
let scss = '// Generated by Beathers builder\n // Do not edit this file directly\n\n';
|
|
133
|
+
scss += BuildColors(colors);
|
|
134
|
+
scss += BuildTypography(typography);
|
|
135
|
+
scss += BuildSettings(settings);
|
|
136
|
+
scss += BuildRoles(roles);
|
|
137
|
+
return scss;
|
|
138
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CallNewVariables.d.ts","sourceRoot":"","sources":["../../src/scripts/helpers/CallNewVariables.ts"],"names":[],"mappings":"AAGA,wBAAsB,gBAAgB,CAAC,WAAW,EAAE,MAAM,EAAE,kBAAkB,GAAE,OAAe,iBAkB9F"}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import fs from 'fs-extra';
|
|
2
2
|
import * as path from 'node:path';
|
|
3
|
-
export async function CallNewVariables(projectRoot) {
|
|
4
|
-
const scssFilePath =
|
|
5
|
-
|
|
3
|
+
export async function CallNewVariables(projectRoot, isInstalledPackage = false) {
|
|
4
|
+
const scssFilePath = isInstalledPackage
|
|
5
|
+
? path.join(projectRoot, 'scss', 'beathers.min.scss')
|
|
6
|
+
: path.join(projectRoot, 'src', 'scss', 'beathers.min.scss');
|
|
7
|
+
if (!(await fs.pathExists(scssFilePath)))
|
|
6
8
|
return;
|
|
7
9
|
let scssContent = await fs.readFile(scssFilePath, 'utf8');
|
|
8
10
|
if (scssContent.includes('@use "./variables"'))
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LoadUserConfigs.d.ts","sourceRoot":"","sources":["../../src/scripts/helpers/LoadUserConfigs.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAgCnC,wBAAsB,eAAe,CAAC,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,KAAK,GAAG,IAAI,CAAC,CAYjF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Merge.d.ts","sourceRoot":"","sources":["../../src/scripts/helpers/Merge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAA;AAEnC,wBAAgB,SAAS,CAAC,QAAQ,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,OAAO,EAAE,OAAO,CAAC,KAAK,CAAC,GAAG,IAAI,GAAG,KAAK,CA2BzF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ReadDefaultValues.d.ts","sourceRoot":"","sources":["../../src/scripts/helpers/ReadDefaultValues.ts"],"names":[],"mappings":"AAGA,OAAO,EAA2C,KAAK,EAAE,MAAM,aAAa,CAAA;AAmF5E,wBAAsB,iBAAiB,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE,aAAa,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAmGzG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/scripts/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,uBAAuB,CAAA;AACrC,cAAc,sBAAsB,CAAA;AACpC,cAAc,YAAY,CAAA;AAC1B,cAAc,wBAAwB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/scripts/types.ts"],"names":[],"mappings":"AAEA,mFAAmF;AACnF,KAAK,QAAQ,GAAG,GAAG,MAAM,IAAI,GAAG,GAAG,MAAM,KAAK,GAAG,GAAG,MAAM,IAAI,GAAG,GAAG,MAAM,IAAI,GAAG,GAAG,MAAM,IAAI,GAAG,GAAG,MAAM,GAAG,CAAA;AAI7G,+EAA+E;AAC/E,KAAK,SAAS,GAAG,MAAM,CAAC,MAAM,EAAE;IAAE,KAAK,CAAC,EAAE,IAAI,MAAM,EAAE,CAAC;IAAC,IAAI,CAAC,EAAE,IAAI,MAAM,EAAE,CAAA;CAAE,CAAC,CAAA;AAG9E,sDAAsD;AACt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GACT,eAAe,GACf,cAAc,GACd,WAAW,GACX,UAAU,GACV,YAAY,GACZ,YAAY,GACZ,gBAAgB,GAChB,WAAW,CAAA;AAEf,uFAAuF;AACvF,KAAK,KAAK,GAAG,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC,CAAA;AAE/C,4EAA4E;AAC5E,UAAU,KAAK;IACb,8DAA8D;IAC9D,MAAM,CAAC,EAAE,SAAS,CAAA;IAElB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,UAAU,CAAA;IAEvB,oEAAoE;IACpE,QAAQ,CAAC,EAAE,QAAQ,CAAA;IAEnB,sEAAsE;IACtE,KAAK,CAAC,EAAE,KAAK,CAAA;CACd;AAED,YAAY,EACV,QAAQ,EACR,SAAS,EACT,UAAU,EACV,SAAS,EACT,WAAW,EACX,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,QAAQ,EACR,KAAK,EACL,KAAK,GACN,CAAA"}
|
|
@@ -3,10 +3,31 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
+
// --- Colors ---
|
|
7
|
+
$colors: ();
|
|
8
|
+
|
|
9
|
+
|
|
6
10
|
// --- Typography ---
|
|
11
|
+
$defaultFontFamilies:null;
|
|
12
|
+
$fontMainPath: null;
|
|
13
|
+
$fontFormat: null;
|
|
14
|
+
$fontWeights: ();
|
|
15
|
+
$fontStyles: ();
|
|
16
|
+
$fontSizes: ();
|
|
17
|
+
$textTruncate: ();
|
|
18
|
+
$fonts: ();
|
|
7
19
|
|
|
8
20
|
|
|
9
21
|
// --- Settings ---
|
|
22
|
+
$axisDivisions: null;
|
|
23
|
+
$opacities: ();
|
|
24
|
+
$blurValues: ();
|
|
25
|
+
$insetValues: ();
|
|
26
|
+
$bordersValue: ();
|
|
27
|
+
$radiuses: ();
|
|
28
|
+
$breakpoints: ();
|
|
29
|
+
$wrappers: ();
|
|
30
|
+
$guttersValues: ();
|
|
10
31
|
|
|
11
32
|
|
|
12
33
|
// --- Roles ---
|