Last active
          November 13, 2022 03:07 
        
      - 
      
 - 
        
Save StirlingBaker/b5e658fee4677f7bce187de9fe90bb84 to your computer and use it in GitHub Desktop.  
    Obsidian Callouts Dataview Attributes Custom CSS
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | .theme-dark { | |
| --dataview-key: #ffc94a; | |
| --dataview-value: #ffffff; | |
| } | |
| .theme-light { | |
| --dataview-key: #000; | |
| --dataview-value: #000; | |
| } | |
| /* CALLOUTS */ | |
| .callout-icon { | |
| padding-right: 5px; | |
| } | |
| /* CALLOUTS - DATAVIEW INLINE FIELD KEY */ | |
| span.dataview.inline-field-key { | |
| padding-top: 1px; | |
| padding-bottom: 2px; | |
| padding-left: 0px; | |
| padding-right: 3px; | |
| margin-right: 5px; | |
| background-color: none; | |
| color: var(--dataview-key); | |
| border-radius: 4px; | |
| border: none; | |
| font-family: "iA Writer Mono V"; | |
| font-weight: 600; | |
| } | |
| span.dataview.inline-field-value { | |
| color: var(--dataview-value); | |
| font-family: "iA Writer Mono V"; | |
| } | |
| span.dataview.inline-field-key:after { | |
| content: none; | |
| } | |
| /* CUSTOM CALLOUTS */ | |
| .callout[data-callout="meta"] { | |
| --callout-color: 87, 148, 159; | |
| --callout-icon: lucide-layers !important; | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment