@krudi/styles 0.1.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.
Files changed (73) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +74 -0
  3. package/assets/icons/arrow-up-right-from-square-solid-full.svg +1 -0
  4. package/assets/icons/download-solid-full.svg +1 -0
  5. package/assets/icons/envelope-regular-full.svg +1 -0
  6. package/assets/icons/square-phone-solid-full.svg +1 -0
  7. package/dist/index.d.ts +2 -0
  8. package/dist/index.d.ts.map +1 -0
  9. package/dist/index.js +0 -0
  10. package/dist/styles/base/_base.css +1 -0
  11. package/dist/styles/base/_focus.css +1 -0
  12. package/dist/styles/base/_reset.css +1 -0
  13. package/dist/styles/base/_typography.css +1 -0
  14. package/dist/styles/base/index.css +1 -0
  15. package/dist/styles/components/_badge.css +1 -0
  16. package/dist/styles/components/_skeleton.css +1 -0
  17. package/dist/styles/components/index.css +1 -0
  18. package/dist/styles/elements/_github-activity.css +1 -0
  19. package/dist/styles/elements/_github-projects.css +1 -0
  20. package/dist/styles/elements/_header.css +1 -0
  21. package/dist/styles/elements/_section-contact.css +1 -0
  22. package/dist/styles/elements/index.css +1 -0
  23. package/dist/styles/html/_img.css +1 -0
  24. package/dist/styles/html/_svg.css +1 -0
  25. package/dist/styles/html/index.css +1 -0
  26. package/dist/styles/layout/_container.css +1 -0
  27. package/dist/styles/layout/_gird.css +1 -0
  28. package/dist/styles/layout/index.css +1 -0
  29. package/dist/styles/styles.css +1 -0
  30. package/dist/styles/theme.css +1 -0
  31. package/dist/styles/utilities/_background-colors.css +1 -0
  32. package/dist/styles/utilities/_color.css +1 -0
  33. package/dist/styles/utilities/_font-size.css +1 -0
  34. package/dist/styles/utilities/_font-weight.css +1 -0
  35. package/dist/styles/utilities/_margin.css +1 -0
  36. package/dist/styles/utilities/_padding.css +1 -0
  37. package/dist/styles/utilities/_text-decoration.css +1 -0
  38. package/dist/styles/utilities/_text.css +1 -0
  39. package/dist/styles/utilities/index.css +1 -0
  40. package/dist/styles/variables.css +1 -0
  41. package/package.json +84 -0
  42. package/src/scripts/index.ts +3 -0
  43. package/src/styles/base/_base.css +15 -0
  44. package/src/styles/base/_focus.css +19 -0
  45. package/src/styles/base/_reset.css +50 -0
  46. package/src/styles/base/_typography.css +121 -0
  47. package/src/styles/base/index.css +5 -0
  48. package/src/styles/components/_badge.css +69 -0
  49. package/src/styles/components/_skeleton.css +6 -0
  50. package/src/styles/components/index.css +3 -0
  51. package/src/styles/elements/_github-activity.css +77 -0
  52. package/src/styles/elements/_github-projects.css +65 -0
  53. package/src/styles/elements/_header.css +31 -0
  54. package/src/styles/elements/_section-contact.css +11 -0
  55. package/src/styles/elements/index.css +5 -0
  56. package/src/styles/html/_img.css +9 -0
  57. package/src/styles/html/_svg.css +5 -0
  58. package/src/styles/html/index.css +3 -0
  59. package/src/styles/layout/_container.css +8 -0
  60. package/src/styles/layout/_gird.css +70 -0
  61. package/src/styles/layout/index.css +3 -0
  62. package/src/styles/styles.css +10 -0
  63. package/src/styles/theme.css +98 -0
  64. package/src/styles/utilities/_background-colors.css +59 -0
  65. package/src/styles/utilities/_color.css +47 -0
  66. package/src/styles/utilities/_font-size.css +19 -0
  67. package/src/styles/utilities/_font-weight.css +35 -0
  68. package/src/styles/utilities/_margin.css +235 -0
  69. package/src/styles/utilities/_padding.css +230 -0
  70. package/src/styles/utilities/_text-decoration.css +35 -0
  71. package/src/styles/utilities/_text.css +55 -0
  72. package/src/styles/utilities/index.css +9 -0
  73. package/src/styles/variables.css +93 -0
