@digigov/css 2.0.0-rc.1 → 2.0.0-rc.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
package/src/components/card.css
CHANGED
|
@@ -43,7 +43,6 @@
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
|
|
47
46
|
.ds-card__heading {
|
|
48
47
|
@apply md:text-xl text-lg tracking-wide;
|
|
49
48
|
@apply leading-8 !important;
|
|
@@ -55,6 +54,9 @@
|
|
|
55
54
|
.ds-card--border-dark {
|
|
56
55
|
@apply border-base-content;
|
|
57
56
|
}
|
|
57
|
+
.ds-card--full-height {
|
|
58
|
+
@apply h-full;
|
|
59
|
+
}
|
|
58
60
|
.ds-card__body {
|
|
59
61
|
@apply flex flex-col gap-3 md:gap-4 h-full;
|
|
60
62
|
}
|
package/src/components/form.css
CHANGED
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
.ds-input,
|
|
29
29
|
.ds-select,
|
|
30
30
|
.ds-textarea {
|
|
31
|
-
@apply md:text-lg text-base w-full p-2 border-2 border-base-content bg-base-100;
|
|
31
|
+
@apply md:text-lg text-base w-full p-2 border-2 border-base-content bg-base-100 rounded-none;
|
|
32
32
|
text-indent: 2px;
|
|
33
33
|
&:focus {
|
|
34
34
|
outline: 4px solid var(--color-focus);
|
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
.ds-textarea:disabled,
|
|
162
162
|
.ds-checkboxes__input:disabled::before,
|
|
163
163
|
.ds-radios__input:disabled::before {
|
|
164
|
-
@apply border-base-
|
|
164
|
+
@apply border-base-content text-base-content;
|
|
165
165
|
}
|
|
166
166
|
.ds-checkboxes__input:disabled:checked:after,
|
|
167
167
|
.ds-radios__input:disabled:checked:after {
|
|
@@ -75,6 +75,11 @@
|
|
|
75
75
|
color: var(--body-color);
|
|
76
76
|
letter-spacing: var(--body-letter-spacing);
|
|
77
77
|
}
|
|
78
|
+
.ds-body {
|
|
79
|
+
.ds-code{
|
|
80
|
+
@apply p-2 bg-base-200;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
78
83
|
.ds-body-lg {
|
|
79
84
|
font-size: var(--body-lg-font-size);
|
|
80
85
|
line-height: var(--body-lg-line-height);
|
|
@@ -332,7 +337,11 @@
|
|
|
332
337
|
}
|
|
333
338
|
|
|
334
339
|
/* overrides */
|
|
335
|
-
|
|
340
|
+
.ds-hint {
|
|
341
|
+
.ds-svg-icon {
|
|
342
|
+
fill: var(--hint-color);
|
|
343
|
+
}
|
|
344
|
+
}
|
|
336
345
|
.ds-link {
|
|
337
346
|
.ds-svg-icon {
|
|
338
347
|
fill: var(--color-link);
|
|
@@ -359,9 +368,18 @@ button.ds-link {
|
|
|
359
368
|
@apply md:w-4 md:h-4 w-3 h-3 inline-block mr-2;
|
|
360
369
|
}
|
|
361
370
|
}
|
|
362
|
-
|
|
363
371
|
.ds-code-block__container {
|
|
364
372
|
@apply p-4 bg-base-200 border border-base-300 w-full;
|
|
373
|
+
& > pre {
|
|
374
|
+
@apply bg-transparent p-0 m-0;
|
|
375
|
+
font: inherit;
|
|
376
|
+
color: inherit;
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
.ds-table__cell{
|
|
380
|
+
& > code {
|
|
381
|
+
@apply border-none;
|
|
382
|
+
}
|
|
365
383
|
}
|
|
366
384
|
.ds-code-block__content {
|
|
367
385
|
@apply text-sm sm:text-base;
|