@riebeckite/theme-minimal 0.0.20 → 0.0.21
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 +2 -2
- package/styles/theme.css +19 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riebeckite/theme-minimal",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.21",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/src/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"./styles/theme.css": "./styles/theme.css"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@riebeckite/core": "0.0.
|
|
19
|
+
"@riebeckite/core": "0.0.21"
|
|
20
20
|
},
|
|
21
21
|
"publishConfig": {
|
|
22
22
|
"access": "public"
|
package/styles/theme.css
CHANGED
|
@@ -28,6 +28,9 @@
|
|
|
28
28
|
--rb-color-border-strong: color-mix(in srgb, currentColor 28%, transparent);
|
|
29
29
|
--rb-color-danger: #b42318;
|
|
30
30
|
--rb-color-success: #047857;
|
|
31
|
+
--rb-color-info: #2563eb;
|
|
32
|
+
--rb-color-warning: #b45309;
|
|
33
|
+
--rb-color-callout-special: #7c3aed;
|
|
31
34
|
--rb-color-code-background: #f2f2f2;
|
|
32
35
|
--rb-color-overlay: rgb(0 0 0 / 0.4);
|
|
33
36
|
--rb-font-body: ui-sans-serif, system-ui, sans-serif;
|
|
@@ -56,6 +59,9 @@
|
|
|
56
59
|
--rb-color-accent: #e5e5e5;
|
|
57
60
|
--rb-color-danger: #e5484d;
|
|
58
61
|
--rb-color-success: #30a46c;
|
|
62
|
+
--rb-color-info: #70b8ff;
|
|
63
|
+
--rb-color-warning: #f5a524;
|
|
64
|
+
--rb-color-callout-special: #c4a7e7;
|
|
59
65
|
--rb-color-code-background: #262626;
|
|
60
66
|
--rb-color-overlay: rgb(0 0 0 / 0.6);
|
|
61
67
|
}
|
|
@@ -71,6 +77,9 @@
|
|
|
71
77
|
--rb-color-accent: #e5e5e5;
|
|
72
78
|
--rb-color-danger: #e5484d;
|
|
73
79
|
--rb-color-success: #30a46c;
|
|
80
|
+
--rb-color-info: #70b8ff;
|
|
81
|
+
--rb-color-warning: #f5a524;
|
|
82
|
+
--rb-color-callout-special: #c4a7e7;
|
|
74
83
|
--rb-color-code-background: #262626;
|
|
75
84
|
--rb-color-overlay: rgb(0 0 0 / 0.6);
|
|
76
85
|
}
|
|
@@ -461,10 +470,15 @@
|
|
|
461
470
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rr-callout {
|
|
462
471
|
margin: 2rem 0;
|
|
463
472
|
padding: 1rem 1.25rem;
|
|
464
|
-
border: 1px solid
|
|
465
|
-
|
|
473
|
+
border: 1px solid
|
|
474
|
+
color-mix(in srgb, var(--rr-callout-tone) 32%, var(--rb-color-border));
|
|
475
|
+
border-left: 2px solid var(--rr-callout-tone);
|
|
466
476
|
border-radius: 0;
|
|
467
|
-
background:
|
|
477
|
+
background: color-mix(
|
|
478
|
+
in srgb,
|
|
479
|
+
var(--rr-callout-tone) 4%,
|
|
480
|
+
var(--rb-color-surface)
|
|
481
|
+
);
|
|
468
482
|
box-shadow: none;
|
|
469
483
|
color: var(--rb-color-ink);
|
|
470
484
|
}
|
|
@@ -472,7 +486,7 @@
|
|
|
472
486
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
473
487
|
.rr-callout
|
|
474
488
|
.rr-callout__title {
|
|
475
|
-
color: var(--
|
|
489
|
+
color: var(--rr-callout-tone);
|
|
476
490
|
font-family: var(--rb-font-body);
|
|
477
491
|
font-size: 0.8125rem;
|
|
478
492
|
font-weight: 600;
|
|
@@ -483,7 +497,7 @@
|
|
|
483
497
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"]
|
|
484
498
|
.rr-callout
|
|
485
499
|
.rr-callout__icon {
|
|
486
|
-
color: var(--
|
|
500
|
+
color: var(--rr-callout-tone);
|
|
487
501
|
}
|
|
488
502
|
|
|
489
503
|
:is(:root, .rb-theme-root)[data-theme-name="minimal"] .rr-callout p:last-child {
|