mirror of
				https://github.com/notion-enhancer/notion-enhancer.git
				synced 2025-11-04 16:18:08 +11:00 
			
		
		
		
	material-ocean: add other colors & remove non colors related properties
Signed-off-by: blacksuan19 <i@blacksuan19.me>
This commit is contained in:
		
							parent
							
								
									131a2aeb40
								
							
						
					
					
						commit
						063a6742f0
					
				@ -12,103 +12,96 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  --theme_dark--card: #00010a;
 | 
					  --theme_dark--card: #00010a;
 | 
				
			||||||
  --theme_dark--gallery: #00010a;
 | 
					  --theme_dark--gallery: #00010a;
 | 
				
			||||||
 | 
					  --theme_dark--table-border: rgba(255, 255, 255, 0.1);
 | 
				
			||||||
  --theme_dark--interactive_hover: #0f111a77;
 | 
					  --theme_dark--interactive_hover: #0f111a77;
 | 
				
			||||||
  --theme_dark--button_close: #ff4151;
 | 
					  --theme_dark--button_close: #ff4151;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  --theme_dark--selected: rgba(255, 65, 81, 0.2);
 | 
					  --theme_dark--selected: rgba(255, 65, 81, 0.2);
 | 
				
			||||||
  --theme_dark--primary: #ff4151;
 | 
					  --theme_dark--primary: #ff4151;
 | 
				
			||||||
 | 
					  --theme_dark--primary_hover: #ff4151;
 | 
				
			||||||
  --theme_dark--primary_click: #00010a;
 | 
					  --theme_dark--primary_click: #00010a;
 | 
				
			||||||
}
 | 
					  --theme_dark--primary_indicator: #ff4151;
 | 
				
			||||||
/* Scrollbar size */
 | 
					 | 
				
			||||||
