Skip to content

Commit

Permalink
Add more helper variables
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Jul 5, 2023
1 parent aab6410 commit e3ad8b2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions layout-multiple-columns.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
--color-ghost-button-text: var(--color-button-text);
--color-verified: #79bd9a;
--color-destructive: #df405a;
--color-light-fuchsia-pink: #ff8cfd;
--color-hashtag: var(--color-accent);
--color-mention: var(--color-accent);

/* In the original UI this color is lighten($ui-base-color, 12%) */
--color-outer-space: #42485a;
Expand Down Expand Up @@ -302,6 +305,15 @@ body.layout-multiple-columns {
color: var(--color-fg);
}

/* Link color variants */
.layout-multiple-columns .status-link.hashtag {
color: var(--color-hashtag);
}

.layout-multiple-columns .status-link.mention:not(.hashtag) {
color: var(--color-mention);
}

/* Logo */
.layout-multiple-columns .ui__header__logo,
.layout-multiple-columns .column-link.column-link--logo {
Expand Down
12 changes: 12 additions & 0 deletions layout-single-column.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
--color-ghost-button-text: var(--color-button-text);
--color-verified: #79bd9a;
--color-destructive: #df405a;
--color-light-fuchsia-pink: #ff8cfd;
--color-hashtag: var(--color-accent);
--color-mention: var(--color-accent);

/* In the original UI this color is lighten($ui-base-color, 12%) */
--color-outer-space: #42485a;
Expand Down Expand Up @@ -308,6 +311,15 @@ body.layout-single-column {
color: var(--color-fg);
}

/* Link color variants */
.layout-single-column .status-link.hashtag {
color: var(--color-hashtag);
}

.layout-single-column .status-link.mention:not(.hashtag) {
color: var(--color-mention);
}

/* Logo */
.layout-single-column .ui__header__logo,
.layout-single-column .column-link.column-link--logo {
Expand Down

0 comments on commit e3ad8b2

Please sign in to comment.