@@ -14,74 +14,71 @@ import * as stylex from '@stylexjs/stylex';
14
14
opaque type SemanticColorsTheme : 'theme' = 'theme' ;
15
15
16
16
const SemanticColors = {
17
- '--accent' : null as null | string ,
18
- '--accent-deemphasized' : null as null | string ,
19
- '--accent-emphasized' : null as null | string ,
17
+ '--accent' : 'blue' ,
18
+ '--accent-deemphasized' : '#4B91F1' ,
19
+ '--accent-emphasized' : 'blue' ,
20
20
21
- '--secondary-negative' : null as null | string ,
22
- '--secondary-negative-deemphasized' : null as null | string ,
23
- '--secondary-negative-emphasized' : null as null | string ,
24
- '--secondary-positive' : null as null | string ,
25
- '--secondary-positive-deemphasized' : null as null | string ,
26
- '--secondary-warning' : null as null | string ,
27
- '--secondary-warning-deemphasized' : null as null | string ,
21
+ '--secondary-negative' : '#FF3B30' ,
22
+ '--secondary-negative-deemphasized' : '#FF6B61' ,
23
+ '--secondary-negative-emphasized' : '#D63029' ,
24
+ '--secondary-positive' : '#34C759' ,
25
+ '--secondary-positive-deemphasized' : '#65D683' ,
26
+ '--secondary-warning' : '#FFCC00' ,
27
+ '--secondary-warning-deemphasized' : '#FFD633' ,
28
28
29
- '--content-default' : null as null | string ,
30
- '--content-deemphasized' : null as null | string ,
31
- '--content-disabled' : null as null | string ,
32
- '--content-on-accent' : null as null | string ,
33
- '--content-action-default' : null as null | string ,
34
- '--content-action-emphasized' : null as null | string ,
35
- '--content-external-link' : null as null | string ,
36
- '--content-inverse' : null as null | string ,
37
- '--content-read' : null as null | string ,
29
+ '--content-default' : '#000000' ,
30
+ '--content-deemphasized' : '#666666' ,
31
+ '--content-disabled' : '#999999' ,
32
+ '--content-on-accent' : '#FFFFFF' ,
33
+ '--content-action-default' : '#0A84FF' ,
34
+ '--content-action-emphasized' : '#007AFF' ,
35
+ '--content-external-link' : '#0A84FF' ,
36
+ '--content-inverse' : '#FFFFFF' ,
37
+ '--content-read' : '#8E8E93' ,
38
38
39
- '--background-wash-plain' : null as null | string ,
40
- '--background-wash-inset' : null as null | string ,
41
- '--background-elevated-wash-plain' : null as null | string ,
42
- '--background-elevated-wash-inset' : null as null | string ,
43
- '--background-dimmer' : null as null | string ,
39
+ '--background-wash-plain' : '#F2F2F7' ,
40
+ '--background-wash-inset' : '#E5E5EA' ,
41
+ '--background-elevated-wash-plain' : '#F8F8F8' ,
42
+ '--background-elevated-wash-inset' : '#EBEBEB' ,
43
+ '--background-dimmer' : 'rgba(0, 0, 0, 0.4)' ,
44
44
45
- '--surface-default' : null as null | string ,
46
- '--surface-emphasized' : null as null | string ,
47
- '--surface-elevated-default' : null as null | string ,
48
- '--surface-elevated-emphasized' : null as null | string ,
49
- '--surface-highlight' : null as null | string ,
50
- '--surface-inverse' : null as null | string ,
51
- '--surface-pressed' : null as null | string ,
45
+ '--surface-default' : '#FFFFFF' ,
46
+ '--surface-emphasized' : '#F2F2F7' ,
47
+ '--surface-elevated-default' : '#FFFFFF' ,
48
+ '--surface-elevated-emphasized' : '#F2F2F7' ,
49
+ '--surface-highlight' : 'rgba(0, 122, 255, 0.1)' ,
50
+ '--surface-inverse' : '#000000' ,
51
+ '--surface-pressed' : 'rgba(0, 0, 0, 0.1)' ,
52
52
53
- '--lines-divider' : null as null | string ,
54
- '--lines-outline-default' : null as null | string ,
55
- '--lines-outline-deemphasized' : null as null | string ,
53
+ '--lines-divider' : '#C6C6C8' ,
54
+ '--lines-outline-default' : '#C6C6C8' ,
55
+ '--lines-outline-deemphasized' : '#E5E5EA' ,
56
56
57
- '--persistent-always-branded' : null as null | string ,
58
- '--persistent-always-black' : null as null | string ,
59
- '--persistent-always-white' : null as null | string ,
60
- '--persistent-activity-indicator' : null as null | string ,
57
+ '--persistent-always-branded' : '#007AFF' ,
58
+ '--persistent-always-black' : '#000000' ,
59
+ '--persistent-always-white' : '#FFFFFF' ,
60
+ '--persistent-activity-indicator' : '#007AFF' ,
61
61
62
- '--systems-bubble-surface-incoming' : null as null | string ,
63
- '--systems-bubble-surface-outgoing' : null as null | string ,
64
- '--systems-bubble-content-deemphasized' : null as null | string ,
65
- '--systems-bubble-surface-overlay' : null as null | string ,
66
- '--systems-bubble-surface-system' : null as null | string ,
67
- '--systems-bubble-surface-e2e' : null as null | string ,
68
- '--systems-bubble-content-e2e' : null as null | string ,
69
- '--systems-bubble-surface-business' : null as null | string ,
70
- '--systems-bubble-content-business' : null as null | string ,
71
- '--systems-chat-surface-composer' : null as null | string ,
72
- '--systems-chat-background-wallpaper' : null as null | string ,
73
- '--systems-chat-foreground-wallpaper' : null as null | string ,
74
- '--systems-chat-surface-tray' : null as null | string ,
75
- '--systems-status-seen' : null as null | string ,
62
+ '--systems-bubble-surface-incoming' : '#E9E9EB' ,
63
+ '--systems-bubble-surface-outgoing' : '#007AFF' ,
64
+ '--systems-bubble-content-deemphasized' : '#8E8E93' ,
65
+ '--systems-bubble-surface-overlay' : 'rgba(0, 0, 0, 0.5)' ,
66
+ '--systems-bubble-surface-system' : '#F2F2F7' ,
67
+ '--systems-bubble-surface-e2e' : '#34C759' ,
68
+ '--systems-bubble-content-e2e' : '#FFFFFF' ,
69
+ '--systems-bubble-surface-business' : '#5856D6' ,
70
+ '--systems-bubble-content-business' : '#FFFFFF' ,
71
+ '--systems-chat-surface-composer' : '#FFFFFF' ,
72
+ '--systems-chat-background-wallpaper' : '#FFFFFF' ,
73
+ '--systems-chat-foreground-wallpaper' : '#000000' ,
74
+ '--systems-chat-surface-tray' : '#F2F2F7' ,
75
+ '--systems-status-seen' : '#007AFF' ,
76
76
77
- '--internal-components-surface-nav-bar' : null as null | string ,
78
- '--internal-components-active-list-row' : null as null | string ,
77
+ '--internal-components-surface-nav-bar' : '#F9F9F9' ,
78
+ '--internal-components-active-list-row' : '#F2F2F7' ,
79
79
} ;
80
80
81
81
export type SemanticColorsType = typeof SemanticColors ;
82
- export type SemanticColorsFull = {
83
- [ Key in keyof SemanticColorsType ] : $NonMaybeType < SemanticColorsType [ Key ] > ,
84
- } ;
85
82
86
83
export const colors : VarGroup < SemanticColorsType , SemanticColorsTheme > =
87
84
stylex . defineVars ( SemanticColors ) ;
0 commit comments