Skip to content

Commit e34e74e

Browse files
committed
fix: global styles
1 parent 43828b0 commit e34e74e

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@solved-ac/ui-react",
3-
"version": "0.0.1-alpha.29",
3+
"version": "0.0.1-alpha.30",
44
"description": "React component library used by solved.ac",
55
"author": "shiftpsh",
66
"license": "MIT",

src/styles/GlobalStyles.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,33 @@ export const SolvedGlobalStyles = createGlobalStyle<{ theme: SolvedTheme }>`
5757
transparentize(0.5, theme.color.text.primary.main)};
5858
}
5959
60+
a {
61+
color: inherit;
62+
}
63+
64+
b, strong {
65+
font-weight: 700;
66+
}
67+
68+
i, em {
69+
font-style: italic;
70+
}
71+
72+
sub, sup {
73+
font-size: 75%;
74+
line-height: 0;
75+
position: relative;
76+
vertical-align: baseline;
77+
}
78+
79+
sup {
80+
top: -0.5em;
81+
}
82+
83+
sub {
84+
bottom: -0.25em;
85+
}
86+
6087
${textInputs()} {
6188
font-family: inherit;
6289
line-height: 1.3;

0 commit comments

Comments
 (0)