Skip to content

Commit e56af5e

Browse files
committed
fix: remove uikit css overrides
1 parent 6a869e5 commit e56af5e

File tree

5 files changed

+6
-16
lines changed

5 files changed

+6
-16
lines changed

src/components/Table/Table.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $block: '.#{$ns}table';
1515
&__row {
1616
display: flex;
1717
&:first-child {
18-
font-weight: var(--g-text-accent-font-weight);
18+
font-weight: var(--pc-text-accent-font-weight);
1919

2020
#{$root}__cell {
2121
border-bottom-color: var(--g-color-line-generic-active);

src/sub-blocks/PriceCard/PriceCard.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ $block: '.#{$ns}price-card';
7474

7575
&-value {
7676
@include text-size(display-1);
77-
font-weight: var(--g-text-accent-font-weight);
77+
font-weight: var(--pc-text-accent-font-weight);
7878
}
7979

8080
&-period {

src/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ $block: '.#{$ns}price-description';
2323
}
2424

2525
&__main-title {
26-
font-weight: var(--g-text-accent-font-weight);
26+
font-weight: var(--pc-text-accent-font-weight);
2727

2828
&_color_cornflower {
2929
color: var(--g-color-base-brand);

styles/root.scss

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
.g-root {
1010
@include pc-colors-social;
1111

12-
--g-text-accent-font-weight: 500;
12+
--pc-text-accent-font-weight: 500;
1313

1414
// cross-browser transparent color
1515
--pc-transparent: rgba(255, 255, 255, 0);
@@ -39,16 +39,6 @@
3939
--pc-color-line-focus-light: var(--g-color-text-brand);
4040
--pc-color-line-focus-dark: var(--g-color-text-light-primary);
4141

42-
&_theme_light {
43-
@include pc-colors-light;
44-
--g-color-line-focus: var(--pc-color-line-focus-light);
45-
}
46-
47-
&_theme_dark {
48-
@include pc-colors-dark;
49-
--g-color-line-focus: var(--pc-color-line-focus-dark);
50-
}
51-
5242
&.g-root_theme_dark {
5343
--pc-color-sfx-shadow: var(--g-color-sfx-shadow);
5444
--pc-color-line-generic-active-solid: #6c6c70;

styles/yfm.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
&_meta_info {
3838
p {
3939
color: var(--pc-media-card-meta-info-color);
40-
font-weight: var(--g-text-accent-font-weight);
40+
font-weight: var(--pc-text-accent-font-weight);
4141
}
4242
}
4343

@@ -49,7 +49,7 @@
4949
}
5050

5151
p strong {
52-
font-weight: var(--g-text-accent-font-weight);
52+
font-weight: var(--pc-text-accent-font-weight);
5353
}
5454

5555
&_size_s {

0 commit comments

Comments
 (0)