@@ -0,0 +1,47 @@
1
+ .text-white {
2
+ color: var(--c-white);
3
+ }
4
+
5
+ .text-white-100 {
6
+ color: var(--c-white-100);
7
+ }
8
+
9
+ .text-white-200 {
10
+ color: var(--c-white-200);
11
+ }
12
+
13
+ .text-black {
14
+ color: var(--c-black);
15
+ }
16
+
17
+ .text-gray {
18
+ color: var(--c-gray);
19
+ }
20
+
21
+ .text-beige {
22
+ color: var(--c-beige);
23
+ }
24
+
25
+ .text-primary {
26
+ color: var(--c-primary);
27
+ }
28
+
29
+ .text-secondary {
30
+ color: var(--c-secondary);
31
+ }
32
+
33
+ .text-success {
34
+ color: var(--c-success);
35
+ }
36
+
37
+ .text-info {
38
+ color: var(--c-info);
39
+ }
40
+
41
+ .text-warning {
42
+ color: var(--c-warning);
43
+ }
44
+
45
+ .text-danger {
46
+ color: var(--c-danger);
47
+ }
@@ -0,0 +1,19 @@
1
+ .text-xs {
2
+ font-size: var(--fs-xs);
3
+ }
4
+
5
+ .text-sm {
6
+ font-size: var(--fs-sm);
7
+ }
8
+
9
+ .text-md {
10
+ font-size: var(--fs-md);
11
+ }
12
+
13
+ .text-lg {
14
+ font-size: var(--fs-lg);
15
+ }
16
+
17
+ .text-xl {
18
+ font-size: var(--fs-xl);
19
+ }
@@ -0,0 +1,35 @@
1
+ .fw-100 {
2
+ font-weight: 100;
3
+ }
4
+
5
+ .fw-200 {
6
+ font-weight: 200;
7
+ }
8
+
9
+ .fw-300 {
10
+ font-weight: 300;
11
+ }
12
+
13
+ .fw-400 {
14
+ font-weight: 400;
15
+ }
16
+
17
+ .fw-500 {
18
+ font-weight: 500;
19
+ }
20
+
21
+ .fw-600 {
22
+ font-weight: 600;
23
+ }
24
+
25
+ .fw-700 {
26
+ font-weight: 700;
27
+ }
28
+
29
+ .fw-800 {
30
+ font-weight: 800;
31
+ }
32
+
33
+ .fw-900 {
34
+ font-weight: 900;
35
+ }
@@ -0,0 +1,235 @@
1
+ /* Margin Positions */
2
+ .mx-auto {
3
+ margin: 0 auto;
4
+ }
5
+
6
+ /* Margin */
7
+ .m-0 {
8
+ margin: 0;
9
+ }
10
+
11
+ .m-n1 {
12
+ margin: var(--spacer-n1);
13
+ }
14
+
15
+ .m-n2 {
16
+ margin: var(--spacer-n2);
17
+ }
18
+
19
+ .m-1 {
20
+ margin: var(--spacer-1);
21
+ }
22
+
23
+ .m-2 {
24
+ margin: var(--spacer-2);
25
+ }
26
+
27
+ .m-3 {
28
+ margin: var(--spacer-3);
29
+ }
30
+
31
+ .m-4 {
32
+ margin: var(--spacer-4);
33
+ }
34
+
35
+ .m-default {
36
+ margin: var(--spacer);
37
+ }
38
+
39
+ /* Margin Top */
40
+ .mt-0 {
41
+ margin-block-start: 0;
42
+ }
43
+
44
+ .mt-n1 {
45
+ margin-block-start: var(--spacer-n1);
46
+ }
47
+
48
+ .mt-n2 {
49
+ margin-block-start: var(--spacer-n2);
50
+ }
51
+
52
+ .mt-1 {
53
+ margin-block-start: var(--spacer-1);
54
+ }
55
+
56
+ .mt-2 {
57
+ margin-block-start: var(--spacer-2);
58
+ }
59
+
60
+ .mt-3 {
61
+ margin-block-start: var(--spacer-3);
62
+ }
63
+
64
+ .mt-4 {
65
+ margin-block-start: var(--spacer-4);
66
+ }
67
+
68
+ .mt-default {
69
+ margin-block-start: var(--spacer);
70
+ }
71
+
72
+ /* Margin Bottom */
73
+ .mb-0 {
74
+ margin-block-end: 0;
75
+ }
76
+
77
+ .mb-n1 {
78
+ margin-block-end: var(--spacer-n1);
79
+ }
80
+
81
+ .mb-n2 {
82
+ margin-block-end: var(--spacer-n2);
83
+ }
84
+
85
+ .mb-1 {
86
+ margin-block-end: var(--spacer-1);
87
+ }
88
+
89
+ .mb-2 {
90
+ margin-block-end: var(--spacer-2);
91
+ }
92
+
93
+ .mb-3 {
94
+ margin-block-end: var(--spacer-3);
95
+ }
96
+
97
+ .mb-4 {
98
+ margin-block-end: var(--spacer-4);
99
+ }
100
+
101
+ .mb-default {
102
+ margin-block-end: var(--spacer);
103
+ }
104
+
105
+ /* Margin Left */
106
+ .ml-0 {
107
+ margin-inline-start: 0;
108
+ }
109
+
110
+ .ml-n1 {
111
+ margin-inline-start: var(--spacer-n1);
112
+ }
113
+
114
+ .ml-n2 {
115
+ margin-inline-start: var(--spacer-n2);
116
+ }
117
+
118
+ .ml-1 {
119
+ margin-inline-start: var(--spacer-1);
120
+ }
121
+
122
+ .ml-2 {
123
+ margin-inline-start: var(--spacer-2);
124
+ }
125
+
126
+ .ml-3 {
127
+ margin-inline-start: var(--spacer-3);
128
+ }
129
+
130
+ .ml-4 {
131
+ margin-inline-start: var(--spacer-4);
132
+ }
133
+
134
+ .ml-default {
135
+ margin-inline-start: var(--spacer);
136
+ }
137
+
138
+ /* Margin Right */
139
+ .mr-0 {
140
+ margin-inline-end: 0;
141
+ }
142
+
143
+ .mr-n1 {
144
+ margin-inline-end: var(--spacer-n1);
145
+ }
146
+
147
+ .mr-n2 {
148
+ margin-inline-end: var(--spacer-n2);
149
+ }
150
+
151
+ .mr-1 {
152
+ margin-inline-end: var(--spacer-1);
153
+ }
154
+
155
+ .mr-2 {
156
+ margin-inline-end: var(--spacer-2);
157
+ }
158
+
159
+ .mr-3 {
160
+ margin-inline-end: var(--spacer-3);
161
+ }
162
+
163
+ .mr-4 {
164
+ margin-inline-end: var(--spacer-4);
165
+ }
166
+
167
+ .mr-default {
168
+ margin-inline-end: var(--spacer);
169
+ }
170
+
171
+ /* Margin Inline (Horizontal) */
172
+ .mx-0 {
173
+ margin-inline: 0;
174
+ }
175
+
176
+ .mx-n1 {
177
+ margin-inline: var(--spacer-n1);
178
+ }
179
+
180
+ .mx-n2 {
181
+ margin-inline: var(--spacer-n2);
182
+ }
183
+
184
+ .mx-1 {
185
+ margin-inline: var(--spacer-1);
186
+ }
187
+
188
+ .mx-2 {
189
+ margin-inline: var(--spacer-2);
190
+ }
191
+
192
+ .mx-3 {
193
+ margin-inline: var(--spacer-3);
194
+ }
195
+
196
+ .mx-4 {
197
+ margin-inline: var(--spacer-4);
198
+ }
199
+
200
+ .mx-default {
201
+ margin-inline: var(--spacer);
202
+ }
203
+
204
+ /* Margin Block (Vertical) */
205
+ .my-0 {
206
+ margin-block: 0;
207
+ }
208
+
209
+ .my-n1 {
210
+ margin-block: var(--spacer-n1);
211
+ }
212
+
213
+ .my-n2 {
214
+ margin-block: var(--spacer-n2);
215
+ }
216
+
217
+ .my-1 {
218
+ margin-block: var(--spacer-1);
219
+ }
220
+
221
+ .my-2 {
222
+ margin-block: var(--spacer-2);
223
+ }
224
+
225
+ .my-3 {
226
+ margin-block: var(--spacer-3);
227
+ }
228
+
229
+ .my-4 {
230
+ margin-block: var(--spacer-4);
231
+ }
232
+
233
+ .my-default {
234
+ margin-block: var(--spacer);
235
+ }
@@ -0,0 +1,230 @@
1
+ /* Padding */
2
+ .p-0 {
3
+ padding: 0;
4
+ }
5
+
6
+ .p-n1 {
7
+ padding: var(--spacer-n1);
8
+ }
9
+
10
+ .p-n2 {
11
+ padding: var(--spacer-n2);
12
+ }
13
+
14
+ .p-1 {
15
+ padding: var(--spacer-1);
16
+ }
17
+
18
+ .p-2 {
19
+ padding: var(--spacer-2);
20
+ }
21
+
22
+ .p-3 {
23
+ padding: var(--spacer-3);
24
+ }
25
+
26
+ .p-4 {
27
+ padding: var(--spacer-4);
28
+ }
29
+
30
+ .p-default {
31
+ padding: var(--spacer);
32
+ }
33
+
34
+ /* Padding Top */
35
+ .pt-0 {
36
+ padding-block-start: 0;
37
+ }
38
+
39
+ .pt-n1 {
40
+ padding-block-start: var(--spacer-n1);
41
+ }
42
+
43
+ .pt-n2 {
44
+ padding-block-start: var(--spacer-n2);
45
+ }
46
+
47
+ .pt-1 {
48
+ padding-block-start: var(--spacer-1);
49
+ }
50
+
51
+ .pt-2 {
52
+ padding-block-start: var(--spacer-2);
53
+ }
54
+
55
+ .pt-3 {
56
+ padding-block-start: var(--spacer-3);
57
+ }
58
+
59
+ .pt-4 {
60
+ padding-block-start: var(--spacer-4);
61
+ }
62
+
63
+ .pt-default {
64
+ padding-block-start: var(--spacer);
65
+ }
66
+
67
+ /* Padding Bottom */
68
+ .pb-0 {
69
+ padding-block-end: 0;
70
+ }
71
+
72
+ .pb-n1 {
73
+ padding-block-end: var(--spacer-n1);
74
+ }
75
+
76
+ .pb-n2 {
77
+ padding-block-end: var(--spacer-n2);
78
+ }
79
+
80
+ .pb-1 {
81
+ padding-block-end: var(--spacer-1);
82
+ }
83
+
84
+ .pb-2 {
85
+ padding-block-end: var(--spacer-2);
86
+ }
87
+
88
+ .pb-3 {
89
+ padding-block-end: var(--spacer-3);
90
+ }
91
+
92
+ .pb-4 {
93
+ padding-block-end: var(--spacer-4);
94
+ }
95
+
96
+ .pb-default {
97
+ padding-block-end: var(--spacer);
98
+ }
99
+
100
+ /* Padding Left */
101
+ .pl-0 {
102
+ padding-inline-start: 0;
103
+ }
104
+
105
+ .pl-n1 {
106
+ padding-inline-start: var(--spacer-n1);
107
+ }
108
+
109
+ .pl-n2 {
110
+ padding-inline-start: var(--spacer-n2);
111
+ }
112
+
113
+ .pl-1 {
114
+ padding-inline-start: var(--spacer-1);
115
+ }
116
+
117
+ .pl-2 {
118
+ padding-inline-start: var(--spacer-2);
119
+ }
120
+
121
+ .pl-3 {
122
+ padding-inline-start: var(--spacer-3);
123
+ }
124
+
125
+ .pl-4 {
126
+ padding-inline-start: var(--spacer-4);
127
+ }
128
+
129
+ .pl-default {
130
+ padding-inline-start: var(--spacer);
131
+ }
132
+
133
+ /* Padding Right */
134
+ .pr-0 {
135
+ padding-inline-end: 0;
136
+ }
137
+
138
+ .pr-n1 {
139
+ padding-inline-end: var(--spacer-n1);
140
+ }
141
+
142
+ .pr-n2 {
143
+ padding-inline-end: var(--spacer-n2);
144
+ }
145
+
146
+ .pr-1 {
147
+ padding-inline-end: var(--spacer-1);
148
+ }
149
+
150
+ .pr-2 {
151
+ padding-inline-end: var(--spacer-2);
152
+ }
153
+
154
+ .pr-3 {
155
+ padding-inline-end: var(--spacer-3);
156
+ }
157
+
158
+ .pr-4 {
159
+ padding-inline-end: var(--spacer-4);
160
+ }
161
+
162
+ .pr-default {
163
+ padding-inline-end: var(--spacer);
164
+ }
165
+
166
+ /* Padding Inline (Horizontal) */
167
+ .px-0 {
168
+ padding-inline: 0;
169
+ }
170
+
171
+ .px-n1 {
172
+ padding-inline: var(--spacer-n1);
173
+ }
174
+
175
+ .px-n2 {
176
+ padding-inline: var(--spacer-n2);
177
+ }
178
+
179
+ .px-1 {
180
+ padding-inline: var(--spacer-1);
181
+ }
182
+
183
+ .px-2 {
184
+ padding-inline: var(--spacer-2);
185
+ }
186
+
187
+ .px-3 {
188
+ padding-inline: var(--spacer-3);
189
+ }
190
+
191
+ .px-4 {
192
+ padding-inline: var(--spacer-4);
193
+ }
194
+
195
+ .px-default {
196
+ padding-inline: var(--spacer);
197
+ }
198
+
199
+ /* Padding Block (Vertical) */
200
+ .py-0 {
201
+ padding-block: 0;
202
+ }
203
+
204
+ .py-n1 {
205
+ padding-block: var(--spacer-n1);
206
+ }
207
+
208
+ .py-n2 {
209
+ padding-block: var(--spacer-n2);
210
+ }
211
+
212
+ .py-1 {
213
+ padding-block: var(--spacer-1);
214
+ }
215
+
216
+ .py-2 {
217
+ padding-block: var(--spacer-2);
218
+ }
219
+
220
+ .py-3 {
221
+ padding-block: var(--spacer-3);
222
+ }
223
+
224
+ .py-4 {
225
+ padding-block: var(--spacer-4);
226
+ }
227
+
228
+ .py-default {
229
+ padding-block: var(--spacer);
230
+ }
@@ -0,0 +1,35 @@
1
+ .text-decoration-none {
2
+ text-decoration: none;
3
+ }
4
+
5
+ .text-decoration-underline {
6
+ text-decoration-line: underline;
7
+ }
8
+
9
+ .text-decoration-overline {
10
+ text-decoration-line: overline;
11
+ }
12
+
13
+ .text-decoration-line-through {
14
+ text-decoration-line: line-through;
15
+ }
16
+
17
+ .text-decoration-solid {
18
+ text-decoration-style: solid;
19
+ }
20
+
21
+ .text-decoration-dashed {
22
+ text-decoration-style: dashed;
23
+ }
24
+
25
+ .text-decoration-dotted {
26
+ text-decoration-style: dotted;
27
+ }
28
+
29
+ .text-decoration-double {
30
+ text-decoration-style: double;
31
+ }
32
+
33
+ .text-decoration-wavy {
34
+ text-decoration-style: wavy;
35
+ }
@@ -0,0 +1,55 @@
1
+ .line-clamp-1 {
2
+ display: -webkit-box;
3
+ -webkit-line-clamp: 1;
4
+ -webkit-box-orient: vertical;
5
+ overflow: hidden;
6
+ }
7
+
8
+ .line-clamp-2 {
9
+ display: -webkit-box;
10
+ -webkit-line-clamp: 2;
11
+ -webkit-box-orient: vertical;
12
+ overflow: hidden;
13
+ }
14
+
15
+ .line-clamp-3 {
16
+ display: -webkit-box;
17
+ -webkit-line-clamp: 3;
18
+ -webkit-box-orient: vertical;
19
+ overflow: hidden;
20
+ }
21
+
22
+ .line-clamp-4 {
23
+ display: -webkit-box;
24
+ -webkit-line-clamp: 4;
25
+ -webkit-box-orient: vertical;
26
+ overflow: hidden;
27
+ }
28
+
29
+ .line-clamp-5 {
30
+ display: -webkit-box;
31
+ -webkit-line-clamp: 5;
32
+ -webkit-box-orient: vertical;
33
+ overflow: hidden;
34
+ }
35
+
36
+ .line-clamp-6 {
37
+ display: -webkit-box;
38
+ -webkit-line-clamp: 6;
39
+ -webkit-box-orient: vertical;
40
+ overflow: hidden;
41
+ }
42
+
43
+ .line-clamp-7 {
44
+ display: -webkit-box;
45
+ -webkit-line-clamp: 7;
46
+ -webkit-box-orient: vertical;
47
+ overflow: hidden;
48
+ }
49
+
50
+ .line-clamp-8 {
51
+ display: -webkit-box;
52
+ -webkit-line-clamp: 8;
53
+ -webkit-box-orient: vertical;
54
+ overflow: hidden;
55
+ }
@@ -0,0 +1,9 @@
1
+ /* Utility bundle */
2
+ @import './_text.css' layer(utilities);
3
+ @import './_background-colors.css' layer(utilities);
4
+ @import './_color.css' layer(utilities);
5
+ @import './_margin.css' layer(utilities);
6
+ @import './_padding.css' layer(utilities);
7
+ @import './_font-weight.css' layer(utilities);
8
+ @import './_font-size.css' layer(utilities);
9
+ @import './_text-decoration.css' layer(utilities);