::-webkit-scrollbar {
 | 
					 | 
				
			||||||
  width: 8px; /* for vertical */
 | 
					 | 
				
			||||||
  height: 8px; /* for horizontal */
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
/* scrollbar: pointer */
 | 
					 | 
				
			||||||
.notion-scroller {
 | 
					 | 
				
			||||||
  cursor: auto;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
/* Element where vertical and horizontal scrollbars converge */
 | 
					 | 
				
			||||||
::-webkit-scrollbar-corner {
 | 
					 | 
				
			||||||
  background-color: transparent;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Changing the width of horizontal scroller, because of wider table */
 | 
					  --theme_dark--option_active-background: var(--theme_dark--primary);
 | 
				
			||||||
[style^="flex-shrink: 0; flex-grow: 1; width: 100%; max-width: 100%; display: flex; align-items: center; flex-direction: column; font-size: 16px; color: rgba(255, 255, 255, 0.9); padding: 0px 96px 30vh;"]
 | 
					  --theme_dark--option_hover-background: var(--theme_dark--primary_hover);
 | 
				
			||||||
  .notion-selectable
 | 
					 | 
				
			||||||
  .notion-scroller.horizontal::-webkit-scrollbar-track {
 | 
					 | 
				
			||||||
  margin-left: 10px;
 | 
					 | 
				
			||||||
  margin-right: 10px;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Hide "+" button when you hover on table row, because of it's useless for me, and this buttons takes like 15px from the left side of table */
 | 
					  --theme_dark--danger_text: #eb5757;
 | 
				
			||||||
[style^="flex-shrink: 0; flex-grow: 1; width: 100%; max-width: 100%; display: flex; align-items: center; flex-direction: column; font-size: 16px; color: rgba(255, 255, 255, 0.9); padding: 0px 96px 30vh;"]
 | 
					  --theme_dark--danger_border: rgba(235, 87, 87, 0.5);
 | 
				
			||||||
  .notion-table-view
 | 
					 | 
				
			||||||
  [style^="opacity:"]
 | 
					 | 
				
			||||||
  > [role="button"],
 | 
					 | 
				
			||||||
[class="notion-scroller"]
 | 
					 | 
				
			||||||
  > .notion-table-view
 | 
					 | 
				
			||||||
  [style^="opacity:"]
 | 
					 | 
				
			||||||
  > [role="button"] {
 | 
					 | 
				
			||||||
  display: none !important;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
.notion-table-view
 | 
					  --theme_dark--text: #ffffff;
 | 
				
			||||||
  > [data-block-id="e92bc452-807e-4be0-80d5-c60c2d82656f"]
 | 
					  --theme_dark--text_ui: #e0e0e0;
 | 
				
			||||||
  > div:nth-child(4) {
 | 
					  --theme_dark--text_ui_info: #e0e0e0;
 | 
				
			||||||
  display: none !important;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Same as with table. Makes board view more wider */
 | 
					  --theme_dark--text_gray: #e0e0e0;
 | 
				
			||||||
.notion-board-view {
 | 
					  --theme_dark--text_brown: #d8b6a6;
 | 
				
			||||||
  padding-left: 10px !important;
 | 
					  --theme_dark--text_orange: #fde3c0;
 | 
				
			||||||
  padding-right: 10px !important;
 | 
					  --theme_dark--text_yellow: #ebcb8b;
 | 
				
			||||||
}
 | 
					  --theme_dark--text_green: #a3be8c;
 | 
				
			||||||
 | 
					  --theme_dark--text_blue: #81a1c1;
 | 
				
			||||||
 | 
					  --theme_dark--text_purple: #b48ead;
 | 
				
			||||||
 | 
					  --theme_dark--text_pink: #ffc0cb;
 | 
				
			||||||
 | 
					  --theme_dark--text_red: #bf616a;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Changing content block position, less height - higher content block */
 | 
					  --theme_dark--select-text: #0f111a;
 | 
				
			||||||
[style^="position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; height: 30vh;"] {
 | 
					  --theme_dark--select_gray: #e0e0e0;
 | 
				
			||||||
  height: 12vh !important;
 | 
					  --theme_dark--select_brown: #d8b6a6;
 | 
				
			||||||
}
 | 
					  --theme_dark--select_orange: #fde3c0;
 | 
				
			||||||
/* Changing cover image height to match higher content block */
 | 
					  --theme_dark--select_yellow: #ebcb8b;
 | 
				
			||||||
[style^="position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; height: 30vh;"]
 | 
					  --theme_dark--select_green: #a3be8c;
 | 
				
			||||||
  img {
 | 
					  --theme_dark--select_blue: #81a1c1;
 | 
				
			||||||
  height: 20vh !important;
 | 
					  --theme_dark--select_purple: #b48ead;
 | 
				
			||||||
}
 | 
					  --theme_dark--select_pink: #ffc0cb;
 | 
				
			||||||
 | 
					  --theme_dark--select_red: #bf616a;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Hiding selection, because of changing columns width bugs selection inside table */
 | 
					  --theme_dark--bg-text: var(--theme_dark--select-text);
 | 
				
			||||||
[data-block-id^="bf10a506-e70d-4531-b4d5-ec4c2c99e883"]
 | 
					  --theme_dark--bg_gray: var(--theme_dark--select_gray);
 | 
				
			||||||
  [style^="position: absolute; top: 0px; left: 0px; pointer-events: none;"]:not(.notion-presence-container) {
 | 
					  --theme_dark--bg_brown: var(--theme_dark--select_brown);
 | 
				
			||||||
  display: none;
 | 
					  --theme_dark--bg_orange: var(--theme_dark--select_orange);
 | 
				
			||||||
}
 | 
					  --theme_dark--bg_yellow: var(--theme_dark--select_yellow);
 | 
				
			||||||
 | 
					  --theme_dark--bg_green: var(--theme_dark--select_green);
 | 
				
			||||||
 | 
					  --theme_dark--bg_blue: var(--theme_dark--select_blue);
 | 
				
			||||||
 | 
					  --theme_dark--bg_purple: var(--theme_dark--select_purple);
 | 
				
			||||||
 | 
					  --theme_dark--bg_pink: var(--theme_dark--select_pink);
 | 
				
			||||||
 | 
					  --theme_dark--bg_red: var(--theme_dark--select_red);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Changing table header icons to make it smaller */
 | 
					  --theme_dark--line-text: #0f111a;
 | 
				
			||||||
[style^="display: flex; position: absolute; background: rgb(47, 52, 55); z-index: 82; height: 33px; color: rgba(255, 255, 255, 0.6);"]
 | 
					  --theme_dark--line_gray: #e0e0e089;
 | 
				
			||||||
  div:nth-child(1)
 | 
					  --theme_dark--line_brown: #d8b6a692;
 | 
				
			||||||
  svg {
 | 
					  --theme_dark--line_orange: #fde3c09f;
 | 
				
			||||||
  height: 15px !important;
 | 
					  --theme_dark--line_yellow: #ffe6a6ad;
 | 
				
			||||||
  width: 15px !important;
 | 
					  --theme_dark--line_green: #a3be8ca3;
 | 
				
			||||||
  margin-right: -4px;
 | 
					  --theme_dark--line_blue: #81a1c1a3;
 | 
				
			||||||
}
 | 
					  --theme_dark--line_purple: #b48eada8;
 | 
				
			||||||
 | 
					  --theme_dark--line_pink: #ffc0cbb1;
 | 
				
			||||||
 | 
					  --theme_dark--line_red: #bf616a9e;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*center justify column headers. And not these only
 | 
					  --theme_dark--callout-text: var(--theme_dark--line-text);
 | 
				
			||||||
 * apply as far as the letters, so you can't change
 | 
					  --theme_dark--callout_gray: var(--theme_dark--line_gray);
 | 
				
			||||||
 * the whole column color.*/
 | 
					  --theme_dark--callout_brown: var(--theme_dark--line_brown);
 | 
				
			||||||
.notion-table-view-header-cell > div > div {
 | 
					  --theme_dark--callout_orange: var(--theme_dark--line_orange);
 | 
				
			||||||
  margin: 0px auto;
 | 
					  --theme_dark--callout_yellow: var(--theme_dark--line_yellow);
 | 
				
			||||||
  color: #ffffff !important; /*color of column header text*/
 | 
					  --theme_dark--callout_green: var(--theme_dark--line_green);
 | 
				
			||||||
}
 | 
					  --theme_dark--callout_blue: var(--theme_dark--line_blue);
 | 
				
			||||||
 | 
					  --theme_dark--callout_purple: var(--theme_dark--line_purple);
 | 
				
			||||||
 | 
					  --theme_dark--callout_pink: var(--theme_dark--line_pink);
 | 
				
			||||||
 | 
					  --theme_dark--callout_red: var(--theme_dark--line_red);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/*Increases spacing between "header" and entries*/
 | 
					  --theme_dark--code_inline-text: #b3f5c8;
 | 
				
			||||||
.notion-board-group [style="height: 4px;"] {
 | 
					  --theme_dark--code_inline-background: #00010a;
 | 
				
			||||||
  height: 20px !important;
 | 
					  --theme_dark--code-text: var(--theme_dark--text);
 | 
				
			||||||
}
 | 
					  --theme_dark--code-background: #00010a;
 | 
				
			||||||
 | 
					  --theme_dark--code_function: var(--theme_dark--text_blue);
 | 
				
			||||||
/*hide discussions on each page */
 | 
					  --theme_dark--code_keyword: var(--theme_dark--text_pink);
 | 
				
			||||||
.notion-page-view-discussion {
 | 
					  --theme_dark--code_tag: var(--theme_dark--text_pink);
 | 
				
			||||||
  display: none !important;
 | 
					  --theme_dark--code_operator: var(--theme_dark--text_yellow);
 | 
				
			||||||
}
 | 
					  --theme_dark--code_important: var(--theme_dark--text_yellow);
 | 
				
			||||||
 | 
					  --theme_dark--code_property: var(--theme_dark--text_pink);
 | 
				
			||||||
/* wider page previews */
 | 
					  --theme_dark--code_builtin: var(--theme_dark--text_yellow);
 | 
				
			||||||
.notion-peek-renderer > div:nth-child(2) {
 | 
					  --theme_dark--code_attr-name: var(--theme_dark--text_yellow);
 | 
				
			||||||
  max-width: 85vw !important;
 | 
					  --theme_dark--code_comment: var(--theme_dark--text_gray);
 | 
				
			||||||
 | 
					  --theme_dark--code_punctuation: var(--theme_dark--text_gray);
 | 
				
			||||||
 | 
					  --theme_dark--code_doctype: var(--theme_dark--text_gray);
 | 
				
			||||||
 | 
					  --theme_dark--code_number: var(--theme_dark--text_purple);
 | 
				
			||||||
 | 
					  --theme_dark--code_string: var(--theme_dark--text_orange);
 | 
				
			||||||
 | 
					  --theme_dark--code_attr-value: var(--theme_dark--text_orange);
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user