From 6c8a051de4c50f9683ade1ba35d2ca44bd72fcd4 Mon Sep 17 00:00:00 2001 From: SkyBlaise Date: Sat, 9 Dec 2023 10:51:22 +0800 Subject: [PATCH] revert frontend code changes --- frontend/src/styles/_colors.scss | 3 +-- frontend/src/views/c-authorship.vue | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/frontend/src/styles/_colors.scss b/frontend/src/styles/_colors.scss index e7ba7fc5c8..ca250b293a 100644 --- a/frontend/src/styles/_colors.scss +++ b/frontend/src/styles/_colors.scss @@ -303,8 +303,7 @@ $mui-colors: ( 'github': ( 'title-background': #FAFBFC, 'border': #E1E4E8, - 'full-authored-code-background': #C8E6C9, - 'partial-authored-code-background': #E6FFED, + 'authored-code-background': #E6FFED, ), 'grey': ( '50': #FAFAFA, diff --git a/frontend/src/views/c-authorship.vue b/frontend/src/views/c-authorship.vue index 550025dfd6..7222b86146 100644 --- a/frontend/src/views/c-authorship.vue +++ b/frontend/src/views/c-authorship.vue @@ -984,7 +984,7 @@ export default defineComponent({ .segment { border-left: .25rem solid mui-color('green'); .code { - background-color: mui-color('github', 'full-authored-code-background'); + background-color: mui-color('github', 'authored-code-background'); padding-left: 1rem; } .line-number { @@ -1009,7 +1009,7 @@ export default defineComponent({ } &.isNotFullCredit { .code { - background-color: mui-color('github', 'partial-authored-code-background'); + background-color: mui-color('green', '100'); } } &.untouched {