Skip to content

Commit 79193c2

Browse files
committed
Improve working text select styling
1 parent bc6208a commit 79193c2

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Tekst-Web/public/base.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
--font-size-tiny: 13px;
2222
--font-size-mini: 12px;
2323

24-
--border-radius: 4px;
24+
--border-radius: 3px;
2525
--block-box-shadow: 0 3px 6px 0px rgba(0, 0, 0, 0.04);
2626
--affix-box-shadow: 0 5px 12px 4px rgba(0, 0, 0, 0.15);
2727
}

Tekst-Web/src/components/navigation/TextSelect.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,11 @@ function handleSelect(text: TextRead) {
8888
}
8989
9090
.text-select-btn.n-button--ghost:hover {
91-
background-color: #fff2;
91+
background-color: #ffffff1a;
92+
}
93+
94+
.n-button :deep(.n-button__border) {
95+
border: 1px solid var(--base-color-translucent);
9296
}
9397
9498
.text-title {

Tekst-Web/src/stores/theme.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ export const useThemeStore = defineStore('theme', () => {
158158
'--primary-color-fade5': colors.value.primary.fade5,
159159

160160
'--base-color': dark.value ? '#242424' : '#FFFFFF',
161-
'--base-color-translucent': transparentize(dark.value ? '#242424' : '#FFFFFF', 0.3),
161+
'--base-color-translucent': transparentize(dark.value ? '#242424' : '#FFFFFF', 0.6),
162162
'--text-color': nuiBaseTheme.value.common.textColor1,
163163
'--text-color-translucent': transparentize(nuiBaseTheme.value.common.textColor1, 0.6),
164164

0 commit comments

Comments
 (0)