(theme)
| 36173 | }; |
| 36174 | } |
| 36175 | function primaryStyles(theme) { |
| 36176 | var _a, _b, _c, _d, _e, _f, _g, _h, _j; |
| 36177 | var p = theme.palette, s = theme.semanticColors; |
| 36178 | return { |
| 36179 | root: { |
| 36180 | backgroundColor: s.primaryButtonBackground, |
| 36181 | border: "1px solid " + s.primaryButtonBackground, |
| 36182 | color: s.primaryButtonText, |
| 36183 | selectors: (_a = {}, _a[0, _styling.HighContrastSelector] = (0, _tslib.__assign)({ |
| 36184 | color: "Window", |
| 36185 | backgroundColor: "WindowText", |
| 36186 | borderColor: "WindowText" |
| 36187 | }, (0, _styling.getHighContrastNoAdjustStyle)()), _a["." + (0, _utilities.IsFocusVisibleClassName) + " &:focus"] = { |
| 36188 | selectors: { |
| 36189 | ":after": { |
| 36190 | border: "none", |
| 36191 | outlineColor: p.white |
| 36192 | } |
| 36193 | } |
| 36194 | }, _a) |
| 36195 | }, |
| 36196 | rootHovered: { |
| 36197 | backgroundColor: s.primaryButtonBackgroundHovered, |
| 36198 | border: "1px solid " + s.primaryButtonBackgroundHovered, |
| 36199 | color: s.primaryButtonTextHovered, |
| 36200 | selectors: (_b = {}, _b[0, _styling.HighContrastSelector] = { |
| 36201 | color: "Window", |
| 36202 | backgroundColor: "Highlight", |
| 36203 | borderColor: "Highlight" |
| 36204 | }, _b) |
| 36205 | }, |
| 36206 | rootPressed: { |
| 36207 | backgroundColor: s.primaryButtonBackgroundPressed, |
| 36208 | border: "1px solid " + s.primaryButtonBackgroundPressed, |
| 36209 | color: s.primaryButtonTextPressed, |
| 36210 | selectors: (_c = {}, _c[0, _styling.HighContrastSelector] = (0, _tslib.__assign)({ |
| 36211 | color: "Window", |
| 36212 | backgroundColor: "WindowText", |
| 36213 | borderColor: "WindowText" |
| 36214 | }, (0, _styling.getHighContrastNoAdjustStyle)()), _c) |
| 36215 | }, |
| 36216 | rootExpanded: { |
| 36217 | backgroundColor: s.primaryButtonBackgroundPressed, |
| 36218 | color: s.primaryButtonTextPressed |
| 36219 | }, |
| 36220 | rootChecked: { |
| 36221 | backgroundColor: s.primaryButtonBackgroundPressed, |
| 36222 | color: s.primaryButtonTextPressed |
| 36223 | }, |
| 36224 | rootCheckedHovered: { |
| 36225 | backgroundColor: s.primaryButtonBackgroundPressed, |
| 36226 | color: s.primaryButtonTextPressed |
| 36227 | }, |
| 36228 | rootDisabled: { |
| 36229 | color: s.primaryButtonTextDisabled, |
| 36230 | backgroundColor: s.primaryButtonBackgroundDisabled, |
| 36231 | selectors: (_d = {}, _d[0, _styling.HighContrastSelector] = { |
| 36232 | color: "GrayText", |
nothing calls this directly
no test coverage detected