@guebbit/css-toolkit 1.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/.stylelintignore +2 -0
- package/.stylelintrc.json +23 -0
- package/LICENSE +661 -0
- package/README.md +5 -0
- package/docs/.postcssrc.cjs +12 -0
- package/docs/.vitepress/config.ts +89 -0
- package/docs/.vitepress/theme/index.js +12 -0
- package/docs/colors/bootstrap.md +1 -0
- package/docs/colors/brands.md +1 -0
- package/docs/colors/customs.md +1 -0
- package/docs/functions/colors.md +66 -0
- package/docs/functions/helpers.md +1 -0
- package/docs/functions/strings.md +1 -0
- package/docs/index.md +1 -0
- package/docs/logo.svg +55 -0
- package/docs/logotype.svg +149 -0
- package/docs/mixins/build-aspect-ratio.md +1 -0
- package/docs/mixins/build-compatibility.md +23 -0
- package/docs/mixins/build-scrollbar.md +19 -0
- package/docs/mixins/create-colors.md +1 -0
- package/docs/mixins/create-helper-margin.md +25 -0
- package/docs/mixins/create-helper-padding.md +24 -0
- package/docs/mixins/create-instruction.md +33 -0
- package/index.scss +1 -0
- package/package.json +326 -0
- package/src/colors/_bootstrap.scss +180 -0
- package/src/colors/_brands.scss +20 -0
- package/src/colors/_customs.scss +53 -0
- package/src/colors/_index.scss +205 -0
- package/src/functions/_colors.scss +111 -0
- package/src/functions/_helpers.scss +23 -0
- package/src/functions/_strings.scss +31 -0
- package/src/index.scss +14 -0
- package/src/mixins/_build-aspect-ratio.scss +34 -0
- package/src/mixins/_build-compatibility.scss +28 -0
- package/src/mixins/_build-scrollbar.scss +32 -0
- package/src/mixins/_create-colors.scss +119 -0
- package/src/mixins/_create-helper-margin.scss +39 -0
- package/src/mixins/_create-helper-padding.scss +40 -0
- package/src/mixins/_create-instruction.scss +11 -0
- package/test/compile.test.js +19 -0
- package/test/lint.test.js +33 -0
- package/test.scss +65 -0
- package/vite.config.ts +26 -0
package/package.json
ADDED
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@guebbit/css-toolkit",
|
|
3
|
+
"type": "module",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"description": "A repository containing helpful SCSS functions, mixins, and utilities for streamlining and standardizing CSS development",
|
|
6
|
+
"main": "vite.config.js",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"test": "mocha",
|
|
9
|
+
"lint": "stylelint \"**/*.scss\" --fix",
|
|
10
|
+
"docs:dev": "vitepress dev docs --port 8080",
|
|
11
|
+
"docs:build": "vitepress build docs",
|
|
12
|
+
"docs:serve": "vitepress serve docs --port 8080",
|
|
13
|
+
"prepublish": "npm run lint && npm run test && npm run docs:build",
|
|
14
|
+
"publish:public": "npm publish --access public"
|
|
15
|
+
},
|
|
16
|
+
"devDependencies": {
|
|
17
|
+
"@types/node": "^20.11.0",
|
|
18
|
+
"@vitejs/plugin-vue": "^5.0.3",
|
|
19
|
+
"autoprefixer": "^10.4.16",
|
|
20
|
+
"breakpoint-sass": "^3.0.0",
|
|
21
|
+
"css-loader": "^6.9.0",
|
|
22
|
+
"cssnano": "^6.0.3",
|
|
23
|
+
"mocha": "^10.1.0",
|
|
24
|
+
"postcss": "^8.4.33",
|
|
25
|
+
"postcss-loader": "^7.3.4",
|
|
26
|
+
"postcss-prefix-selector": "^1.16.0",
|
|
27
|
+
"sass": "^1.69.7",
|
|
28
|
+
"style-loader": "^3.3.4",
|
|
29
|
+
"stylelint": "^16.1.0",
|
|
30
|
+
"stylelint-config-prettier-scss": "^1.0.0",
|
|
31
|
+
"stylelint-config-standard-scss": "^13.0.0",
|
|
32
|
+
"stylelint-scss": "^6.0.0",
|
|
33
|
+
"vite": "^5.0.11",
|
|
34
|
+
"vitepress": "^1.0.0-rc.36"
|
|
35
|
+
},
|
|
36
|
+
"directories": {
|
|
37
|
+
"doc": "docs",
|
|
38
|
+
"test": "test"
|
|
39
|
+
},
|
|
40
|
+
"repository": {
|
|
41
|
+
"type": "git",
|
|
42
|
+
"url": "git+https://github.com/Guebbit/css-toolkit.git"
|
|
43
|
+
},
|
|
44
|
+
"keywords": [
|
|
45
|
+
"SCSS",
|
|
46
|
+
"Library"
|
|
47
|
+
],
|
|
48
|
+
"author": "Guebbit <guerzoni.andrea91@gmail.com> (https://guebbit.com/)",
|
|
49
|
+
"license": "AGPL-3.0-or-later",
|
|
50
|
+
"bugs": {
|
|
51
|
+
"url": "https://github.com/Guebbit/css-toolkit/issues"
|
|
52
|
+
},
|
|
53
|
+
"homepage": "https://github.com/Guebbit/css-toolkit#readme",
|
|
54
|
+
"dependencies": {
|
|
55
|
+
"acorn": "^8.11.3",
|
|
56
|
+
"acorn-import-assertions": "^1.9.0",
|
|
57
|
+
"ajv": "^8.12.0",
|
|
58
|
+
"algoliasearch": "^4.22.1",
|
|
59
|
+
"ansi-colors": "^4.1.1",
|
|
60
|
+
"ansi-regex": "^6.0.1",
|
|
61
|
+
"ansi-styles": "^4.3.0",
|
|
62
|
+
"anymatch": "^3.1.3",
|
|
63
|
+
"argparse": "^2.0.1",
|
|
64
|
+
"array-union": "^2.1.0",
|
|
65
|
+
"astral-regex": "^2.0.0",
|
|
66
|
+
"balanced-match": "^1.0.2",
|
|
67
|
+
"binary-extensions": "^2.2.0",
|
|
68
|
+
"boolbase": "^1.0.0",
|
|
69
|
+
"brace-expansion": "^2.0.1",
|
|
70
|
+
"braces": "^3.0.2",
|
|
71
|
+
"browser-stdout": "^1.3.1",
|
|
72
|
+
"browserslist": "^4.23.0",
|
|
73
|
+
"buffer-from": "^1.1.2",
|
|
74
|
+
"callsites": "^3.1.0",
|
|
75
|
+
"camelcase": "^6.3.0",
|
|
76
|
+
"caniuse-api": "^3.0.0",
|
|
77
|
+
"caniuse-lite": "^1.0.30001588",
|
|
78
|
+
"chalk": "^4.1.2",
|
|
79
|
+
"chokidar": "^3.5.3",
|
|
80
|
+
"chrome-trace-event": "^1.0.3",
|
|
81
|
+
"cliui": "^7.0.4",
|
|
82
|
+
"color-convert": "^2.0.1",
|
|
83
|
+
"color-name": "^1.1.4",
|
|
84
|
+
"colord": "^2.9.3",
|
|
85
|
+
"commander": "^7.2.0",
|
|
86
|
+
"cosmiconfig": "^8.3.6",
|
|
87
|
+
"cross-spawn": "^7.0.3",
|
|
88
|
+
"css-declaration-sorter": "^7.1.1",
|
|
89
|
+
"css-functions-list": "^3.2.1",
|
|
90
|
+
"css-select": "^5.1.0",
|
|
91
|
+
"css-tree": "^2.3.1",
|
|
92
|
+
"css-what": "^6.1.0",
|
|
93
|
+
"cssesc": "^3.0.0",
|
|
94
|
+
"cssnano-preset-default": "^6.0.3",
|
|
95
|
+
"cssnano-utils": "^4.0.1",
|
|
96
|
+
"csso": "^5.0.5",
|
|
97
|
+
"csstype": "^3.1.3",
|
|
98
|
+
"debug": "^4.3.4",
|
|
99
|
+
"decamelize": "^4.0.0",
|
|
100
|
+
"diff": "^5.0.0",
|
|
101
|
+
"dir-glob": "^3.0.1",
|
|
102
|
+
"dom-serializer": "^2.0.0",
|
|
103
|
+
"domelementtype": "^2.3.0",
|
|
104
|
+
"domhandler": "^5.0.3",
|
|
105
|
+
"domutils": "^3.1.0",
|
|
106
|
+
"eastasianwidth": "^0.2.0",
|
|
107
|
+
"electron-to-chromium": "^1.4.674",
|
|
108
|
+
"emoji-regex": "^8.0.0",
|
|
109
|
+
"enhanced-resolve": "^5.15.0",
|
|
110
|
+
"entities": "^4.5.0",
|
|
111
|
+
"env-paths": "^2.2.1",
|
|
112
|
+
"error-ex": "^1.3.2",
|
|
113
|
+
"es-module-lexer": "^1.4.1",
|
|
114
|
+
"esbuild": "^0.19.12",
|
|
115
|
+
"escalade": "^3.1.2",
|
|
116
|
+
"escape-string-regexp": "^4.0.0",
|
|
117
|
+
"eslint-scope": "^5.1.1",
|
|
118
|
+
"esrecurse": "^4.3.0",
|
|
119
|
+
"estraverse": "^4.3.0",
|
|
120
|
+
"estree-walker": "^2.0.2",
|
|
121
|
+
"events": "^3.3.0",
|
|
122
|
+
"fast-deep-equal": "^3.1.3",
|
|
123
|
+
"fast-glob": "^3.3.2",
|
|
124
|
+
"fast-json-stable-stringify": "^2.1.0",
|
|
125
|
+
"fastest-levenshtein": "^1.0.16",
|
|
126
|
+
"fastq": "^1.17.1",
|
|
127
|
+
"file-entry-cache": "^8.0.0",
|
|
128
|
+
"fill-range": "^7.0.1",
|
|
129
|
+
"find-up": "^5.0.0",
|
|
130
|
+
"flat": "^5.0.2",
|
|
131
|
+
"flat-cache": "^4.0.0",
|
|
132
|
+
"flatted": "^3.2.9",
|
|
133
|
+
"focus-trap": "^7.5.4",
|
|
134
|
+
"foreground-child": "^3.1.1",
|
|
135
|
+
"fraction.js": "^4.3.7",
|
|
136
|
+
"fs.realpath": "^1.0.0",
|
|
137
|
+
"get-caller-file": "^2.0.5",
|
|
138
|
+
"glob": "^8.1.0",
|
|
139
|
+
"glob-parent": "^5.1.2",
|
|
140
|
+
"glob-to-regexp": "^0.4.1",
|
|
141
|
+
"global-modules": "^2.0.0",
|
|
142
|
+
"global-prefix": "^3.0.0",
|
|
143
|
+
"globby": "^11.1.0",
|
|
144
|
+
"globjoin": "^0.1.4",
|
|
145
|
+
"graceful-fs": "^4.2.11",
|
|
146
|
+
"has-flag": "^4.0.0",
|
|
147
|
+
"he": "^1.2.0",
|
|
148
|
+
"hookable": "^5.5.3",
|
|
149
|
+
"html-tags": "^3.3.1",
|
|
150
|
+
"icss-utils": "^5.1.0",
|
|
151
|
+
"ignore": "^5.3.1",
|
|
152
|
+
"immutable": "^4.3.5",
|
|
153
|
+
"import-fresh": "^3.3.0",
|
|
154
|
+
"imurmurhash": "^0.1.4",
|
|
155
|
+
"inflight": "^1.0.6",
|
|
156
|
+
"inherits": "^2.0.4",
|
|
157
|
+
"ini": "^1.3.8",
|
|
158
|
+
"is-arrayish": "^0.2.1",
|
|
159
|
+
"is-binary-path": "^2.1.0",
|
|
160
|
+
"is-extglob": "^2.1.1",
|
|
161
|
+
"is-fullwidth-code-point": "^3.0.0",
|
|
162
|
+
"is-glob": "^4.0.3",
|
|
163
|
+
"is-number": "^7.0.0",
|
|
164
|
+
"is-plain-obj": "^2.1.0",
|
|
165
|
+
"is-plain-object": "^5.0.0",
|
|
166
|
+
"is-unicode-supported": "^0.1.0",
|
|
167
|
+
"isexe": "^2.0.0",
|
|
168
|
+
"jackspeak": "^2.3.6",
|
|
169
|
+
"jest-worker": "^27.5.1",
|
|
170
|
+
"jiti": "^1.21.0",
|
|
171
|
+
"js-tokens": "^4.0.0",
|
|
172
|
+
"js-yaml": "^4.1.0",
|
|
173
|
+
"json-buffer": "^3.0.1",
|
|
174
|
+
"json-parse-even-better-errors": "^2.3.1",
|
|
175
|
+
"json-schema-traverse": "^1.0.0",
|
|
176
|
+
"keyv": "^4.5.4",
|
|
177
|
+
"kind-of": "^6.0.3",
|
|
178
|
+
"known-css-properties": "^0.29.0",
|
|
179
|
+
"lilconfig": "^3.1.1",
|
|
180
|
+
"lines-and-columns": "^1.2.4",
|
|
181
|
+
"loader-runner": "^4.3.0",
|
|
182
|
+
"locate-path": "^6.0.0",
|
|
183
|
+
"lodash.memoize": "^4.1.2",
|
|
184
|
+
"lodash.truncate": "^4.4.2",
|
|
185
|
+
"lodash.uniq": "^4.5.0",
|
|
186
|
+
"log-symbols": "^4.1.0",
|
|
187
|
+
"lru-cache": "^6.0.0",
|
|
188
|
+
"magic-string": "^0.30.7",
|
|
189
|
+
"mark.js": "^8.11.1",
|
|
190
|
+
"mathml-tag-names": "^2.1.3",
|
|
191
|
+
"mdn-data": "^2.0.30",
|
|
192
|
+
"meow": "^13.2.0",
|
|
193
|
+
"merge-stream": "^2.0.0",
|
|
194
|
+
"merge2": "^1.4.1",
|
|
195
|
+
"micromatch": "^4.0.5",
|
|
196
|
+
"mime-db": "^1.52.0",
|
|
197
|
+
"mime-types": "^2.1.35",
|
|
198
|
+
"minimatch": "^5.0.1",
|
|
199
|
+
"minipass": "^7.0.4",
|
|
200
|
+
"minisearch": "^6.3.0",
|
|
201
|
+
"mitt": "^3.0.1",
|
|
202
|
+
"ms": "^2.1.3",
|
|
203
|
+
"nanoid": "^3.3.7",
|
|
204
|
+
"neo-async": "^2.6.2",
|
|
205
|
+
"node-releases": "^2.0.14",
|
|
206
|
+
"normalize-path": "^3.0.0",
|
|
207
|
+
"normalize-range": "^0.1.2",
|
|
208
|
+
"nth-check": "^2.1.1",
|
|
209
|
+
"once": "^1.4.0",
|
|
210
|
+
"p-limit": "^3.1.0",
|
|
211
|
+
"p-locate": "^5.0.0",
|
|
212
|
+
"parent-module": "^1.0.1",
|
|
213
|
+
"parse-json": "^5.2.0",
|
|
214
|
+
"path-exists": "^4.0.0",
|
|
215
|
+
"path-key": "^3.1.1",
|
|
216
|
+
"path-scurry": "^1.10.1",
|
|
217
|
+
"path-type": "^4.0.0",
|
|
218
|
+
"perfect-debounce": "^1.0.0",
|
|
219
|
+
"picocolors": "^1.0.0",
|
|
220
|
+
"picomatch": "^2.3.1",
|
|
221
|
+
"postcss-calc": "^9.0.1",
|
|
222
|
+
"postcss-colormin": "^6.0.2",
|
|
223
|
+
"postcss-convert-values": "^6.0.2",
|
|
224
|
+
"postcss-discard-comments": "^6.0.1",
|
|
225
|
+
"postcss-discard-duplicates": "^6.0.1",
|
|
226
|
+
"postcss-discard-empty": "^6.0.1",
|
|
227
|
+
"postcss-discard-overridden": "^6.0.1",
|
|
228
|
+
"postcss-media-query-parser": "^0.2.3",
|
|
229
|
+
"postcss-merge-longhand": "^6.0.2",
|
|
230
|
+
"postcss-merge-rules": "^6.0.3",
|
|
231
|
+
"postcss-minify-font-values": "^6.0.1",
|
|
232
|
+
"postcss-minify-gradients": "^6.0.1",
|
|
233
|
+
"postcss-minify-params": "^6.0.2",
|
|
234
|
+
"postcss-minify-selectors": "^6.0.2",
|
|
235
|
+
"postcss-modules-extract-imports": "^3.0.0",
|
|
236
|
+
"postcss-modules-local-by-default": "^4.0.4",
|
|
237
|
+
"postcss-modules-scope": "^3.1.1",
|
|
238
|
+
"postcss-modules-values": "^4.0.0",
|
|
239
|
+
"postcss-normalize-charset": "^6.0.1",
|
|
240
|
+
"postcss-normalize-display-values": "^6.0.1",
|
|
241
|
+
"postcss-normalize-positions": "^6.0.1",
|
|
242
|
+
"postcss-normalize-repeat-style": "^6.0.1",
|
|
243
|
+
"postcss-normalize-string": "^6.0.1",
|
|
244
|
+
"postcss-normalize-timing-functions": "^6.0.1",
|
|
245
|
+
"postcss-normalize-unicode": "^6.0.2",
|
|
246
|
+
"postcss-normalize-url": "^6.0.1",
|
|
247
|
+
"postcss-normalize-whitespace": "^6.0.1",
|
|
248
|
+
"postcss-ordered-values": "^6.0.1",
|
|
249
|
+
"postcss-reduce-initial": "^6.0.2",
|
|
250
|
+
"postcss-reduce-transforms": "^6.0.1",
|
|
251
|
+
"postcss-resolve-nested-selector": "^0.1.1",
|
|
252
|
+
"postcss-safe-parser": "^7.0.0",
|
|
253
|
+
"postcss-scss": "^4.0.9",
|
|
254
|
+
"postcss-selector-parser": "^6.0.15",
|
|
255
|
+
"postcss-svgo": "^6.0.2",
|
|
256
|
+
"postcss-unique-selectors": "^6.0.2",
|
|
257
|
+
"postcss-value-parser": "^4.2.0",
|
|
258
|
+
"preact": "^10.19.5",
|
|
259
|
+
"punycode": "^2.3.1",
|
|
260
|
+
"queue-microtask": "^1.2.3",
|
|
261
|
+
"randombytes": "^2.1.0",
|
|
262
|
+
"readdirp": "^3.6.0",
|
|
263
|
+
"require-directory": "^2.1.1",
|
|
264
|
+
"require-from-string": "^2.0.2",
|
|
265
|
+
"resolve-from": "^4.0.0",
|
|
266
|
+
"reusify": "^1.0.4",
|
|
267
|
+
"rfdc": "^1.3.1",
|
|
268
|
+
"rimraf": "^5.0.5",
|
|
269
|
+
"rollup": "^4.12.0",
|
|
270
|
+
"run-parallel": "^1.2.0",
|
|
271
|
+
"safe-buffer": "^5.2.1",
|
|
272
|
+
"schema-utils": "^3.3.0",
|
|
273
|
+
"search-insights": "^2.13.0",
|
|
274
|
+
"semver": "^7.6.0",
|
|
275
|
+
"serialize-javascript": "^6.0.0",
|
|
276
|
+
"shebang-command": "^2.0.0",
|
|
277
|
+
"shebang-regex": "^3.0.0",
|
|
278
|
+
"shiki": "^1.1.5",
|
|
279
|
+
"signal-exit": "^4.1.0",
|
|
280
|
+
"slash": "^3.0.0",
|
|
281
|
+
"slice-ansi": "^4.0.0",
|
|
282
|
+
"source-map": "^0.6.1",
|
|
283
|
+
"source-map-js": "^1.0.2",
|
|
284
|
+
"source-map-support": "^0.5.21",
|
|
285
|
+
"speakingurl": "^14.0.1",
|
|
286
|
+
"string-width": "^4.2.3",
|
|
287
|
+
"string-width-cjs": "^4.2.3",
|
|
288
|
+
"strip-ansi": "^7.1.0",
|
|
289
|
+
"strip-ansi-cjs": "^6.0.1",
|
|
290
|
+
"strip-json-comments": "^3.1.1",
|
|
291
|
+
"stylehacks": "^6.0.2",
|
|
292
|
+
"stylelint-config-recommended": "^14.0.0",
|
|
293
|
+
"stylelint-config-recommended-scss": "^14.0.0",
|
|
294
|
+
"stylelint-config-standard": "^36.0.0",
|
|
295
|
+
"supports-color": "^8.1.1",
|
|
296
|
+
"supports-hyperlinks": "^3.0.0",
|
|
297
|
+
"svg-tags": "^1.0.0",
|
|
298
|
+
"svgo": "^3.2.0",
|
|
299
|
+
"tabbable": "^6.2.0",
|
|
300
|
+
"table": "^6.8.1",
|
|
301
|
+
"tapable": "^2.2.1",
|
|
302
|
+
"terser": "^5.27.2",
|
|
303
|
+
"terser-webpack-plugin": "^5.3.10",
|
|
304
|
+
"to-regex-range": "^5.0.1",
|
|
305
|
+
"undici-types": "^5.26.5",
|
|
306
|
+
"update-browserslist-db": "^1.0.13",
|
|
307
|
+
"uri-js": "^4.4.1",
|
|
308
|
+
"util-deprecate": "^1.0.2",
|
|
309
|
+
"vue": "^3.4.19",
|
|
310
|
+
"watchpack": "^2.4.0",
|
|
311
|
+
"webpack": "^5.90.3",
|
|
312
|
+
"webpack-sources": "^3.2.3",
|
|
313
|
+
"which": "^1.3.1",
|
|
314
|
+
"workerpool": "^6.2.1",
|
|
315
|
+
"wrap-ansi": "^7.0.0",
|
|
316
|
+
"wrap-ansi-cjs": "^7.0.0",
|
|
317
|
+
"wrappy": "^1.0.2",
|
|
318
|
+
"write-file-atomic": "^5.0.1",
|
|
319
|
+
"y18n": "^5.0.8",
|
|
320
|
+
"yallist": "^4.0.0",
|
|
321
|
+
"yargs": "^16.2.0",
|
|
322
|
+
"yargs-parser": "^20.2.4",
|
|
323
|
+
"yargs-unparser": "^2.0.0",
|
|
324
|
+
"yocto-queue": "^0.1.0"
|
|
325
|
+
}
|
|
326
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
@use "../functions/colors" as color-functions;
|
|
2
|
+
|
|
3
|
+
// Material colors by Bootstrap
|
|
4
|
+
// https://github.com/twbs/bootstrap
|
|
5
|
+
// https://github.com/twbs/bootstrap/blob/v5.3.2/scss/_variables.scss
|
|
6
|
+
|
|
7
|
+
// Variables should follow the `$component-state-property-size` formula for
|
|
8
|
+
// consistent naming. Ex: $nav-link-disabled-color and $modal-content-box-shadow-xs.
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
// scss-docs-start gray-color-variables
|
|
12
|
+
$white: #fff !default;
|
|
13
|
+
$gray-100: #f8f9fa !default;
|
|
14
|
+
$gray-200: #e9ecef !default;
|
|
15
|
+
$gray-300: #dee2e6 !default;
|
|
16
|
+
$gray-400: #ced4da !default;
|
|
17
|
+
$gray-500: #adb5bd !default;
|
|
18
|
+
$gray-600: #6c757d !default;
|
|
19
|
+
$gray-700: #495057 !default;
|
|
20
|
+
$gray-800: #343a40 !default;
|
|
21
|
+
$gray-900: #212529 !default;
|
|
22
|
+
$black: #000 !default;
|
|
23
|
+
// scss-docs-end gray-color-variables
|
|
24
|
+
|
|
25
|
+
// fusv-disable
|
|
26
|
+
// scss-docs-start gray-colors-map
|
|
27
|
+
$grays: (
|
|
28
|
+
"100": $gray-100,
|
|
29
|
+
"200": $gray-200,
|
|
30
|
+
"300": $gray-300,
|
|
31
|
+
"400": $gray-400,
|
|
32
|
+
"500": $gray-500,
|
|
33
|
+
"600": $gray-600,
|
|
34
|
+
"700": $gray-700,
|
|
35
|
+
"800": $gray-800,
|
|
36
|
+
"900": $gray-900
|
|
37
|
+
) !default;
|
|
38
|
+
// scss-docs-end gray-colors-map
|
|
39
|
+
// fusv-enable
|
|
40
|
+
|
|
41
|
+
// scss-docs-start color-variables
|
|
42
|
+
$blue: #0d6efd !default;
|
|
43
|
+
$indigo: #6610f2 !default;
|
|
44
|
+
$purple: #6f42c1 !default;
|
|
45
|
+
$pink: #d63384 !default;
|
|
46
|
+
$red: #dc3545 !default;
|
|
47
|
+
$orange: #fd7e14 !default;
|
|
48
|
+
$yellow: #ffc107 !default;
|
|
49
|
+
$green: #198754 !default;
|
|
50
|
+
$teal: #20c997 !default;
|
|
51
|
+
$cyan: #0dcaf0 !default;
|
|
52
|
+
// scss-docs-end color-variables
|
|
53
|
+
|
|
54
|
+
// scss-docs-start colors-map
|
|
55
|
+
$colors: (
|
|
56
|
+
"blue": $blue,
|
|
57
|
+
"indigo": $indigo,
|
|
58
|
+
"purple": $purple,
|
|
59
|
+
"pink": $pink,
|
|
60
|
+
"red": $red,
|
|
61
|
+
"orange": $orange,
|
|
62
|
+
"yellow": $yellow,
|
|
63
|
+
"green": $green,
|
|
64
|
+
"teal": $teal,
|
|
65
|
+
"cyan": $cyan,
|
|
66
|
+
"black": $black,
|
|
67
|
+
"white": $white,
|
|
68
|
+
"gray": $gray-600,
|
|
69
|
+
"gray-dark": $gray-800
|
|
70
|
+
) !default;
|
|
71
|
+
// scss-docs-end colors-map
|
|
72
|
+
|
|
73
|
+
// The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7.
|
|
74
|
+
// See https://www.w3.org/TR/WCAG20/#visual-audio-contrast-contrast
|
|
75
|
+
$min-contrast-ratio: 4.5 !default;
|
|
76
|
+
|
|
77
|
+
// Customize the light and dark text colors for use in our color contrast function.
|
|
78
|
+
$color-contrast-dark: $black !default;
|
|
79
|
+
$color-contrast-light: $white !default;
|
|
80
|
+
|
|
81
|
+
// fusv-disable
|
|
82
|
+
$blue-100: color-functions.color-tint($blue, 80%) !default;
|
|
83
|
+
$blue-200: color-functions.color-tint($blue, 60%) !default;
|
|
84
|
+
$blue-300: color-functions.color-tint($blue, 40%) !default;
|
|
85
|
+
$blue-400: color-functions.color-tint($blue, 20%) !default;
|
|
86
|
+
$blue-500: $blue !default;
|
|
87
|
+
$blue-600: color-functions.color-shade($blue, 20%) !default;
|
|
88
|
+
$blue-700: color-functions.color-shade($blue, 40%) !default;
|
|
89
|
+
$blue-800: color-functions.color-shade($blue, 60%) !default;
|
|
90
|
+
$blue-900: color-functions.color-shade($blue, 80%) !default;
|
|
91
|
+
|
|
92
|
+
$indigo-100: color-functions.color-tint($indigo, 80%) !default;
|
|
93
|
+
$indigo-200: color-functions.color-tint($indigo, 60%) !default;
|
|
94
|
+
$indigo-300: color-functions.color-tint($indigo, 40%) !default;
|
|
95
|
+
$indigo-400: color-functions.color-tint($indigo, 20%) !default;
|
|
96
|
+
$indigo-500: $indigo !default;
|
|
97
|
+
$indigo-600: color-functions.color-shade($indigo, 20%) !default;
|
|
98
|
+
$indigo-700: color-functions.color-shade($indigo, 40%) !default;
|
|
99
|
+
$indigo-800: color-functions.color-shade($indigo, 60%) !default;
|
|
100
|
+
$indigo-900: color-functions.color-shade($indigo, 80%) !default;
|
|
101
|
+
|
|
102
|
+
$purple-100: color-functions.color-tint($purple, 80%) !default;
|
|
103
|
+
$purple-200: color-functions.color-tint($purple, 60%) !default;
|
|
104
|
+
$purple-300: color-functions.color-tint($purple, 40%) !default;
|
|
105
|
+
$purple-400: color-functions.color-tint($purple, 20%) !default;
|
|
106
|
+
$purple-500: $purple !default;
|
|
107
|
+
$purple-600: color-functions.color-shade($purple, 20%) !default;
|
|
108
|
+
$purple-700: color-functions.color-shade($purple, 40%) !default;
|
|
109
|
+
$purple-800: color-functions.color-shade($purple, 60%) !default;
|
|
110
|
+
$purple-900: color-functions.color-shade($purple, 80%) !default;
|
|
111
|
+
|
|
112
|
+
$pink-100: color-functions.color-tint($pink, 80%) !default;
|
|
113
|
+
$pink-200: color-functions.color-tint($pink, 60%) !default;
|
|
114
|
+
$pink-300: color-functions.color-tint($pink, 40%) !default;
|
|
115
|
+
$pink-400: color-functions.color-tint($pink, 20%) !default;
|
|
116
|
+
$pink-500: $pink !default;
|
|
117
|
+
$pink-600: color-functions.color-shade($pink, 20%) !default;
|
|
118
|
+
$pink-700: color-functions.color-shade($pink, 40%) !default;
|
|
119
|
+
$pink-800: color-functions.color-shade($pink, 60%) !default;
|
|
120
|
+
$pink-900: color-functions.color-shade($pink, 80%) !default;
|
|
121
|
+
|
|
122
|
+
$red-100: color-functions.color-tint($red, 80%) !default;
|
|
123
|
+
$red-200: color-functions.color-tint($red, 60%) !default;
|
|
124
|
+
$red-300: color-functions.color-tint($red, 40%) !default;
|
|
125
|
+
$red-400: color-functions.color-tint($red, 20%) !default;
|
|
126
|
+
$red-500: $red !default;
|
|
127
|
+
$red-600: color-functions.color-shade($red, 20%) !default;
|
|
128
|
+
$red-700: color-functions.color-shade($red, 40%) !default;
|
|
129
|
+
$red-800: color-functions.color-shade($red, 60%) !default;
|
|
130
|
+
$red-900: color-functions.color-shade($red, 80%) !default;
|
|
131
|
+
|
|
132
|
+
$orange-100: color-functions.color-tint($orange, 80%) !default;
|
|
133
|
+
$orange-200: color-functions.color-tint($orange, 60%) !default;
|
|
134
|
+
$orange-300: color-functions.color-tint($orange, 40%) !default;
|
|
135
|
+
$orange-400: color-functions.color-tint($orange, 20%) !default;
|
|
136
|
+
$orange-500: $orange !default;
|
|
137
|
+
$orange-600: color-functions.color-shade($orange, 20%) !default;
|
|
138
|
+
$orange-700: color-functions.color-shade($orange, 40%) !default;
|
|
139
|
+
$orange-800: color-functions.color-shade($orange, 60%) !default;
|
|
140
|
+
$orange-900: color-functions.color-shade($orange, 80%) !default;
|
|
141
|
+
|
|
142
|
+
$yellow-100: color-functions.color-tint($yellow, 80%) !default;
|
|
143
|
+
$yellow-200: color-functions.color-tint($yellow, 60%) !default;
|
|
144
|
+
$yellow-300: color-functions.color-tint($yellow, 40%) !default;
|
|
145
|
+
$yellow-400: color-functions.color-tint($yellow, 20%) !default;
|
|
146
|
+
$yellow-500: $yellow !default;
|
|
147
|
+
$yellow-600: color-functions.color-shade($yellow, 20%) !default;
|
|
148
|
+
$yellow-700: color-functions.color-shade($yellow, 40%) !default;
|
|
149
|
+
$yellow-800: color-functions.color-shade($yellow, 60%) !default;
|
|
150
|
+
$yellow-900: color-functions.color-shade($yellow, 80%) !default;
|
|
151
|
+
|
|
152
|
+
$green-100: color-functions.color-tint($green, 80%) !default;
|
|
153
|
+
$green-200: color-functions.color-tint($green, 60%) !default;
|
|
154
|
+
$green-300: color-functions.color-tint($green, 40%) !default;
|
|
155
|
+
$green-400: color-functions.color-tint($green, 20%) !default;
|
|
156
|
+
$green-500: $green !default;
|
|
157
|
+
$green-600: color-functions.color-shade($green, 20%) !default;
|
|
158
|
+
$green-700: color-functions.color-shade($green, 40%) !default;
|
|
159
|
+
$green-800: color-functions.color-shade($green, 60%) !default;
|
|
160
|
+
$green-900: color-functions.color-shade($green, 80%) !default;
|
|
161
|
+
|
|
162
|
+
$teal-100: color-functions.color-tint($teal, 80%) !default;
|
|
163
|
+
$teal-200: color-functions.color-tint($teal, 60%) !default;
|
|
164
|
+
$teal-300: color-functions.color-tint($teal, 40%) !default;
|
|
165
|
+
$teal-400: color-functions.color-tint($teal, 20%) !default;
|
|
166
|
+
$teal-500: $teal !default;
|
|
167
|
+
$teal-600: color-functions.color-shade($teal, 20%) !default;
|
|
168
|
+
$teal-700: color-functions.color-shade($teal, 40%) !default;
|
|
169
|
+
$teal-800: color-functions.color-shade($teal, 60%) !default;
|
|
170
|
+
$teal-900: color-functions.color-shade($teal, 80%) !default;
|
|
171
|
+
|
|
172
|
+
$cyan-100: color-functions.color-tint($cyan, 80%) !default;
|
|
173
|
+
$cyan-200: color-functions.color-tint($cyan, 60%) !default;
|
|
174
|
+
$cyan-300: color-functions.color-tint($cyan, 40%) !default;
|
|
175
|
+
$cyan-400: color-functions.color-tint($cyan, 20%) !default;
|
|
176
|
+
$cyan-500: $cyan !default;
|
|
177
|
+
$cyan-600: color-functions.color-shade($cyan, 20%) !default;
|
|
178
|
+
$cyan-700: color-functions.color-shade($cyan, 40%) !default;
|
|
179
|
+
$cyan-800: color-functions.color-shade($cyan, 60%) !default;
|
|
180
|
+
$cyan-900: color-functions.color-shade($cyan, 80%) !default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
$brand-facebook: #3b5998;
|
|
2
|
+
$brand-youtube: #cc181e;
|
|
3
|
+
$brand-twitter: #3cf;
|
|
4
|
+
$brand-skype: #00aff0;
|
|
5
|
+
$brand-linkedin: #1565c0;
|
|
6
|
+
$brand-whatsapp: #4ac959;
|
|
7
|
+
$brand-telegram: #08c;
|
|
8
|
+
$brand-twitch: #6441a4;
|
|
9
|
+
$brand-pinterest: #e60023;
|
|
10
|
+
$brand-reddit: #ff4301;
|
|
11
|
+
$brand-tumblr: #35465c;
|
|
12
|
+
$brand-patreon: #f96854;
|
|
13
|
+
$brand-kickstarter: #05ce78;
|
|
14
|
+
$brand-instagram: #f09433;
|
|
15
|
+
$brand-tiktok: #25f4ee;
|
|
16
|
+
$brand-google: #dc4a38;
|
|
17
|
+
$brand-paypal: #003087;
|
|
18
|
+
$brand-paypal2: #f2b938;
|
|
19
|
+
$advanced-brand-instagram: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
|
|
20
|
+
$advanced-brand-tiktok: linear-gradient(90deg, #25f4ee 0%, #000 30%, #000 50%, #000 70%, #fe2c55 100%);
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@use "../functions/colors" as color-functions;
|
|
2
|
+
|
|
3
|
+
$flatrica-green: #06a763 !default;
|
|
4
|
+
$manga-red: #d41816 !default;
|
|
5
|
+
|
|
6
|
+
$flatrica-green-100: color-functions.color-tint($flatrica-green, 80%);
|
|
7
|
+
$flatrica-green-200: color-functions.color-tint($flatrica-green, 60%);
|
|
8
|
+
$flatrica-green-300: color-functions.color-tint($flatrica-green, 40%);
|
|
9
|
+
$flatrica-green-400: color-functions.color-tint($flatrica-green, 20%);
|
|
10
|
+
$flatrica-green-500: $flatrica-green;
|
|
11
|
+
$flatrica-green-600: color-functions.color-shade($flatrica-green, 20%);
|
|
12
|
+
$flatrica-green-700: color-functions.color-shade($flatrica-green, 40%);
|
|
13
|
+
$flatrica-green-800: color-functions.color-shade($flatrica-green, 60%);
|
|
14
|
+
$flatrica-green-900: color-functions.color-shade($flatrica-green, 80%);
|
|
15
|
+
|
|
16
|
+
$manga-red-100: color-functions.color-tint($manga-red, 80%);
|
|
17
|
+
$manga-red-200: color-functions.color-tint($manga-red, 60%);
|
|
18
|
+
$manga-red-300: color-functions.color-tint($manga-red, 40%);
|
|
19
|
+
$manga-red-400: color-functions.color-tint($manga-red, 20%);
|
|
20
|
+
$manga-red-500: $manga-red;
|
|
21
|
+
$manga-red-600: color-functions.color-shade($manga-red, 20%);
|
|
22
|
+
$manga-red-700: color-functions.color-shade($manga-red, 40%);
|
|
23
|
+
$manga-red-800: color-functions.color-shade($manga-red, 60%);
|
|
24
|
+
$manga-red-900: color-functions.color-shade($manga-red, 80%);
|
|
25
|
+
|
|
26
|
+
$colors-collection: (
|
|
27
|
+
"core": (
|
|
28
|
+
"flatrica-green": $flatrica-green,
|
|
29
|
+
"manga-red": $manga-red,
|
|
30
|
+
),
|
|
31
|
+
"flatrica-green": (
|
|
32
|
+
"100": $flatrica-green-100,
|
|
33
|
+
"200": $flatrica-green-200,
|
|
34
|
+
"300": $flatrica-green-300,
|
|
35
|
+
"400": $flatrica-green-400,
|
|
36
|
+
"500": $flatrica-green-500,
|
|
37
|
+
"600": $flatrica-green-600,
|
|
38
|
+
"700": $flatrica-green-700,
|
|
39
|
+
"800": $flatrica-green-800,
|
|
40
|
+
"900": $flatrica-green-900,
|
|
41
|
+
),
|
|
42
|
+
"manga-red": (
|
|
43
|
+
"100": $manga-red-100,
|
|
44
|
+
"200": $manga-red-200,
|
|
45
|
+
"300": $manga-red-300,
|
|
46
|
+
"400": $manga-red-400,
|
|
47
|
+
"500": $manga-red-500,
|
|
48
|
+
"600": $manga-red-600,
|
|
49
|
+
"700": $manga-red-700,
|
|
50
|
+
"800": $manga-red-800,
|
|
51
|
+
"900": $manga-red-900,
|
|
52
|
+
),
|
|
53
|
+
);
|