Feat(Fortune): Preview result url (#62)
* Feat(Fortune): Support preview result depends on url params * Feat(Fortune): Specify commit hash in preview result to ensure event consistency * Feat(Fortune): Add copy preview url button * Feat(Fortune): Support theme color for copy preview button * Impr(Fortune): Make UI looks better * Docs(CONTRIBUTING): Add missing theme field
This commit was merged in pull request #62.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
--button-hover-color: #459aef;
|
||||
--toggle-theme-button-color: #000000;
|
||||
--copy-result-button-color: #000000;
|
||||
--copy-preview-result-url-button-color: #000000;
|
||||
--bg-color: #ffffff;
|
||||
--good-fortune-color: #e74c3c;
|
||||
--bad-fortune-color: #000000bf;
|
||||
@@ -99,10 +100,16 @@ button:hover {
|
||||
|
||||
#copy-result-button {
|
||||
margin-top: 20px;
|
||||
font-size: 1.5rem;
|
||||
font-size: 2.2rem;
|
||||
color: var(--copy-result-button-color);
|
||||
}
|
||||
|
||||
#copy-preview-result-url-button {
|
||||
margin-top: 20px;
|
||||
font-size: 2.2rem;
|
||||
color: var(--copy-preview-result-url-button-color);
|
||||
}
|
||||
|
||||
#themeModal {
|
||||
.modal-content {
|
||||
background-color: var(--bg-color) !important;
|
||||
|
||||
Reference in New Issue
Block a user