@pantheon-systems/pds-design-tokens 0.4.0-dev.2 → 0.5.0-dev.0
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/README.md +1 -3
- package/build/css/pds-design-tokens-dark-mode.css +7 -0
- package/build/css/pds-design-tokens-light-mode.css +34 -0
- package/build/css/pds-design-tokens.css +1 -8
- package/build/figma/pds-design-tokens-figma.json +4454 -3023
- package/build/json/pds-design-tokens-dark-mode.json +740 -0
- package/build/json/pds-design-tokens-light-mode.json +1518 -0
- package/build/json/pds-design-tokens.json +2 -769
- package/build/scss/_pds-design-tokens-dark-mode.scss +7 -0
- package/build/scss/_pds-design-tokens-light-mode.scss +34 -0
- package/build/scss/_pds-design-tokens.scss +1 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,6 +31,4 @@ We typically only designate tokens as public when they need to be available to o
|
|
|
31
31
|
|
|
32
32
|
## Color Modes
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
Mode-specific (light or dark) color and elevation tokens are found within theme-specific files and are to be used in conjunction with (and loaded after) the default tokens implementation files.
|
|
34
|
+
Each color or elevation token is designated as light-mode or dark-mode. All non-color tokens are considered to be global tokens.
|
|
@@ -12,7 +12,14 @@
|
|
|
12
12
|
:root {
|
|
13
13
|
--pds-color-background-default: #1d1d29;
|
|
14
14
|
--pds-color-border-default: #504e62;
|
|
15
|
+
--pds-color-brand-accent-default: #de0093;
|
|
16
|
+
--pds-color-brand-primary-default: #ffdc28;
|
|
17
|
+
--pds-color-brand-secondary-default: #3017a1;
|
|
15
18
|
--pds-color-foreground-default: #ffffff;
|
|
19
|
+
--pds-color-gradient-after-hours: linear-gradient(228.64deg, #2B017B 41.87%, #29B2FF 100%);
|
|
20
|
+
--pds-color-gradient-midnight: linear-gradient(228.64deg, #3017A1 46.34%, #00E0C3 100%);
|
|
21
|
+
--pds-color-gradient-sunrise: linear-gradient(227.79deg, #300068 38.28%, #E65F35 100%);
|
|
22
|
+
--pds-color-gradient-sunset: linear-gradient(48.24deg, #EF13AD 0%, #300068 66.25%);
|
|
16
23
|
--pds-color-input-background-default: #1d1d29;
|
|
17
24
|
--pds-color-input-background-disabled: #504e62;
|
|
18
25
|
--pds-color-input-border-default: var(--pds-color-border-default);
|
|
@@ -12,7 +12,41 @@
|
|
|
12
12
|
:root {
|
|
13
13
|
--pds-color-background-default: #ffffff;
|
|
14
14
|
--pds-color-border-default: #71717c;
|
|
15
|
+
--pds-color-brand-accent-default: #de0093;
|
|
16
|
+
--pds-color-brand-primary-default: #ffdc28;
|
|
17
|
+
--pds-color-brand-secondary-default: #3017a1;
|
|
18
|
+
--pds-color-button-destructive-background-active: #ffebeb;
|
|
19
|
+
--pds-color-button-destructive-background-default: rgba(0, 0, 0, 0);
|
|
20
|
+
--pds-color-button-destructive-background-hover: #ffebeb;
|
|
21
|
+
--pds-color-button-destructive-border-active: #920303;
|
|
22
|
+
--pds-color-button-destructive-border-default: #d61f1f;
|
|
23
|
+
--pds-color-button-destructive-border-hover: #f83333;
|
|
24
|
+
--pds-color-button-destructive-text-active: #920303;
|
|
25
|
+
--pds-color-button-destructive-text-default: #d61f1f;
|
|
26
|
+
--pds-color-button-destructive-text-hover: #d61f1f;
|
|
27
|
+
--pds-color-button-primary-background-active: #ddbd16;
|
|
28
|
+
--pds-color-button-primary-background-default: #ffdc28;
|
|
29
|
+
--pds-color-button-primary-background-hover: #ffe668;
|
|
30
|
+
--pds-color-button-primary-border-active: #ddbd16;
|
|
31
|
+
--pds-color-button-primary-border-default: #ffdc28;
|
|
32
|
+
--pds-color-button-primary-border-hover: #ffe668;
|
|
33
|
+
--pds-color-button-primary-text-active: #23232d;
|
|
34
|
+
--pds-color-button-primary-text-default: #23232d;
|
|
35
|
+
--pds-color-button-primary-text-hover: #23232d;
|
|
36
|
+
--pds-color-button-secondary-background-active: #f0ecff;
|
|
37
|
+
--pds-color-button-secondary-background-default: rgba(0, 0, 0, 0);
|
|
38
|
+
--pds-color-button-secondary-background-hover: #f0ecff;
|
|
39
|
+
--pds-color-button-secondary-border-active: #11005d;
|
|
40
|
+
--pds-color-button-secondary-border-default: #3017a1;
|
|
41
|
+
--pds-color-button-secondary-border-hover: #785aff;
|
|
42
|
+
--pds-color-button-secondary-text-active: #11005d;
|
|
43
|
+
--pds-color-button-secondary-text-default: #3017a1;
|
|
44
|
+
--pds-color-button-secondary-text-hover: #3017a1;
|
|
15
45
|
--pds-color-foreground-default: #23232d;
|
|
46
|
+
--pds-color-gradient-after-hours: linear-gradient(228.64deg, #2B017B 41.87%, #29B2FF 100%);
|
|
47
|
+
--pds-color-gradient-midnight: linear-gradient(228.64deg, #3017A1 46.34%, #00E0C3 100%);
|
|
48
|
+
--pds-color-gradient-sunrise: linear-gradient(227.79deg, #300068 38.28%, #E65F35 100%);
|
|
49
|
+
--pds-color-gradient-sunset: linear-gradient(48.24deg, #EF13AD 0%, #300068 66.25%);
|
|
16
50
|
--pds-color-input-background-default: #ffffff;
|
|
17
51
|
--pds-color-input-background-disabled: #cfcfd3;
|
|
18
52
|
--pds-color-input-border-default: var(--pds-color-border-default);
|
|
@@ -10,14 +10,7 @@
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
:root {
|
|
13
|
-
--pds-border-radius-default: 0.
|
|
13
|
+
--pds-border-radius-default: 0.1875rem;
|
|
14
14
|
--pds-border-width-default: 1px;
|
|
15
|
-
--pds-color-global-brand-accent-default: #de0093;
|
|
16
|
-
--pds-color-global-brand-primary-default: #ffdc28;
|
|
17
|
-
--pds-color-global-brand-secondary-default: #3017a1;
|
|
18
|
-
--pds-color-global-gradient-after-hours: linear-gradient(228.64deg, #2B017B 41.87%, #29B2FF 100%);
|
|
19
|
-
--pds-color-global-gradient-midnight: linear-gradient(228.64deg, #3017A1 46.34%, #00E0C3 100%);
|
|
20
|
-
--pds-color-global-gradient-sunrise: linear-gradient(227.79deg, #300068 38.28%, #E65F35 100%);
|
|
21
|
-
--pds-color-global-gradient-sunset: linear-gradient(48.24deg, #EF13AD 0%, #300068 66.25%);
|
|
22
15
|
--pds-typography-font-default: 'Poppins', sans-serif;
|
|
23
16
|
}
|