File tree 2 files changed +22
-1
lines changed
src/components/pages/global-values-page/components/button
2 files changed +22
-1
lines changed Original file line number Diff line number Diff line change
1
+ .button {
2
+ & :global (.navds-button--primary ),
3
+ &:global (.navds-button--danger ) {
4
+ color : white ;
5
+ }
6
+
7
+ & :global(.navds-button--danger ) {
8
+ box-shadow : 0 0 0 ;
9
+
10
+ & :focus-visible {
11
+ box-shadow :
12
+ inset 0 0 0 1px
13
+ var (
14
+ --ac-button-primary-focus-border ,
15
+ var (--__ac-button-primary-focus-border , var (--a-surface-default ))
16
+ ),
17
+ var (--a-shadow-focus );
18
+ }
19
+ }
20
+ }
Original file line number Diff line number Diff line change 1
1
import React from 'react' ;
2
2
import { Button } from 'components/_common/button/Button' ;
3
3
import { EditorLinkWrapper } from 'components/_editor-only/editor-link-wrapper/EditorLinkWrapper' ;
4
+ import style from './GVButton.module.scss' ;
4
5
5
6
export const GVButton = ( props : React . ComponentProps < typeof Button > ) => (
6
7
< EditorLinkWrapper >
7
- < Button { ...props } size = { 'small' } >
8
+ < Button { ...props } size = { 'small' } className = { style . button } >
8
9
{ props . children }
9
10
</ Button >
10
11
</ EditorLinkWrapper >
You can’t perform that action at this time.
0 commit comments