Skip to content

Commit

Permalink
fix: Remove o-colors references
Browse files Browse the repository at this point in the history
  • Loading branch information
notlee committed Feb 26, 2025
1 parent 6a392e5 commit 7d478b2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion components/o-comments/src/scss/coral-talk-iframe/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
@mixin _oCommentsTag() {
// Non-linked tags and author tags are the same colour as the body copy.
@if not is-superselector("a", "#{&}") {
color: oColorsByUsecase("body", "text");
color: oPrivateFoundationGet("o3-color-use-case-body-text");
}

font-weight: oPrivateFoundationGet("o3-font-weight-semibold");
Expand Down
1 change: 0 additions & 1 deletion components/o-overlay/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

@import '@financial-times/o-private-foundation/main';
@import '@financial-times/o-brand/main';
@import '@financial-times/o-colors/main';
@import 'src/scss/variables';
@import 'src/scss/brand';
@import 'src/scss/close';
Expand Down
2 changes: 1 addition & 1 deletion components/o-topper/src/scss/_elements.scss
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
%_o-topper__tag {
// Non-linked tags and author tags are the same colour as the body copy.
@if not is-superselector('a', '#{&}') {
color: oColorsByUsecase('body', 'text');
color: oPrivateFoundationGet('o3-color-use-case-body-text');
}

font-family: oPrivateFoundationGet('o3-type-body-highlight-font-family');
Expand Down
26 changes: 14 additions & 12 deletions components/o-visual-effects/stories/visual-effects.scss
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
@import "@financial-times/o-visual-effects/main";
@import "@financial-times/o-normalise/main";
@import "@financial-times/o-buttons/main";
@import "@financial-times/o-spacing/main";
@import "@financial-times/o-typography/main";
@import "@financial-times/o-fonts/main";
@import "@financial-times/o-colors/main";
@import '@financial-times/o-visual-effects/main';
@import '@financial-times/o-normalise/main';
@import '@financial-times/o-buttons/main';
@import '@financial-times/o-spacing/main';
@import '@financial-times/o-typography/main';
@import '@financial-times/o-fonts/main';

@include oNormalise();
@include oFonts();
@include oVisualEffects();

.demo-button {
@include oButtonsContent((
'size': 'big',
'type': 'primary',
));
@include oButtonsContent(
(
'size': 'big',
'type': 'primary',
)
);
margin-right: oSpacingByName('s8');
float: left;
}
Expand All @@ -30,7 +31,8 @@
}
width: var(--demo-size);
height: var(--demo-size);
transition: all var(--demo-transition-duration) var(--demo-transition-timing-function);
transition: all var(--demo-transition-duration)
var(--demo-transition-timing-function);
display: inline-block;
}

Expand Down

0 comments on commit 7d478b2

Please sign in to comment.