beathers 5.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/dist/css/beathers-icons.min.css +1 -0
- package/dist/css/beathers-icons.min.css.map +1 -0
- package/dist/css/beathers.min.css +4 -0
- package/dist/css/beathers.min.css.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/scripts/BuildScssVariables.d.ts +2 -0
- package/dist/scripts/BuildScssVariables.js +111 -0
- package/dist/scripts/BuildTheme.d.ts +1 -0
- package/dist/scripts/BuildTheme.js +99 -0
- package/dist/scripts/CallNewVariables.d.ts +1 -0
- package/dist/scripts/CallNewVariables.js +17 -0
- package/dist/scripts/LoadUserConfigs.d.ts +2 -0
- package/dist/scripts/LoadUserConfigs.js +42 -0
- package/dist/scripts/Merge.d.ts +2 -0
- package/dist/scripts/Merge.js +26 -0
- package/dist/scripts/ReadDefaultValues.d.ts +2 -0
- package/dist/scripts/ReadDefaultValues.js +168 -0
- package/dist/scripts/cli.d.ts +2 -0
- package/dist/scripts/cli.js +14 -0
- package/dist/scripts/types.d.ts +57 -0
- package/dist/scripts/types.js +1 -0
- package/package.json +84 -0
- package/readme.md +235 -0
- package/src/scss/_variables.scss +305 -0
- package/src/scss/beathers-icons.min.scss +265 -0
- package/src/scss/beathers.min.scss +13 -0
- package/src/scss/functions/_colors.scss +232 -0
- package/src/scss/functions/_mediaQueries.scss +128 -0
- package/src/scss/functions/_others.scss +83 -0
- package/src/scss/functions/_typographic.scss +125 -0
- package/src/scss/functions/_validations.scss +256 -0
- package/src/scss/settings/_configs.scss +366 -0
- package/src/scss/settings/_defaults.scss +251 -0
- package/src/scss/settings/_index.scss +68 -0
- package/src/scss/settings/_resets.scss +103 -0
- package/src/scss/style/_colors.scss +139 -0
- package/src/scss/style/_grid.scss +92 -0
- package/src/scss/style/_shaping.scss +372 -0
- package/src/scss/style/_typographic.scss +304 -0
package/readme.md
ADDED
|
@@ -0,0 +1,235 @@
|
|
|
1
|
+
<div align="center">
|
|
2
|
+
<a href="https://beathers.bhoenixstudio.com">
|
|
3
|
+
<img src="./public/images/logo.png" alt="Beathers logo" width="700" height="312">
|
|
4
|
+
</a>
|
|
5
|
+
<h1 align="center">Beathers <small>v5.0.0</small></h1>
|
|
6
|
+
<p align="center">The Perfect Fusion of Strength and Featherlight Agility</p>
|
|
7
|
+
<br>
|
|
8
|
+
<br>
|
|
9
|
+
<p align='center'>
|
|
10
|
+
<a href="https://beathers.bhoenixstudio.com"><strong>Explore our documents</strong></a>
|
|
11
|
+
<br>
|
|
12
|
+
<a href="https://github.com/BhoenixStudio/Beathers/issues/new?template=bug_report.md">Report bug</a>
|
|
13
|
+
·
|
|
14
|
+
<a href="https://github.com/BhoenixStudio/Beathers/issues/new?template=feature_request.md">Request feature</a>
|
|
15
|
+
</p>
|
|
16
|
+
</div>
|
|
17
|
+
|
|
18
|
+
# Beathers
|
|
19
|
+
|
|
20
|
+
[](https://www.npmjs.com/package/beathers)
|
|
21
|
+
[](https://opensource.org/licenses/MIT)
|
|
22
|
+
|
|
23
|
+
## Description
|
|
24
|
+
|
|
25
|
+
Beathers is a lightweight, powerful SCSS library designed to accelerate your web development workflow. It offers a comprehensive suite of SCSS mixins, variables, and utility classes, enabling you to build responsive, visually appealing web applications with ease. Beathers focuses on providing reusable components, a flexible responsive grid system, and intuitive typography helpers, streamlining the process of creating modern user interfaces.
|
|
26
|
+
|
|
27
|
+
## Documentation
|
|
28
|
+
|
|
29
|
+
For detailed information on how to use the Beathers Library, consult the [official documentation](https://beathers.bhoenixstudio.com).
|
|
30
|
+
The documentation provides comprehensive guides, usage examples, and detailed explanations of all available mixins, variables, and utility classes.
|
|
31
|
+
|
|
32
|
+
## Installation
|
|
33
|
+
|
|
34
|
+
Install the package using npm:
|
|
35
|
+
|
|
36
|
+
```shell
|
|
37
|
+
npm install beathers
|
|
38
|
+
# or
|
|
39
|
+
yarn add beathers
|
|
40
|
+
# or
|
|
41
|
+
pnpm add beathers
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Quick Start
|
|
45
|
+
|
|
46
|
+
1. **Install** the package: `npm install beathers`
|
|
47
|
+
2. **Create** a `beathers.configs.json` file with your theme settings
|
|
48
|
+
3. **Build** your theme: `beathers build`
|
|
49
|
+
4. **Import** the generated CSS/SCSS files in your project
|
|
50
|
+
|
|
51
|
+
### Basic Example
|
|
52
|
+
|
|
53
|
+
```json
|
|
54
|
+
// beathers.configs.json
|
|
55
|
+
{
|
|
56
|
+
"colors": {
|
|
57
|
+
"primary": { "light": "#007bff", "dark": "#0056b3" }
|
|
58
|
+
},
|
|
59
|
+
"typography": {
|
|
60
|
+
"defaultFontFamilies": ["Inter", "sans-serif"]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Imports
|
|
66
|
+
|
|
67
|
+
### CSS Import (Compiled)
|
|
68
|
+
|
|
69
|
+
```css
|
|
70
|
+
/* Import the main compiled CSS */
|
|
71
|
+
@import 'node_modules/beathers/dist/css/beathers.min.css';
|
|
72
|
+
|
|
73
|
+
/* Import icons separately */
|
|
74
|
+
@import 'node_modules/beathers/dist/css/beathers-icons.min.css';
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
### SCSS Import (Source)
|
|
78
|
+
|
|
79
|
+
```scss
|
|
80
|
+
// Import the entire library
|
|
81
|
+
@import 'node_modules/beathers/src/scss/beathers.min.scss';
|
|
82
|
+
|
|
83
|
+
// Or import individual modules
|
|
84
|
+
@import 'node_modules/beathers/src/scss/functions/colors';
|
|
85
|
+
@import 'node_modules/beathers/src/scss/style/grid';
|
|
86
|
+
@import 'node_modules/beathers/src/scss/style/typographic';
|
|
87
|
+
|
|
88
|
+
// Import using @use (with variables)
|
|
89
|
+
@use 'node_modules/beathers/src/scss/beathers.min.scss' as beathers;
|
|
90
|
+
@use 'node_modules/beathers/src/scss/functions/colors' as colors;
|
|
91
|
+
|
|
92
|
+
// Or use @use with * to import without namespace
|
|
93
|
+
@use 'node_modules/beathers/src/scss/functions/colors' as *;
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
### JavaScript/TypeScript Import
|
|
97
|
+
|
|
98
|
+
```javascript
|
|
99
|
+
// Next.js (pages/_app.js or app/layout.js)
|
|
100
|
+
import 'beathers/dist/css/beathers.min.css'
|
|
101
|
+
|
|
102
|
+
// React/Vue/Angular
|
|
103
|
+
import 'beathers/dist/css/beathers.min.css'
|
|
104
|
+
|
|
105
|
+
// Import types for TypeScript configs
|
|
106
|
+
import { Theme } from 'beathers'
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
## Configuration Options
|
|
110
|
+
|
|
111
|
+
Configure your theme using a `beathers.configs.json`, `beathers.configs.js`, or `beathers.configs.ts` file:
|
|
112
|
+
|
|
113
|
+
### Complete Configuration Reference
|
|
114
|
+
|
|
115
|
+
| Property | Type | Description | Default Value | Example |
|
|
116
|
+
| -------------------------------- | ------------------------------- | --------------------------------------------- | ----------------------------------------- | ------------------------------------------------------ |
|
|
117
|
+
| **COLORS** | | | | |
|
|
118
|
+
| `colors` | `ColorType` | Custom color palette with light/dark variants | See default colors | `{"primary": {"light": "#007bff", "dark": "#0056b3"}}` |
|
|
119
|
+
| `colors.main` | `{light: string, dark: string}` | Main background color | `{"light": "#ffffff", "dark": "#1a1d21"}` | `{"light": "#f8f9fa", "dark": "#212529"}` |
|
|
120
|
+
| `colors.second` | `{light: string, dark: string}` | Secondary background color | `{"light": "#f8f8ff", "dark": "#2e2e3f"}` | `{"light": "#e9ecef", "dark": "#495057"}` |
|
|
121
|
+
| `colors.primary` | `{light: string, dark: string}` | Primary brand color | `undefined` | `{"light": "#007bff", "dark": "#0056b3"}` |
|
|
122
|
+
| `colors.success` | `{light: string, dark: string}` | Success state color | `{"light": "#099750", "dark": "#5ff2a9"}` | `{"light": "#28a745", "dark": "#20c997"}` |
|
|
123
|
+
| `colors.info` | `{light: string, dark: string}` | Information state color | `undefined` | `{"light": "#17a2b8", "dark": "#138496"}` |
|
|
124
|
+
| `colors.warning` | `{light: string, dark: string}` | Warning state color | `undefined` | `{"light": "#ffc107", "dark": "#e0a800"}` |
|
|
125
|
+
| `colors.danger` | `{light: string, dark: string}` | Error/danger state color | `undefined` | `{"light": "#dc3545", "dark": "#c82333"}` |
|
|
126
|
+
| **TYPOGRAPHY** | | | | |
|
|
127
|
+
| `typography` | `Typography` | Font configuration and text settings | See typography defaults | `{"defaultFontFamilies": ["Inter", "sans-serif"]}` |
|
|
128
|
+
| `typography.defaultFontFamilies` | `string[]` | Default font stack | `["system-ui", "sans-serif"]` | `["Inter", "Roboto", "sans-serif"]` |
|
|
129
|
+
| `typography.fontMainPath` | `string` | Path to font files | `""` | `"/fonts/"` |
|
|
130
|
+
| `typography.fontFormat` | `"woff" \| "woff2"` | Font file format | `"woff2"` | `"woff"` |
|
|
131
|
+
| `typography.fontWeights` | `FontWeight[]` | Available font weights | `["regular", "medium", "bold"]` | `["light", "regular", "bold"]` |
|
|
132
|
+
| `typography.fontStyles` | `FontStyle[]` | Available font styles | `["normal"]` | `["normal", "italic"]` |
|
|
133
|
+
| `typography.fontSizes` | `Record<string, FontSize>` | Named font sizes | `{"base": "16px", "lg": "18px"}` | `{"sm": "14px", "base": "16px", "xl": "24px"}` |
|
|
134
|
+
| `typography.textTruncate` | `number` | Default text truncation width | `3` | `5` |
|
|
135
|
+
| `typography.fonts` | `Record<string, FontType>` | Custom font definitions | `{}` | `{"heading": {"weights": ["bold"]}}` |
|
|
136
|
+
| **SETTINGS** | | | | |
|
|
137
|
+
| `settings` | `Settings` | Layout, breakpoints and spacing settings | See settings defaults | `{"axisDivisions": 12}` |
|
|
138
|
+
| `settings.axisDivisions` | `number` | Grid system divisions | `12` | `16` |
|
|
139
|
+
| `settings.opacities` | `number[]` | Available opacity values | `[0.1, 0.25, 0.5, 0.75, 0.9]` | `[0.2, 0.4, 0.6, 0.8]` |
|
|
140
|
+
| `settings.blurValues` | `number[]` | Blur effect values | `[2, 4, 8, 16, 32]` | `[4, 8, 12]` |
|
|
141
|
+
| `settings.insetValues` | `number[]` | Inset shadow values | `[1, 2, 4, 8]` | `[2, 4, 6]` |
|
|
142
|
+
| `settings.bordersValue` | `number` | Default border width | `1` | `2` |
|
|
143
|
+
| `settings.radiuses` | `number[]` | Border radius values | `[4, 8, 12, 16, 24]` | `[6, 12, 18]` |
|
|
144
|
+
| `settings.breakpoints` | `Breakpoints` | Responsive breakpoints | See breakpoints | `{"sm": "640px", "md": "768px"}` |
|
|
145
|
+
| `settings.breakpoints.sm` | `string` | Small breakpoint | `"576px"` | `"640px"` |
|
|
146
|
+
| `settings.breakpoints.md` | `string` | Medium breakpoint | `"768px"` | `"768px"` |
|
|
147
|
+
| `settings.breakpoints.lg` | `string` | Large breakpoint | `"992px"` | `"1024px"` |
|
|
148
|
+
| `settings.breakpoints.xl` | `string` | Extra large breakpoint | `"1200px"` | `"1280px"` |
|
|
149
|
+
| `settings.breakpoints.xxl` | `string` | 2X large breakpoint | `"1400px"` | `"1536px"` |
|
|
150
|
+
| `settings.wrappers` | `Wrappers` | Container widths | See wrappers | `{"sm": {"width": "540px"}}` |
|
|
151
|
+
| `settings.guttersValues` | `GutterValues` | Spacing values | See gutters | `{"auto": "1rem", 1: "0.25rem"}` |
|
|
152
|
+
| **ROLES** | | | | |
|
|
153
|
+
| `roles` | `Roles` | Feature toggles for library modules | All features enabled | `{"useColors": true, "useIcons": false}` |
|
|
154
|
+
| `roles.useMediaQueries` | `boolean` | Enable responsive utilities | `true` | `false` |
|
|
155
|
+
| `roles.useIcons` | `boolean` | Include icon styles | `true` | `false` |
|
|
156
|
+
| `roles.useFontFamilies` | `boolean` | Include font family utilities | `true` | `false` |
|
|
157
|
+
| `roles.useFontSizes` | `boolean` | Include font size utilities | `true` | `false` |
|
|
158
|
+
| `roles.useFontShapes` | `boolean` | Include font style utilities | `true` | `false` |
|
|
159
|
+
| `roles.useTextAligns` | `boolean` | Include text alignment utilities | `true` | `false` |
|
|
160
|
+
| `roles.useTextTruncate` | `boolean` | Include text truncation utilities | `true` | `false` |
|
|
161
|
+
| `roles.useColors` | `boolean` | Include color utilities | `true` | `false` |
|
|
162
|
+
| `roles.useColorsOpacities` | `boolean` | Include color opacity utilities | `true` | `false` |
|
|
163
|
+
| `roles.useColorsLightMode` | `boolean` | Include light mode colors | `true` | `false` |
|
|
164
|
+
| `roles.useColorsDarkMode` | `boolean` | Include dark mode colors | `true` | `false` |
|
|
165
|
+
| `roles.useCurrentColors` | `boolean` | Include currentColor utilities | `true` | `false` |
|
|
166
|
+
| `roles.useRootColors` | `boolean` | Include CSS custom properties | `true` | `false` |
|
|
167
|
+
| `roles.useGrid` | `boolean` | Include grid system | `true` | `false` |
|
|
168
|
+
| `roles.useFlex` | `boolean` | Include flexbox utilities | `true` | `false` |
|
|
169
|
+
| `roles.useTransitions` | `boolean` | Include transition utilities | `true` | `false` |
|
|
170
|
+
| `roles.useWrappers` | `boolean` | Include container utilities | `true` | `false` |
|
|
171
|
+
| `roles.useShadows` | `boolean` | Include shadow utilities | `true` | `false` |
|
|
172
|
+
| `roles.useDisplays` | `boolean` | Include display utilities | `true` | `false` |
|
|
173
|
+
| `roles.useOverflows` | `boolean` | Include overflow utilities | `true` | `false` |
|
|
174
|
+
| `roles.useOpacities` | `boolean` | Include opacity utilities | `true` | `false` |
|
|
175
|
+
| `roles.useBlur` | `boolean` | Include blur utilities | `true` | `false` |
|
|
176
|
+
| `roles.useObjectFits` | `boolean` | Include object-fit utilities | `true` | `false` |
|
|
177
|
+
| `roles.usePositions` | `boolean` | Include positioning utilities | `true` | `false` |
|
|
178
|
+
| `roles.useInsets` | `boolean` | Include inset utilities | `true` | `false` |
|
|
179
|
+
| `roles.useSizes` | `boolean` | Include sizing utilities | `true` | `false` |
|
|
180
|
+
| `roles.useGutters` | `boolean` | Include spacing utilities | `true` | `false` |
|
|
181
|
+
| `roles.useBorders` | `boolean` | Include border utilities | `true` | `false` |
|
|
182
|
+
| `roles.useTextBorders` | `boolean` | Include text border utilities | `true` | `false` |
|
|
183
|
+
| `roles.useRadius` | `boolean` | Include border radius utilities | `true` | `false` |
|
|
184
|
+
|
|
185
|
+
### Example Configuration
|
|
186
|
+
|
|
187
|
+
```typescript
|
|
188
|
+
// beathers.configs.ts
|
|
189
|
+
import { Theme } from 'beathers'
|
|
190
|
+
|
|
191
|
+
export default {
|
|
192
|
+
colors: {
|
|
193
|
+
primary: { light: '#007bff', dark: '#0056b3' },
|
|
194
|
+
secondary: { light: '#6c757d', dark: '#495057' },
|
|
195
|
+
success: { light: '#28a745', dark: '#20c997' },
|
|
196
|
+
},
|
|
197
|
+
typography: {
|
|
198
|
+
defaultFontFamilies: ['Inter', 'system-ui', 'sans-serif'],
|
|
199
|
+
fontSizes: {
|
|
200
|
+
xs: '12px',
|
|
201
|
+
sm: '14px',
|
|
202
|
+
base: '16px',
|
|
203
|
+
lg: '18px',
|
|
204
|
+
xl: '20px',
|
|
205
|
+
},
|
|
206
|
+
},
|
|
207
|
+
settings: {
|
|
208
|
+
axisDivisions: 12,
|
|
209
|
+
breakpoints: {
|
|
210
|
+
sm: '640px',
|
|
211
|
+
md: '768px',
|
|
212
|
+
lg: '1024px',
|
|
213
|
+
xl: '1280px',
|
|
214
|
+
xxl: '1536px',
|
|
215
|
+
},
|
|
216
|
+
},
|
|
217
|
+
roles: {
|
|
218
|
+
useIcons: false,
|
|
219
|
+
useBlur: false,
|
|
220
|
+
},
|
|
221
|
+
} satisfies Theme
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
## License
|
|
225
|
+
|
|
226
|
+
The Beathers Library is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.
|
|
227
|
+
|
|
228
|
+
## Contact
|
|
229
|
+
|
|
230
|
+
For any inquiries or feedback regarding the Beathers Library:
|
|
231
|
+
|
|
232
|
+
- 📧 Email: contact@bhoenixstudio.com
|
|
233
|
+
- 🌐 Website: [beathers.bhoenixstudio.com](https://beathers.bhoenixstudio.com)
|
|
234
|
+
- 💬 GitHub Issues: [Report bugs or request features](https://github.com/BhoenixStudio/Beathers/issues)
|
|
235
|
+
- 📚 Documentation: [Full documentation](https://beathers.bhoenixstudio.com)
|
|
@@ -0,0 +1,305 @@
|
|
|
1
|
+
// Generated by BuildTheme.ts
|
|
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;
|