Skip to content

Conversation

@NikitaCG
Copy link
Contributor

@NikitaCG NikitaCG commented Oct 7, 2025

I added the scss folder to the final build, this is necessary so that the end user can apply a mixin with a theme from @diplodoc/themes, otherwise if you use css import, the colors will already be taken from the variables. Now the brand file is not needed, as the branding will be from the @diplodoc/themes library. Examples in the neighboring PR diplodoc-platform/components#468

@yc-ui-bot
Copy link
Contributor

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
114 100 0 14 0 0 1m 9s

🎉 No failed tests in this run.

Github Test Reporter by CTRF 💚

@yc-ui-bot
Copy link
Contributor

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
114 100 0 14 0 0 1m 9s

🎉 No failed tests in this run.

Github Test Reporter by CTRF 💚

@@ -0,0 +1,3 @@
@use 'base';
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

create this temporal file because extensions don't have scss version
next step create scss version in extenssions, delete this file
then we can use yfm.scss in places like this - https://github.com/diplodoc-platform/components/pull/468/files

@yc-ui-bot
Copy link
Contributor

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
114 100 0 14 0 0 1m 7s

🎉 No failed tests in this run.

Github Test Reporter by CTRF 💚

Comment on lines 200 to 201
background-color: var(--yfm-color-table-head-background);
background-color: var(
--yfm-color-table-row-background,
var(--yfm-color-table-row-background-private)
);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Variables like --yfm-color-table-* are public CSS API of YFM tables.
Plz, bring back use of these variables.
Otherwise, this PR contains breaking changes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix it , and add new tokens in themes library diplodoc-platform/themes#8

@yc-ui-bot
Copy link
Contributor

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
114 100 0 14 0 0 1m 10s

🎉 No failed tests in this run.

Github Test Reporter by CTRF 💚

box-shadow: 0 0 0 1px
var(
--yfm-color-term-dfn-pseudo-shadow,
var(--yfm-color-term-dfn-presudo-shadow-private)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in two places in this pr - "presudo" instead of "pseudo"

Copy link
Contributor Author

@NikitaCG NikitaCG Nov 14, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done, fix it

@yc-ui-bot
Copy link
Contributor

Summary

Tests 📝 Passed ✅ Failed ❌ Skipped ⏭️ Other ❓ Flaky 🍂 Duration ⏱️
114 100 0 14 0 0 1m 7s

🎉 No failed tests in this run.

Github Test Reporter by CTRF 💚

@NikitaCG NikitaCG merged commit 4560dee into master Nov 14, 2025
3 checks passed
@NikitaCG NikitaCG deleted the feat/del-brand branch November 14, 2025 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants