@panomc/sdk 2.0.0-dev.66 → 2.0.0-dev.7
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/core/css/pano-tokens.css +4 -4
- package/core/scss/custom-bootstrap.scss +14 -0
- package/core/scss/themes.scss +13 -11
- package/package.json +1 -1
package/core/css/pano-tokens.css
CHANGED
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
[data-bs-theme='copper'] {
|
|
79
|
-
--pano-color-bg:
|
|
79
|
+
--pano-color-bg: rgb(7.2156862745%, 4.5098039216%, 2%);
|
|
80
80
|
--pano-color-surface: rgb(10.8235294118%, 6.7647058824%, 3%);
|
|
81
81
|
--pano-color-surface-raised: rgb(12.9882352941%, 8.1176470588%, 3.6%);
|
|
82
82
|
--pano-color-text: #dee2e6;
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
[data-bs-theme='emerald'] {
|
|
116
|
-
--pano-color-bg:
|
|
116
|
+
--pano-color-bg: rgb(0.6274509804%, 7.2549019608%, 5.0588235294%);
|
|
117
117
|
--pano-color-surface: rgb(0.9411764706%, 10.8823529412%, 7.5882352941%);
|
|
118
118
|
--pano-color-surface-raised: rgb(1.1294117647%, 13.0588235294%, 9.1058823529%);
|
|
119
119
|
--pano-color-text: #dee2e6;
|
|
@@ -150,7 +150,7 @@
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
[data-bs-theme='midnight'] {
|
|
153
|
-
--pano-color-bg:
|
|
153
|
+
--pano-color-bg: rgb(5.4509803922%, 3.6078431373%, 9.6470588235%);
|
|
154
154
|
--pano-color-surface: rgb(8.1764705882%, 5.4117647059%, 14.4705882353%);
|
|
155
155
|
--pano-color-surface-raised: rgb(9.8117647059%, 6.4941176471%, 17.3647058824%);
|
|
156
156
|
--pano-color-text: #dee2e6;
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
}
|
|
188
188
|
|
|
189
189
|
[data-bs-theme='crimson'] {
|
|
190
|
-
--pano-color-bg:
|
|
190
|
+
--pano-color-bg: rgb(9.3725490196%, 2.6666666667%, 2.6666666667%);
|
|
191
191
|
--pano-color-surface: rgb(14.0588235294%, 4%, 4%);
|
|
192
192
|
--pano-color-surface-raised: rgb(16.8705882353%, 4.8%, 4.8%);
|
|
193
193
|
--pano-color-text: #dee2e6;
|
|
@@ -108,6 +108,20 @@ $btn-active-box-shadow: 0 !default;
|
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
110
|
|
|
111
|
+
// Cards
|
|
112
|
+
|
|
113
|
+
// Header and footer sit transparent on the card, with no rule towards the body. `.card >` keeps
|
|
114
|
+
// them ahead of Bootstrap's own rules, which are imported after this file.
|
|
115
|
+
.card > .card-header {
|
|
116
|
+
border-bottom: 0;
|
|
117
|
+
background-color: transparent;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.card > .card-footer {
|
|
121
|
+
border-top: 0;
|
|
122
|
+
background-color: transparent;
|
|
123
|
+
}
|
|
124
|
+
|
|
111
125
|
// Modals
|
|
112
126
|
|
|
113
127
|
$modal-backdrop-opacity: 0.35 !default;
|
package/core/scss/themes.scss
CHANGED
|
@@ -39,17 +39,19 @@
|
|
|
39
39
|
[data-bs-theme='#{$name}'] {
|
|
40
40
|
@extend [data-bs-theme='dark'];
|
|
41
41
|
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
42
|
+
// Own names and no `!default`: Bootstrap already defines a global `$body-bg` (white), and a
|
|
43
|
+
// `!default` assignment of that name keeps it, which gave every palette a white page.
|
|
44
|
+
$theme-body-bg: shade-color($primary, 90%);
|
|
45
|
+
--bs-body-bg: #{$theme-body-bg};
|
|
46
|
+
--bs-body-bg-rgb: #{to-rgb($theme-body-bg)};
|
|
45
47
|
|
|
46
|
-
$secondary-bg: shade-color($primary, 85%)
|
|
47
|
-
--bs-secondary-bg: #{$secondary-bg};
|
|
48
|
-
--bs-secondary-bg-rgb: #{to-rgb($secondary-bg)};
|
|
48
|
+
$theme-secondary-bg: shade-color($primary, 85%);
|
|
49
|
+
--bs-secondary-bg: #{$theme-secondary-bg};
|
|
50
|
+
--bs-secondary-bg-rgb: #{to-rgb($theme-secondary-bg)};
|
|
49
51
|
|
|
50
|
-
$tertiary-bg: shade-color($primary, 82%)
|
|
51
|
-
--bs-tertiary-bg: #{$tertiary-bg};
|
|
52
|
-
--bs-tertiary-bg-rgb: #{to-rgb($tertiary-bg)};
|
|
52
|
+
$theme-tertiary-bg: shade-color($primary, 82%);
|
|
53
|
+
--bs-tertiary-bg: #{$theme-tertiary-bg};
|
|
54
|
+
--bs-tertiary-bg-rgb: #{to-rgb($theme-tertiary-bg)};
|
|
53
55
|
|
|
54
56
|
--bs-primary: #{$primary};
|
|
55
57
|
--bs-primary-rgb: #{to-rgb($primary)};
|
|
@@ -68,8 +70,8 @@
|
|
|
68
70
|
--bs-link-color-rgb: #{to-rgb($primary)};
|
|
69
71
|
|
|
70
72
|
// Hover dark tones
|
|
71
|
-
$primary-hover: shade-color($primary, 15%)
|
|
72
|
-
$secondary-hover: shade-color($secondary, 15%)
|
|
73
|
+
$primary-hover: shade-color($primary, 15%);
|
|
74
|
+
$secondary-hover: shade-color($secondary, 15%);
|
|
73
75
|
--bs-link-hover-color: #{$primary-hover};
|
|
74
76
|
--bs-link-hover-color-rgb: #{to-rgb($primary-hover)};
|
|
75
77
|
|