Skip to content

Commit b6bc2ec

Browse files
SCAL-215592 added the cssVariables for active state of button (#22)
Co-authored-by: ShashiSubramanya <[email protected]>
1 parent f979217 commit b6bc2ec

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/css-variables.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,11 @@ export interface CustomCssVariables {
163163
*/
164164
'--ts-var-button--primary--hover-background'?: string;
165165

166+
/**
167+
* Backgroud color of the primary buttons when active.
168+
*/
169+
'--ts-var-button--primary--active-background'?: string;
170+
166171
/**
167172
* Font color of the text on the secondary buttons.
168173
*/
@@ -183,6 +188,11 @@ export interface CustomCssVariables {
183188
*/
184189
'--ts-var-button--secondary--hover-background'?: string;
185190

191+
/**
192+
* Backgroud color of the secondary buttons when active.
193+
*/
194+
'--ts-var-button--secondary--active-background'?: string;
195+
186196
/**
187197
* Font color of the tertiary button. For example, the *Undo*, *Redo*, and *Reset*
188198
* buttons on the *Search* page.
@@ -199,6 +209,11 @@ export interface CustomCssVariables {
199209
*/
200210
'--ts-var-button--tertiary--hover-background'?: string;
201211

212+
/**
213+
* Backgroud color of the tertiary buttons when active.
214+
*/
215+
'--ts-var-button--tertiary--active-background'?: string;
216+
202217
/**
203218
* Font color of the title text of a visualization or Answer.
204219
*/

0 commit comments

Comments
 (0)