@aotearoan/neon 18.2.3 → 18.2.4
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 +1 -1
- package/src/sass/palette.scss +5 -0
- package/src/sass/variables.scss +16 -0
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aotearoan/neon",
|
|
3
3
|
"description": "Neon is a lightweight design library of Vue 3 components with minimal dependencies.",
|
|
4
|
-
"version": "18.2.
|
|
4
|
+
"version": "18.2.4",
|
|
5
5
|
"main": "./dist/neon.cjs.js",
|
|
6
6
|
"module": "./dist/neon.es.js",
|
|
7
7
|
"types": "./dist/src/neon.d.ts",
|
package/src/sass/palette.scss
CHANGED
|
@@ -3,10 +3,15 @@
|
|
|
3
3
|
This is why there are 2 color definitions the raw 'rgb' definition and the actual 'color' one
|
|
4
4
|
*/
|
|
5
5
|
.neon {
|
|
6
|
+
// TODO: rename to primary & secondary text
|
|
6
7
|
--neon-rgb-text-dark: 48, 48, 48;
|
|
7
8
|
--neon-rgb-text-strong-dark: 36, 36, 36;
|
|
8
9
|
--neon-rgb-text-light: 221, 221, 221;
|
|
9
10
|
--neon-rgb-text-strong-light: 248, 248, 248;
|
|
11
|
+
// tertiary text values
|
|
12
|
+
--neon-rgb-text-tertiary-dark: 114, 114, 114;
|
|
13
|
+
--neon-rgb-text-tertiary-light: 144, 144, 144;
|
|
14
|
+
|
|
10
15
|
--neon-rgb-disabled-background-dark: 55, 55, 55;
|
|
11
16
|
--neon-rgb-disabled-border-dark: 65, 65, 65;
|
|
12
17
|
--neon-rgb-disabled-text-dark: 80, 80, 80;
|
package/src/sass/variables.scss
CHANGED
|
@@ -316,6 +316,14 @@
|
|
|
316
316
|
--neon-rgb-text-strong: var(--neon-rgb-text-strong-light);
|
|
317
317
|
--neon-color-text-strong: var(--neon-color-text-strong-light);
|
|
318
318
|
|
|
319
|
+
// alias to new variables
|
|
320
|
+
--neon-rgb-text-primary: var(--neon-rgb-text-strong);
|
|
321
|
+
--neon-color-text-primary: var(--neon-color-text-strong);
|
|
322
|
+
--neon-rgb-text-secondary: var(--neon-rgb-text);
|
|
323
|
+
--neon-color-text-secondary: var(--neon-color-text);
|
|
324
|
+
--neon-rgb-text-tertiary: var(--neon-rgb-text-tertiary-light);
|
|
325
|
+
--neon-color-text-tertiary: rgb(var(--neon-rgb-text-tertiary));
|
|
326
|
+
|
|
319
327
|
--neon-rgb-inverse: var(--neon-rgb-text-strong-dark);
|
|
320
328
|
--neon-color-inverse: var(--neon-color-text-strong-dark);
|
|
321
329
|
|
|
@@ -609,6 +617,14 @@
|
|
|
609
617
|
--neon-rgb-text-strong: var(--neon-rgb-text-strong-dark);
|
|
610
618
|
--neon-color-text-strong: var(--neon-color-text-strong-dark);
|
|
611
619
|
|
|
620
|
+
// alias to new variables
|
|
621
|
+
--neon-rgb-text-primary: var(--neon-rgb-text-strong);
|
|
622
|
+
--neon-color-text-primary: var(--neon-color-text-strong);
|
|
623
|
+
--neon-rgb-text-secondary: var(--neon-rgb-text);
|
|
624
|
+
--neon-color-text-secondary: var(--neon-color-text);
|
|
625
|
+
--neon-rgb-text-tertiary: var(--neon-rgb-text-tertiary-dark);
|
|
626
|
+
--neon-color-text-tertiary: rgb(var(--neon-rgb-text-tertiary));
|
|
627
|
+
|
|
612
628
|
--neon-rgb-inverse: var(--neon-rgb-text-strong-light);
|
|
613
629
|
--neon-color-inverse: var(--neon-color-text-strong-light);
|
|
614
630
|
|