mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-13 11:50:56 +00:00
Keep source colors in text editor palette (#7698)
Some checks are pending
CI / build (push) Waiting to run
CI / svelte-check (push) Blocked by required conditions
CI / formatting (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / uitest (push) Waiting to run
CI / uitest-pg (push) Waiting to run
CI / uitest-qms (push) Waiting to run
CI / docker-build (push) Blocked by required conditions
CI / dist-build (push) Blocked by required conditions
Some checks are pending
CI / build (push) Waiting to run
CI / svelte-check (push) Blocked by required conditions
CI / formatting (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / uitest (push) Waiting to run
CI / uitest-pg (push) Waiting to run
CI / uitest-qms (push) Waiting to run
CI / docker-build (push) Blocked by required conditions
CI / dist-build (push) Blocked by required conditions
Signed-off-by: Victor Ilyushchenko <alt13ri@gmail.com>
This commit is contained in:
parent
de7ffde86f
commit
7b1fb58529
@ -250,6 +250,7 @@
|
||||
--theme-text-editor-note-anchor-bg-primary-light: #747C81;
|
||||
|
||||
--text-editor-table-border-color: hsl(220, 6%, 40%);
|
||||
--text-editor-color-picker-outline: rgba(250, 222, 201, 0.3);
|
||||
|
||||
--theme-text-editor-palette-text-gray: rgba(155, 155, 155, 1);
|
||||
--theme-text-editor-palette-text-brown: rgba(186, 133, 111, 1);
|
||||
@ -531,6 +532,7 @@
|
||||
--theme-text-editor-note-anchor-bg-primary-light: #D5E5F5;
|
||||
|
||||
--text-editor-table-border-color: #c9cbcd;
|
||||
--text-editor-color-picker-outline: rgb(227, 226, 224);
|
||||
|
||||
--theme-text-editor-palette-text-gray: rgba(120, 119, 116, 1);
|
||||
--theme-text-editor-palette-text-brown: rgba(159, 107, 83, 1);
|
||||
|
@ -33,7 +33,7 @@ function colorVar (tag: string, prefix = 'text'): string {
|
||||
|
||||
function colorSpec (tag: string, prefix = 'text'): ColorSpec {
|
||||
const color = colorVar(tag, prefix)
|
||||
return { color, preview: colorVar(tag) }
|
||||
return { color }
|
||||
}
|
||||
|
||||
const palette = {
|
||||
|
@ -59,7 +59,8 @@
|
||||
position: relative;
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
border: 1px solid var(--theme-button-border);
|
||||
border-radius: 0.25rem;
|
||||
cursor: pointer;
|
||||
box-shadow: var(--text-editor-color-picker-outline) 0px 0px 0px 1px inset;
|
||||
}
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user