-
Notifications
You must be signed in to change notification settings - Fork 121
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
Added new color variable #93
base: main
Are you sure you want to change the base?
Changes from 3 commits
5b9baf5
1d6688c
ec2c534
b9f7c7c
e747a63
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -150,6 +150,7 @@ html { | |
--fragment-linenumber-background: #f4f4f5; | ||
--fragment-linenumber-border: #e3e5e7; | ||
--fragment-lineheight: 20px; | ||
--fragment-desc-background: #f4f4f4; | ||
|
||
/* sidebar navigation (treeview) colors */ | ||
--side-nav-background: #fbfbfb; | ||
|
@@ -186,7 +187,7 @@ html { | |
color-scheme: dark; | ||
|
||
--primary-color: #1982d2; | ||
--primary-dark-color: #86a9c4; | ||
--primary-dark-color: #ddb582; | ||
--primary-light-color: #4779ac; | ||
|
||
--box-shadow: 0 2px 8px 0 rgba(0,0,0,.35); | ||
|
@@ -239,6 +240,7 @@ html { | |
--fragment-linenumber-color: #cccccc; | ||
--fragment-linenumber-background: #35393c; | ||
--fragment-linenumber-border: #1f1f1f; | ||
--fragment-desc-background: #2e343e; | ||
} | ||
} | ||
|
||
|
@@ -247,7 +249,7 @@ html.dark-mode { | |
color-scheme: dark; | ||
|
||
--primary-color: #1982d2; | ||
--primary-dark-color: #86a9c4; | ||
--primary-dark-color: #ddb582; | ||
--primary-light-color: #4779ac; | ||
|
||
--box-shadow: 0 2px 8px 0 rgba(0,0,0,.30); | ||
|
@@ -300,6 +302,7 @@ html.dark-mode { | |
--fragment-linenumber-color: #cccccc; | ||
--fragment-linenumber-background: #35393c; | ||
--fragment-linenumber-border: #1f1f1f; | ||
--fragment-desc-background: #2e343e; | ||
} | ||
|
||
body { | ||
|
@@ -1031,7 +1034,7 @@ blockquote::after { | |
blockquote p { | ||
margin: var(--spacing-small) 0 var(--spacing-medium) 0; | ||
} | ||
.paramname { | ||
.paramname, div.memdoc em { | ||
font-weight: 600; | ||
color: var(--primary-dark-color); | ||
} | ||
|
@@ -1414,8 +1417,8 @@ div.memdoc, div.memproto, h2.memtitle { | |
} | ||
|
||
div.memdoc { | ||
padding: 0 var(--spacing-medium); | ||
background: var(--page-background-color); | ||
padding: 2px var(--spacing-medium); | ||
NecrCode marked this conversation as resolved.
Show resolved
Hide resolved
|
||
background: var(--fragment-desc-background); | ||
} | ||
|
||
h2.memtitle, div.memitem { | ||
|
@@ -1791,7 +1794,7 @@ table.memberdecls .memItemRight { | |
} | ||
|
||
table.memberdecls .mdescLeft, table.memberdecls .mdescRight { | ||
background: none; | ||
background: var(--fragment-desc-background); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see a problem with this. It doesn't work well with the current design of the member overview. The block above has rounded corners and creates a small gap, which doesn't look nice IMO: I'd like the background coloring of the brief description to be an option that can be enabled, but I'm not sure how this could be implemented atm. :/ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. could be solved by removing or should it be just like this, no borders at all: what do you think? ( and i truly appreciate the detailed feedback, thanks :) !) |
||
color: var(--page-foreground-color); | ||
padding: var(--spacing-small) 0; | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The new colors that you choose for WxWidgets look great IMO! I'd like to keep the original colors as default though, for both variables,
--primary-dark-color
and--fragment-desc-background
.