1414// - subtle: a map of the subtle color variations
1515//
1616// Each hue color map should provide
17- // TODO: rename base to background?
1817// - base: The main color used for backgrounds
1918// - base-rgb: The base color in RGB format
2019// - contrast: A color that ensures readable text on the base color
@@ -33,7 +32,6 @@ $ionic-colors: (
3332 contrast : globals .$ion-text-inverse ,
3433 contrast-rgb : globals .$ion-text-inverse-rgb ,
3534 shade : globals .$ion-bg-primary-base-press ,
36- // TODO this is not a verified value
3735 tint : globals .$ion-semantics-primary-600 ,
3836 foreground : globals .$ion-text-primary ,
3937 ),
@@ -43,12 +41,10 @@ $ionic-colors: (
4341 contrast : globals .$ion-text-primary ,
4442 contrast-rgb : globals .$ion-text-primary-rgb ,
4543 shade : globals .$ion-bg-primary-subtle-press ,
46- // TODO this is not a verified value
4744 tint : globals .$ion-semantics-primary-200 ,
4845 foreground : globals .$ion-text-primary ,
4946 ),
5047 ),
51- // info equivalent
5248 secondary :
5349 (
5450 bold : (
@@ -57,7 +53,6 @@ $ionic-colors: (
5753 contrast : globals .$ion-text-inverse ,
5854 contrast-rgb : globals .$ion-text-inverse-rgb ,
5955 shade : globals .$ion-bg-info-base-press ,
60- // TODO this is not a verified value
6156 tint : globals .$ion-semantics-info-700 ,
6257 foreground : globals .$ion-text-info ,
6358 ),
@@ -67,43 +62,57 @@ $ionic-colors: (
6762 contrast : globals .$ion-text-info ,
6863 contrast-rgb : globals .$ion-text-info-rgb ,
6964 shade : globals .$ion-bg-info-subtle-press ,
70- // TODO this is not a verified value
7165 tint : globals .$ion-semantics-info-200 ,
7266 foreground : globals .$ion-text-info ,
7367 ),
7468 ),
75- // TODO - no equivalent for tertiary, can we add purple as a color?
76- success :
77- (
78- bold : (
79- base : globals .$ion-bg-success-base-default ,
80- base-rgb : globals .$ion-bg-success-base-default-rgb ,
81- contrast : globals .$ion-text-inverse ,
82- contrast-rgb : globals .$ion-text-inverse-rgb ,
83- shade : globals .$ion-bg-success-base-press ,
84- // TODO this is not a verified value
85- tint : globals .$ion-semantics-success-800 ,
86- foreground : globals .$ion-text-success ,
87- ),
88- subtle : (
89- base : globals .$ion-bg-success-subtle-default ,
90- base-rgb : globals .$ion-bg-success-subtle-default-rgb ,
91- contrast : globals .$ion-text-success ,
92- contrast-rgb : globals .$ion-text-success-rgb ,
93- shade : globals .$ion-bg-success-subtle-press ,
94- // TODO this is not a verified value
95- tint : globals .$ion-semantics-success-200 ,
96- foreground : globals .$ion-text-success ,
97- ),
69+ tertiary : (
70+ bold : (
71+ base : globals .$ion-primitives-violet-700 ,
72+ base-rgb : globals .$ion-primitives-violet-700-rgb ,
73+ contrast : globals .$ion-text-inverse ,
74+ contrast-rgb : globals .$ion-text-inverse-rgb ,
75+ shade : globals .$ion-primitives-violet-800 ,
76+ tint : globals .$ion-primitives-violet-600 ,
77+ foreground : globals .$ion-primitives-violet-700 ,
9878 ),
79+ subtle : (
80+ base : globals .$ion-primitives-violet-100 ,
81+ base-rgb : globals .$ion-primitives-violet-100-rgb ,
82+ contrast : globals .$ion-primitives-violet-700 ,
83+ contrast-rgb : globals .$ion-primitives-violet-700-rgb ,
84+ shade : globals .$ion-primitives-violet-300 ,
85+ tint : globals .$ion-primitives-violet-200 ,
86+ foreground : globals .$ion-primitives-violet-700 ,
87+ ),
88+ ),
89+ success : (
90+ bold : (
91+ base : globals .$ion-bg-success-base-default ,
92+ base-rgb : globals .$ion-bg-success-base-default-rgb ,
93+ contrast : globals .$ion-text-inverse ,
94+ contrast-rgb : globals .$ion-text-inverse-rgb ,
95+ shade : globals .$ion-bg-success-base-press ,
96+ tint : globals .$ion-semantics-success-800 ,
97+ foreground : globals .$ion-text-success ,
98+ ),
99+ subtle : (
100+ base : globals .$ion-bg-success-subtle-default ,
101+ base-rgb : globals .$ion-bg-success-subtle-default-rgb ,
102+ contrast : globals .$ion-text-success ,
103+ contrast-rgb : globals .$ion-text-success-rgb ,
104+ shade : globals .$ion-bg-success-subtle-press ,
105+ tint : globals .$ion-semantics-success-200 ,
106+ foreground : globals .$ion-text-success ,
107+ ),
108+ ),
99109 warning : (
100110 bold : (
101111 base : globals .$ion-bg-warning-base-default ,
102112 base-rgb : globals .$ion-bg-warning-base-default-rgb ,
103113 contrast : globals .$ion-text-default ,
104114 contrast-rgb : globals .$ion-text-default-rgb ,
105115 shade : globals .$ion-bg-warning-base-press ,
106- // TODO this is not a verified value
107116 tint : globals .$ion-primitives-yellow-300 ,
108117 foreground : globals .$ion-text-warning ,
109118 ),
@@ -113,7 +122,6 @@ $ionic-colors: (
113122 contrast : globals .$ion-text-warning ,
114123 contrast-rgb : globals .$ion-text-warning-rgb ,
115124 shade : globals .$ion-bg-warning-subtle-press ,
116- // TODO this is not a verified value
117125 tint : globals .$ion-primitives-yellow-100 ,
118126 foreground : globals .$ion-text-warning ,
119127 ),
@@ -125,7 +133,6 @@ $ionic-colors: (
125133 contrast : globals .$ion-text-inverse ,
126134 contrast-rgb : globals .$ion-text-inverse-rgb ,
127135 shade : globals .$ion-bg-danger-base-press ,
128- // TODO this is not a verified value
129136 tint : globals .$ion-semantics-danger-700 ,
130137 foreground : globals .$ion-text-danger ,
131138 ),
@@ -135,23 +142,18 @@ $ionic-colors: (
135142 contrast : globals .$ion-text-danger ,
136143 contrast-rgb : globals .$ion-text-danger-rgb ,
137144 shade : globals .$ion-bg-danger-subtle-press ,
138- // TODO this is not a verified value
139145 tint : globals .$ion-semantics-danger-200 ,
140146 foreground : globals .$ion-text-danger ,
141147 ),
142148 ),
143- // neutral/base equivalent
144149 light :
145150 (
146151 bold : (
147152 base : globals .$ion-bg-neutral-base-default ,
148153 base-rgb : globals .$ion-bg-neutral-base-default-rgb ,
149154 contrast : globals .$ion-text-default ,
150155 contrast-rgb : globals .$ion-text-default-rgb ,
151- // TODO this fails AA testing
152- // shade: globals.$ion-bg-neutral-base-press,
153156 shade : globals .$ion-primitives-neutral-600 ,
154- // TODO this is not a verified value
155157 tint : globals .$ion-primitives-neutral-400 ,
156158 foreground : globals .$ion-text-default ,
157159 ),
@@ -161,12 +163,10 @@ $ionic-colors: (
161163 contrast : globals .$ion-text-default ,
162164 contrast-rgb : globals .$ion-text-default-rgb ,
163165 shade : globals .$ion-bg-neutral-subtlest-press ,
164- // TODO this is not a verified value
165166 tint : globals .$ion-primitives-neutral-100 ,
166167 foreground : globals .$ion-text-default ,
167168 ),
168169 ),
169- // neutral/bold equivalent
170170 medium :
171171 (
172172 bold : (
@@ -175,7 +175,6 @@ $ionic-colors: (
175175 contrast : globals .$ion-text-inverse ,
176176 contrast-rgb : globals .$ion-text-inverse-rgb ,
177177 shade : globals .$ion-bg-neutral-bold-press ,
178- // TODO this is not a verified value
179178 tint : globals .$ion-primitives-neutral-900 ,
180179 foreground : globals .$ion-text-default ,
181180 ),
@@ -185,22 +184,18 @@ $ionic-colors: (
185184 contrast : globals .$ion-text-subtlest ,
186185 contrast-rgb : globals .$ion-text-subtlest-rgb ,
187186 shade : globals .$ion-bg-neutral-subtle-press ,
188- // TODO this is not a verified value
189187 tint : globals .$ion-primitives-neutral-100 ,
190188 foreground : globals .$ion-text-default ,
191189 ),
192190 ),
193- // neutral/boldest equivalent
194191 dark :
195192 (
196193 bold : (
197194 base : globals .$ion-bg-neutral-boldest-default ,
198195 base-rgb : globals .$ion-bg-neutral-boldest-default-rgb ,
199196 contrast : globals .$ion-text-inverse ,
200197 contrast-rgb : globals .$ion-text-inverse-rgb ,
201- // TODO $ion-bg-neutral-boldest-press does not exist
202- shade : globals .$ion-bg-neutral-bold-press ,
203- // TODO this is not a verified value
198+ shade : globals .$ion-bg-neutral-boldest-press ,
204199 tint : globals .$ion-primitives-neutral-1100 ,
205200 foreground : globals .$ion-text-default ,
206201 ),
@@ -210,7 +205,6 @@ $ionic-colors: (
210205 contrast : globals .$ion-text-subtle ,
211206 contrast-rgb : globals .$ion-text-subtle-rgb ,
212207 shade : globals .$ion-bg-neutral-subtle-press ,
213- // TODO this is not a verified value
214208 tint : globals .$ion-primitives-neutral-100 ,
215209 foreground : globals .$ion-text-default ,
216210 ),
0 commit comments