Skip to content

DRAFT: Discourse variables work #33383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft

DRAFT: Discourse variables work #33383

wants to merge 18 commits into from

Conversation

jordanvidrine
Copy link
Contributor

This draft PR is to track work related to introducing more css variables into discourse.

@@ -38,7 +38,7 @@
align-items: center;
justify-content: center;
border-radius: var(--d-border-radius);
border: 1px solid var(--primary-low);
border: 1px solid var(--content-border-color);
Copy link
Member

Choose a reason for hiding this comment

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

what's the difference between an input border and a content border?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So content borders are things like table borders, and other border that separate content from other content in the same space.

The reason this isnt using input border, is because across the site input borders are more delinated. The menu here's border isn't the input, it is the drop down / pop up border

@@ -125,12 +125,19 @@
--gold: #{$gold};
--silver: #{$silver};
--bronze: #{$bronze};
--read-color: var(--primary-medium);
Copy link
Member

Choose a reason for hiding this comment

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

probably fine for now, but might be better to keep color changes in a separate PR (makes it cleaner to revert if anything goes wrong)

--metadata-color: var(--primary-medium);
--table-border-color: var(--primary-low);
--content-border-color: var(--primary-low);
--title-color: var(--primary);
Copy link
Member

Choose a reason for hiding this comment

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

what kind of title? topic lists? within topics? is it worth specifying or will we use this for lots of titles?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd imagine titles will most likely be the same color across the site? Do you feel differently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants