@transferwise/neptune-css 14.3.18 → 14.3.19

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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@transferwise/neptune-css",
3
3
  "description": "Neptune CSS library",
4
- "version": "14.3.18",
4
+ "version": "14.3.19",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -53,5 +53,5 @@
53
53
  "bin": {
54
54
  "neptune-css-upgrade-util": "scripts/neptune-css-upgrader.js"
55
55
  },
56
- "gitHead": "38ca526db317bbf524214ca6d0e653c84d9ae9c6"
56
+ "gitHead": "b4ef2fd905ff75e5f7e192c560fcd8a3a30532dc"
57
57
  }
@@ -103,6 +103,35 @@
103
103
  var(--color-interactive-accent-active);
104
104
  #FFF
105
105
  );
106
+ .np-theme-personal & {
107
+ .button-variant(
108
+ var(--color-interactive-control);
109
+ var(--color-interactive-control);
110
+ var(--color-interactive-accent);
111
+ var(--color-interactive-accent-hover);
112
+ var(--color-interactive-accent-active);
113
+ var(--color-interactive-accent);
114
+ var(--color-interactive-accent-hover);
115
+ var(--color-interactive-accent-active);
116
+ var(--color-interactive-accent-hover);
117
+ var(--color-interactive-control);
118
+ );
119
+
120
+ &.btn-priority-2 {
121
+ .button-variant(
122
+ var(--color-interactive-primary);
123
+ var(--color-interactive-control);
124
+ transparent;
125
+ var(--color-interactive-accent-hover);
126
+ var(--color-interactive-accent-active);
127
+ var(--color-interactive-primary);
128
+ var(--color-interactive-accent-hover);
129
+ var(--color-interactive-accent-active);
130
+ transparent;
131
+ var(--color-interactive-control);
132
+ );
133
+ }
134
+ }
106
135
  }
107
136
 
108
137
  // @DEPRECATED: .btn-primary (use Button component with type Accent)