Skip to content

Commit 3057283

Browse files
committed
refactor(ui): apply terminology and style fixes from review
- standardise 'Output Charset' and 'từ điển cá nhân' - correct 'Auto Non-VN Restore' description - fix title case in settings options - remove redundant !important from CSS Refs #6
1 parent 6ac1df2 commit 3057283

1 file changed

Lines changed: 22 additions & 22 deletions

File tree

src/views/Home.vue

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ interface SettingInfo {
247247
default: string;
248248
}
249249
const quickSettings: SettingInfo[] = [
250-
{ option: 'Charset', description: 'Chọn bảng mã đầu ra', default: 'Unicode' },
250+
{ option: 'Output Charset', description: 'Chọn bảng mã đầu ra', default: 'Unicode' },
251251
{
252252
option: 'Spell Check',
253253
description: 'Kiểm tra lỗi chính tả',
@@ -257,7 +257,7 @@ const quickSettings: SettingInfo[] = [
257257
{ option: 'Capitalize Macro', description: 'Tự động viết hoa từ gõ tắt', default: 'Bật' },
258258
{
259259
option: 'Auto Non-VN Restore',
260-
description: 'Tự động khôi phục từ khi gõ sai tiếng Việt',
260+
description: 'Tự động khôi phục khi gõ từ không phải tiếng Việt',
261261
default: 'Bật',
262262
},
263263
{
@@ -311,7 +311,7 @@ const advancedSettings: AdvancedSettingInfo[] = [
311311
},
312312
{
313313
page: 'Typing',
314-
option: 'Allow dd To Produce đ',
314+
option: 'Allow dd to Produce đ',
315315
feature: 'Cho phép gõ dd ra đ ngay cả khi đang khôi phục từ',
316316
},
317317
{
@@ -347,7 +347,7 @@ const advancedSettings: AdvancedSettingInfo[] = [
347347
{
348348
page: 'Dictionary',
349349
option: 'Enable Custom Dictionary',
350-
feature: 'Bật/tắt sử dụng từ điển người dùng',
350+
feature: 'Bật/tắt sử dụng từ điển cá nhân',
351351
},
352352
{
353353
page: 'Keymap',
@@ -2636,42 +2636,42 @@ body {
26362636
}
26372637
26382638
.custom-tabs {
2639-
background-color: var(--ctp-surface0) !important;
2640-
border: 1px solid var(--ctp-surface1) !important;
2641-
border-radius: 12px !important;
2639+
background-color: var(--ctp-surface0);
2640+
border: 1px solid var(--ctp-surface1);
2641+
border-radius: 12px;
26422642
overflow: hidden;
26432643
box-shadow: var(--el-box-shadow-light);
26442644
}
26452645
26462646
.custom-tabs :deep(.el-tabs__header) {
2647-
background-color: var(--ctp-mantle) !important;
2648-
border-bottom: 1px solid var(--ctp-surface1) !important;
2649-
margin: 0 !important;
2647+
background-color: var(--ctp-mantle);
2648+
border-bottom: 1px solid var(--ctp-surface1);
2649+
margin: 0;
26502650
}
26512651
26522652
.custom-tabs :deep(.el-tabs__nav) {
2653-
border: none !important;
2653+
border: none;
26542654
}
26552655
26562656
.custom-tabs :deep(.el-tabs__item) {
2657-
border: none !important;
2658-
border-right: 1px solid var(--ctp-surface1) !important;
2659-
color: var(--ctp-subtext1) !important;
2660-
padding: 0 30px !important;
2661-
height: 60px !important;
2657+
border: none;
2658+
border-right: 1px solid var(--ctp-surface1);
2659+
color: var(--ctp-subtext1);
2660+
padding: 0 30px;
2661+
height: 60px;
26622662
display: inline-flex;
26632663
align-items: center;
2664-
transition: all 0.3s ease !important;
2664+
transition: all 0.3s ease;
26652665
}
26662666
26672667
.custom-tabs :deep(.el-tabs__item.is-active) {
2668-
background-color: var(--ctp-surface0) !important;
2669-
color: var(--ctp-green) !important;
2668+
background-color: var(--ctp-surface0);
2669+
color: var(--ctp-green);
26702670
font-weight: bold;
26712671
}
26722672
26732673
.custom-tabs :deep(.el-tabs__content) {
2674-
padding: 40px !important;
2674+
padding: 40px;
26752675
background-color: var(--ctp-surface0);
26762676
}
26772677
@@ -2691,8 +2691,8 @@ body {
26912691
}
26922692
26932693
.custom-alert-info {
2694-
background-color: var(--ctp-surface1) !important;
2695-
border: 1px solid var(--ctp-surface2) !important;
2694+
background-color: var(--ctp-surface1);
2695+
border: 1px solid var(--ctp-surface2);
26962696
}
26972697
26982698
.release-link {

0 commit comments

Comments
 (0)