@simplybusiness/theme-core 7.1.4 → 7.1.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [2085451]
8
+ - Updated dependencies [b4eec50]
9
+ - Updated dependencies [37bf8fa]
10
+ - @simplybusiness/mobius@5.4.0
11
+
12
+ ## 7.1.5
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies [aa5f60e]
17
+ - Updated dependencies [91880ec]
18
+ - @simplybusiness/mobius@5.3.1
19
+
3
20
  ## 7.1.4
4
21
 
5
22
  ### Patch Changes
package/dist/index.css CHANGED
@@ -173,7 +173,10 @@ h6.mobius-accordion__link-text,
173
173
  :host{
174
174
  --button-variant-primary-font-variation-settings:normal;
175
175
  --button-variant-primary-color:var(--color-primary);
176
+ --button-variant-primary-content-color:var(--color-text-inverted);
176
177
  --button-variant-primary-hover-color:var(--color-primary-hover);
178
+ --button-variant-secondary-color:var(--color-secondary);
179
+ --button-variant-secondary-hover-color:var(--color-secondary-hover);
177
180
  --button-border-radius:var(--radius-1);
178
181
  }
179
182
 
@@ -220,7 +223,7 @@ h6.mobius-accordion__link-text,
220
223
  }
221
224
 
222
225
  .mobius-button:where(.--variant-primary){
223
- --button-content-color:var(--color-text-inverted);
226
+ --button-content-color:var(--button-variant-primary-content-color);
224
227
  background-color:var(--button-variant-primary-color);
225
228
  font-variation-settings:var(
226
229
  --button-variant-primary-font-variation-settings
@@ -242,15 +245,15 @@ h6.mobius-accordion__link-text,
242
245
  }
243
246
 
244
247
  .mobius-button:where(.--variant-secondary){
245
- --button-content-color:var(--color-secondary);
248
+ --button-content-color:var(--button-variant-secondary-color);
246
249
  background-color:transparent;
247
- border-color:var(--color-secondary);
250
+ border-color:var(--button-variant-secondary-color);
248
251
  }
249
252
 
250
253
  .mobius-button:where(.--variant-secondary):where(:active),.mobius-button:where(.--variant-secondary):where(:hover){
251
254
  --button-content-color:var(--color-text-inverted);
252
- background-color:var(--color-secondary-hover);
253
- border-color:var(--color-secondary-hover);
255
+ background-color:var(--button-variant-secondary-hover-color);
256
+ border-color:var(--button-variant-secondary-hover-color);
254
257
  }
255
258
 
256
259
  .mobius-button:where(.--variant-secondary):where(:focus-visible){
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simplybusiness/theme-core",
3
- "version": "7.1.4",
3
+ "version": "7.1.6",
4
4
  "main": "dist/index.css",
5
5
  "simplyBusiness": {
6
6
  "publishToPublicNpm": true
@@ -26,7 +26,7 @@
26
26
  "./fonts": "./dist/fonts.css"
27
27
  },
28
28
  "dependencies": {
29
- "@simplybusiness/mobius": "^5.3.0"
29
+ "@simplybusiness/mobius": "^5.4.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "css-loader": "^7.1.2",
@@ -36,11 +36,11 @@
36
36
  "postcss-import": "^16.1.0",
37
37
  "postcss-loader": "^8.1.1",
38
38
  "postcss-nested": "^6.2.0",
39
- "postcss-preset-env": "^10.0.5",
39
+ "postcss-preset-env": "^10.0.8",
40
40
  "postcss-url": "^10.1.3",
41
41
  "resolve-url-loader": "^5.0.0",
42
42
  "ts-loader": "^9.5.1",
43
- "typescript": "^5.6.2",
43
+ "typescript": "^5.6.3",
44
44
  "webpack": "^5.95.0",
45
45
  "webpack-cli": "^5.1.4"
46
46
  }