@stamcat/craftsman 0.0.27-alpha.2 → 0.0.27-alpha.3
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stamcat/craftsman",
|
|
3
|
-
"version": "0.0.27-alpha.
|
|
3
|
+
"version": "0.0.27-alpha.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A powerful, lightweight framework for design systems",
|
|
6
6
|
"repository": {
|
|
@@ -54,9 +54,6 @@
|
|
|
54
54
|
"types": "./src/utilities/index.d.ts",
|
|
55
55
|
"default": "./Utilities.esm.js"
|
|
56
56
|
},
|
|
57
|
-
"./styles/globalStyles": {
|
|
58
|
-
"default": "./src/styles/global/globalStyles.scss"
|
|
59
|
-
},
|
|
60
57
|
"./styles/globalStyles.scss": {
|
|
61
58
|
"default": "./src/styles/global/globalStyles.scss"
|
|
62
59
|
},
|
|
@@ -1 +1,127 @@
|
|
|
1
|
-
@use "./
|
|
1
|
+
@use "./components/typography";
|
|
2
|
+
@use "./components/code";
|
|
3
|
+
@use "./components/mixins" as mixins;
|
|
4
|
+
@use "./components/checkbox";
|
|
5
|
+
@use "./components/radioButton";
|
|
6
|
+
@use "./components/button";
|
|
7
|
+
@use "./components/input";
|
|
8
|
+
|
|
9
|
+
:root {
|
|
10
|
+
color-scheme: light dark;
|
|
11
|
+
font-synthesis: none;
|
|
12
|
+
text-rendering: optimizeLegibility;
|
|
13
|
+
-webkit-font-smoothing: antialiased;
|
|
14
|
+
-moz-osx-font-smoothing: grayscale;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
::-webkit-scrollbar {
|
|
18
|
+
width: 4px;
|
|
19
|
+
height: 4px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
::-webkit-scrollbar-track {
|
|
23
|
+
background: #ddd;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
::-webkit-scrollbar-thumb {
|
|
27
|
+
background: #000;
|
|
28
|
+
border-radius: 6px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
::-webkit-scrollbar-thumb:hover {
|
|
32
|
+
background: #555;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
body {
|
|
36
|
+
@extend %body-typography;
|
|
37
|
+
}
|
|
38
|
+
body,
|
|
39
|
+
ul {
|
|
40
|
+
margin: 0;
|
|
41
|
+
padding: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
body {
|
|
45
|
+
background-color: #fff;
|
|
46
|
+
-webkit-overflow-scrolling: touch;
|
|
47
|
+
overscroll-behavior: contain;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
fieldset {
|
|
51
|
+
padding: 0;
|
|
52
|
+
border: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
code {
|
|
56
|
+
@extend %code;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
button {
|
|
60
|
+
@extend %button-styles;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
input {
|
|
64
|
+
@extend %input-base;
|
|
65
|
+
|
|
66
|
+
&[type="radio"] {
|
|
67
|
+
@extend %radio;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
&[type="checkbox"] {
|
|
71
|
+
@extend %checkbox;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
a {
|
|
76
|
+
@extend %text-link;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
h1 {
|
|
80
|
+
font-size: calc(var(--w-text, 14px) * 3.125);
|
|
81
|
+
line-height: 1.2;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
h2 {
|
|
85
|
+
font-size: calc(var(--w-text, 14px) * 2.625);
|
|
86
|
+
font-weight: 625;
|
|
87
|
+
line-height: 1.1;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
h3 {
|
|
91
|
+
font-size: calc(var(--w-text, 14px) * 1.625);
|
|
92
|
+
line-height: 1.1;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
h4 {
|
|
96
|
+
font-size: calc(var(--w-text, 14px) * 1.25);
|
|
97
|
+
line-height: 1.1;
|
|
98
|
+
margin: calc(var(--w-gutter, 16px) * 0.5) 0;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
h5 {
|
|
102
|
+
font-size: var(--w-text, 14px);
|
|
103
|
+
line-height: 1.2;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
h6 {
|
|
107
|
+
font-size: calc(var(--w-text, 14px) * 0.875);
|
|
108
|
+
line-height: 1.2;
|
|
109
|
+
font-weight: 600;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
p {
|
|
113
|
+
font-style: normal;
|
|
114
|
+
font-size: var(--w-text, 14px);
|
|
115
|
+
line-height: 1.5;
|
|
116
|
+
margin: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
@media (max-width: 659.99999px) {
|
|
120
|
+
h4 {
|
|
121
|
+
font-size: var(--w-text, 14px);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
p {
|
|
125
|
+
font-size: calc(var(--w-text, 14px) * 0.875);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
@use "./components/typography";
|
|
2
|
-
@use "./components/code";
|
|
3
|
-
@use "./components/mixins" as mixins;
|
|
4
|
-
@use "./components/checkbox";
|
|
5
|
-
@use "./components/radioButton";
|
|
6
|
-
@use "./components/button";
|
|
7
|
-
@use "./components/input";
|
|
8
|
-
|
|
9
|
-
:global {
|
|
10
|
-
:root {
|
|
11
|
-
color-scheme: light dark;
|
|
12
|
-
font-synthesis: none;
|
|
13
|
-
text-rendering: optimizeLegibility;
|
|
14
|
-
-webkit-font-smoothing: antialiased;
|
|
15
|
-
-moz-osx-font-smoothing: grayscale;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
::-webkit-scrollbar {
|
|
19
|
-
width: 4px;
|
|
20
|
-
height: 4px;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
::-webkit-scrollbar-track {
|
|
24
|
-
background: #ddd;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
::-webkit-scrollbar-thumb {
|
|
28
|
-
background: #000;
|
|
29
|
-
border-radius: 6px;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
::-webkit-scrollbar-thumb:hover {
|
|
33
|
-
background: #555;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
body {
|
|
37
|
-
@extend %body-typography;
|
|
38
|
-
}
|
|
39
|
-
body,
|
|
40
|
-
ul {
|
|
41
|
-
margin: 0;
|
|
42
|
-
padding: 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
body {
|
|
46
|
-
background-color: #fff;
|
|
47
|
-
-webkit-overflow-scrolling: touch;
|
|
48
|
-
overscroll-behavior: contain;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
fieldset {
|
|
52
|
-
padding: 0;
|
|
53
|
-
border: 0;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
code {
|
|
57
|
-
@extend %code;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
button {
|
|
61
|
-
@extend %button-styles;
|
|
62
|
-
}
|
|
63
|
-
|
|
64
|
-
input {
|
|
65
|
-
@extend %input-base;
|
|
66
|
-
|
|
67
|
-
&[type="radio"] {
|
|
68
|
-
@extend %radio;
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
&[type="checkbox"] {
|
|
72
|
-
@extend %checkbox;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
a {
|
|
77
|
-
@extend %text-link;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
h1 {
|
|
81
|
-
font-size: calc(var(--w-text, 14px) * 3.125);
|
|
82
|
-
line-height: 1.2;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
h2 {
|
|
86
|
-
font-size: calc(var(--w-text, 14px) * 2.625);
|
|
87
|
-
font-weight: 625;
|
|
88
|
-
line-height: 1.1;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
h3 {
|
|
92
|
-
font-size: calc(var(--w-text, 14px) * 1.625);
|
|
93
|
-
line-height: 1.1;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
h4 {
|
|
97
|
-
font-size: calc(var(--w-text, 14px) * 1.25);
|
|
98
|
-
line-height: 1.1;
|
|
99
|
-
margin: calc(var(--w-gutter, 16px) * 0.5) 0;
|
|
100
|
-
}
|
|
101
|
-
|
|
102
|
-
h5 {
|
|
103
|
-
font-size: var(--w-text, 14px);
|
|
104
|
-
line-height: 1.2;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
h6 {
|
|
108
|
-
font-size: calc(var(--w-text, 14px) * 0.875);
|
|
109
|
-
line-height: 1.2;
|
|
110
|
-
font-weight: 600;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
p {
|
|
114
|
-
font-style: normal;
|
|
115
|
-
font-size: var(--w-text, 14px);
|
|
116
|
-
line-height: 1.5;
|
|
117
|
-
margin: 0;
|
|
118
|
-
}
|
|
119
|
-
|
|
120
|
-
@media (max-width: 659.99999px) {
|
|
121
|
-
h4 {
|
|
122
|
-
font-size: var(--w-text, 14px);
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
p {
|
|
126
|
-
font-size: calc(var(--w-text, 14px) * 0.875);
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|