mirror of
https://github.com/notion-enhancer/notion-enhancer.git
synced 2025-04-09 15:09:02 +00:00
remove csp-blocked fonts from themes
This commit is contained in:
parent
60a7b57ccc
commit
809df67a14
@ -6,8 +6,6 @@
|
|||||||
* (https://notion-enhancer.github.io/) under the MIT license
|
* (https://notion-enhancer.github.io/) under the MIT license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import 'https://rsms.me/inter/inter.css';
|
|
||||||
|
|
||||||
:root.dark {
|
:root.dark {
|
||||||
--dracula--bg: #282a36;
|
--dracula--bg: #282a36;
|
||||||
--dracula--bg_lighter: #424450;
|
--dracula--bg_lighter: #424450;
|
||||||
@ -42,9 +40,6 @@
|
|||||||
--dracula--bg_pink: #8d4a7c;
|
--dracula--bg_pink: #8d4a7c;
|
||||||
--dracula--bg_red: #943844;
|
--dracula--bg_red: #943844;
|
||||||
|
|
||||||
--theme--font_sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
|
|
||||||
'Apple Color Emoji', Arial, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
||||||
|
|
||||||
--theme--accent_blue: var(--dracula--purple);
|
--theme--accent_blue: var(--dracula--purple);
|
||||||
--theme--accent_blue-selection: #bb8dfd3d;
|
--theme--accent_blue-selection: #bb8dfd3d;
|
||||||
--theme--accent_blue-hover: #b179ff;
|
--theme--accent_blue-hover: #b179ff;
|
||||||
|
@ -97,7 +97,7 @@ setup({
|
|||||||
theme: {
|
theme: {
|
||||||
fontFamily: {
|
fontFamily: {
|
||||||
sans: ['var(--theme--font_sans)'],
|
sans: ['var(--theme--font_sans)'],
|
||||||
mono: ['var(--theme--font_mono)'],
|
mono: ['var(--theme--font_code)'],
|
||||||
},
|
},
|
||||||
colors: {
|
colors: {
|
||||||
'notion': 'var(--theme--bg)',
|
'notion': 'var(--theme--bg)',
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* 1.3 supreme ratio. https://www.modularscale.com/ */
|
/* 1.3 supreme ratio. https://www.modularscale.com/ */
|
||||||
.notion-frame .notion-page-block div[placeholder='Untitled'],
|
.notion-frame .notion-page-block > div[placeholder='Untitled'],
|
||||||
.notion-overlay-container .notion-page-block div[placeholder='Untitled'] {
|
.notion-overlay-container .notion-page-block > div[placeholder='Untitled'] {
|
||||||
font-size: 33px !important;
|
font-size: 33px !important;
|
||||||
}
|
}
|
||||||
[placeholder='Heading 1'] {
|
[placeholder='Heading 1'] {
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "neutral",
|
"name": "neutral",
|
||||||
"id": "c4435543-4705-4d68-8cf7-d11c342f8089",
|
"id": "c4435543-4705-4d68-8cf7-d11c342f8089",
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"description": "smoother colours and fonts, designed to be more pleasing to the eye.",
|
"description": "smoother colours and text sizing, designed to be more pleasing to the eye.",
|
||||||
"tags": ["theme", "dark"],
|
"tags": ["theme", "dark"],
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
@ -5,16 +5,7 @@
|
|||||||
* under the MIT license
|
* under the MIT license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import 'https://rsms.me/inter/inter.css';
|
|
||||||
@import 'https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@400&display=swap';
|
|
||||||
|
|
||||||
:root.dark {
|
:root.dark {
|
||||||
--theme--font_sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
|
|
||||||
'Apple Color Emoji', Arial, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
||||||
--theme--font_mono: 'Roboto Mono', iawriter-mono, Nitti, Menlo, Courier, monospace;
|
|
||||||
--theme--font_code: 'Roboto Mono', SFMono-Regular, Consolas, 'Liberation Mono', Menlo,
|
|
||||||
Courier, monospace;
|
|
||||||
|
|
||||||
--theme--accent_blue: #404040;
|
--theme--accent_blue: #404040;
|
||||||
--theme--accent_blue-selection: #52525244;
|
--theme--accent_blue-selection: #52525244;
|
||||||
--theme--accent_blue-hover: #6d6d6d;
|
--theme--accent_blue-hover: #6d6d6d;
|
||||||
|
@ -6,9 +6,6 @@
|
|||||||
* (https://notion-enhancer.github.io/) under the MIT license
|
* (https://notion-enhancer.github.io/) under the MIT license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import 'https://rsms.me/inter/inter.css';
|
|
||||||
@import url('https://fonts.googleapis.com/css2?family=Fira+Code&display=swap');
|
|
||||||
|
|
||||||
:root.dark {
|
:root.dark {
|
||||||
--nord--dark1: #2e3440;
|
--nord--dark1: #2e3440;
|
||||||
--nord--dark2: #3b4252;
|
--nord--dark2: #3b4252;
|
||||||
@ -27,10 +24,6 @@
|
|||||||
--nord--green: #a3be8c;
|
--nord--green: #a3be8c;
|
||||||
--nord--purple: #b48ead;
|
--nord--purple: #b48ead;
|
||||||
|
|
||||||
--theme--font_sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
|
|
||||||
'Apple Color Emoji', Arial, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
||||||
--theme--font_code: 'Fira Code', monospace;
|
|
||||||
|
|
||||||
--theme--accent_blue: var(--nord--frost2);
|
--theme--accent_blue: var(--nord--frost2);
|
||||||
--theme--accent_blue-selection: rgb(136 192 208 / 50%);
|
--theme--accent_blue-selection: rgb(136 192 208 / 50%);
|
||||||
--theme--accent_blue-hover: var(--nord--frost1);
|
--theme--accent_blue-hover: var(--nord--frost1);
|
||||||
|
@ -5,12 +5,7 @@
|
|||||||
* under the MIT license
|
* under the MIT license
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@import 'https://rsms.me/inter/inter.css';
|
|
||||||
|
|
||||||
:root.dark {
|
:root.dark {
|
||||||
--theme--font_sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica,
|
|
||||||
'Apple Color Emoji', Arial, sans-serif, 'Segoe UI Emoji', 'Segoe UI Symbol';
|
|
||||||
|
|
||||||
--theme--accent_blue: #b887f7;
|
--theme--accent_blue: #b887f7;
|
||||||
--theme--accent_blue-selection: rgba(184, 135, 247, 0.3);
|
--theme--accent_blue-selection: rgba(184, 135, 247, 0.3);
|
||||||
--theme--accent_blue-hover: #08d7c2;
|
--theme--accent_blue-hover: #08d7c2;
|
||||||
|
Loading…
Reference in New Issue
Block a user