@maggioli-design-system/styles 10.0.0 → 10.0.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/dist/css/base.css +95 -0
- package/dist/css/colors-hex-brand-synbee.css +208 -0
- package/dist/css/colors-hex-brand.css +49 -0
- package/dist/css/colors-hex-label.css +346 -0
- package/dist/css/colors-hex-status.css +148 -0
- package/dist/css/colors-hex-tones.css +181 -0
- package/dist/css/colors-hex.css +868 -0
- package/dist/css/colors-rgb-brand-synbee.css +208 -0
- package/dist/css/colors-rgb-brand.css +49 -0
- package/dist/css/colors-rgb-label.css +346 -0
- package/dist/css/colors-rgb-status.css +148 -0
- package/dist/css/colors-rgb-tones.css +181 -0
- package/dist/css/colors-rgb.css +868 -0
- package/dist/css/globals.css +19 -0
- package/dist/css/reset.css +470 -0
- package/dist/css/typography.css +150 -0
- package/dist/tailwind/base.css +96 -0
- package/dist/tailwind/components.css +18 -0
- package/dist/tailwind/typography.css +153 -0
- package/package.json +1 -1
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
html {
|
|
2
|
+
scroll-behavior: smooth;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
body,
|
|
6
|
+
html {
|
|
7
|
+
@apply m-0;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
body {
|
|
11
|
+
@apply
|
|
12
|
+
antialiased
|
|
13
|
+
font-info
|
|
14
|
+
text-tone-neutral-02
|
|
15
|
+
text-info-detail;
|
|
16
|
+
|
|
17
|
+
-moz-osx-font-smoothing: grayscale;
|
|
18
|
+
-webkit-font-smoothing: antialiased;
|
|
19
|
+
-webkit-tap-highlight-color: transparent;
|
|
20
|
+
text-rendering: optimizelegibility;
|
|
21
|
+
text-size-adjust: 100%;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
::selection {
|
|
25
|
+
background-color: var(--selection-background, theme('colors.label-sky-09'));
|
|
26
|
+
color: var(--selection-color, theme('colors.label-sky-01'));
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
button,
|
|
30
|
+
optgroup,
|
|
31
|
+
select {
|
|
32
|
+
@apply
|
|
33
|
+
antialiased
|
|
34
|
+
font-medium
|
|
35
|
+
font-title
|
|
36
|
+
leading-relaxed;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
input,
|
|
40
|
+
textarea {
|
|
41
|
+
@apply appearance-none;
|
|
42
|
+
|
|
43
|
+
font-family: inherit;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
b,
|
|
47
|
+
strong {
|
|
48
|
+
@apply
|
|
49
|
+
font-semibold
|
|
50
|
+
tracking-tight;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
a {
|
|
54
|
+
@apply text-brand-maggioli-03;
|
|
55
|
+
|
|
56
|
+
font-family: inherit;
|
|
57
|
+
font-size: inherit;
|
|
58
|
+
font-weight: inherit;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
a,
|
|
62
|
+
aside,
|
|
63
|
+
body,
|
|
64
|
+
code,
|
|
65
|
+
div,
|
|
66
|
+
datalist,
|
|
67
|
+
footer,
|
|
68
|
+
form,
|
|
69
|
+
h1,
|
|
70
|
+
h2,
|
|
71
|
+
h3,
|
|
72
|
+
h4,
|
|
73
|
+
h5,
|
|
74
|
+
h6,
|
|
75
|
+
header,
|
|
76
|
+
hr,
|
|
77
|
+
html,
|
|
78
|
+
input,
|
|
79
|
+
li,
|
|
80
|
+
main,
|
|
81
|
+
section,
|
|
82
|
+
span,
|
|
83
|
+
ul,
|
|
84
|
+
textarea {
|
|
85
|
+
@apply box-border;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
h1,
|
|
89
|
+
h2,
|
|
90
|
+
h3,
|
|
91
|
+
h4,
|
|
92
|
+
h5,
|
|
93
|
+
h6,
|
|
94
|
+
p {
|
|
95
|
+
@apply m-0;
|
|
96
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@tailwind components;
|
|
2
|
+
|
|
3
|
+
@layer components {
|
|
4
|
+
.focusable {
|
|
5
|
+
@apply
|
|
6
|
+
duration-200
|
|
7
|
+
ease-out;
|
|
8
|
+
|
|
9
|
+
outline-offset: var(--outline-blur-offset, 6px);
|
|
10
|
+
outline: var(--outline-blur, 2px solid transparent);
|
|
11
|
+
transition-property: background-color, border-color, box-shadow, color, fill, outline, outline-offset, transform;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.focusable:focus-visible {
|
|
15
|
+
outline-offset: var(--outline-focus-offset, 2px);
|
|
16
|
+
outline: var(--outline-focus, 2px solid theme('colors.label-sky-05'));
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
@layer components {
|
|
2
|
+
.text-title-h1 {
|
|
3
|
+
@apply
|
|
4
|
+
antialiased
|
|
5
|
+
font-black
|
|
6
|
+
font-title
|
|
7
|
+
text-5xl
|
|
8
|
+
tracking-tight;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.text-title-h2 {
|
|
12
|
+
@apply
|
|
13
|
+
antialiased
|
|
14
|
+
font-black
|
|
15
|
+
font-title
|
|
16
|
+
text-4xl
|
|
17
|
+
tracking-tight;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.text-title-h3 {
|
|
21
|
+
@apply
|
|
22
|
+
antialiased
|
|
23
|
+
font-black
|
|
24
|
+
font-title
|
|
25
|
+
text-3xl
|
|
26
|
+
tracking-tight;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.text-title-h4 {
|
|
30
|
+
@apply
|
|
31
|
+
antialiased
|
|
32
|
+
font-bold
|
|
33
|
+
font-title
|
|
34
|
+
text-2xl
|
|
35
|
+
tracking-tight;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.text-title-h5 {
|
|
39
|
+
@apply
|
|
40
|
+
antialiased
|
|
41
|
+
font-bold
|
|
42
|
+
font-title
|
|
43
|
+
text-xl
|
|
44
|
+
tracking-tight;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.text-title-h6 {
|
|
48
|
+
@apply
|
|
49
|
+
antialiased
|
|
50
|
+
font-bold
|
|
51
|
+
font-title
|
|
52
|
+
text-base
|
|
53
|
+
tracking-tight;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.text-title-action {
|
|
57
|
+
@apply
|
|
58
|
+
antialiased
|
|
59
|
+
font-medium
|
|
60
|
+
font-title
|
|
61
|
+
leading-relaxed
|
|
62
|
+
text-sm;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
.text-info-paragraph {
|
|
66
|
+
@apply
|
|
67
|
+
antialiased
|
|
68
|
+
font-info
|
|
69
|
+
leading-8
|
|
70
|
+
text-xl;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.text-info-detail {
|
|
74
|
+
@apply
|
|
75
|
+
antialiased
|
|
76
|
+
font-info
|
|
77
|
+
text-base;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.text-info-caption {
|
|
81
|
+
@apply
|
|
82
|
+
antialiased
|
|
83
|
+
font-info
|
|
84
|
+
text-sm;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.text-info-label {
|
|
88
|
+
@apply
|
|
89
|
+
antialiased
|
|
90
|
+
font-bold
|
|
91
|
+
font-info
|
|
92
|
+
text-xs
|
|
93
|
+
uppercase;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.text-info-option {
|
|
97
|
+
@apply
|
|
98
|
+
antialiased
|
|
99
|
+
font-bold
|
|
100
|
+
font-info
|
|
101
|
+
leading-none
|
|
102
|
+
text-xxs
|
|
103
|
+
tracking-tight
|
|
104
|
+
uppercase;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.text-info-tip {
|
|
108
|
+
@apply
|
|
109
|
+
antialiased
|
|
110
|
+
font-info
|
|
111
|
+
text-xs;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.text-read-paragraph {
|
|
115
|
+
@apply
|
|
116
|
+
antialiased
|
|
117
|
+
font-light
|
|
118
|
+
font-read
|
|
119
|
+
leading-8
|
|
120
|
+
text-xl;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.text-read-detail {
|
|
124
|
+
@apply
|
|
125
|
+
antialiased
|
|
126
|
+
font-light
|
|
127
|
+
font-read
|
|
128
|
+
text-base;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.text-read-caption {
|
|
132
|
+
@apply
|
|
133
|
+
antialiased
|
|
134
|
+
font-read
|
|
135
|
+
text-sm;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.text-code-snippet {
|
|
139
|
+
@apply
|
|
140
|
+
antialiased
|
|
141
|
+
font-code
|
|
142
|
+
leading-relaxed
|
|
143
|
+
text-base;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.text-code-hack {
|
|
147
|
+
@apply
|
|
148
|
+
antialiased
|
|
149
|
+
font-code
|
|
150
|
+
leading-relaxed
|
|
151
|
+
text-sm;
|
|
152
|
+
}
|
|
153
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maggioli-design-system/styles",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.1",
|
|
4
4
|
"description": "This module contains SCSS and CSS styles used by Maggioli Design System, it also makes available a Tailwind config based on Maggioli design tokens.",
|
|
5
5
|
"main": "./tailwind.config.js",
|
|
6
6
|
"scripts": {
|