How to use the evergreen-ui.defaultTheme.palette function in evergreen-ui

To help you get started, we’ve selected a few evergreen-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github segmentio / ctlstore / website / src / Content / index.js View on Github external
var val MetadataRow
    reader := ctlstore.Reader()
    meta := new(MetadataRow)
    _, err := reader.GetRowByKey(ctx, meta, "resources", "metadata", "rs_123")
    return meta, err 
  }

                `}
        
      
    
    
      
        
          {`
  package flags

  import "github.com/segmentio/ctlstore"

  type FlagRow struct {
    Name    string \`ctlstore:"flag_name"\`
    Users   []byte \`ctlstore:"enabled_users"\`
  }

  func Render(ctx context.Content, userID string) error {
    reader := ctlstore.Reader()
    row := new(FlagRow) 
github segmentio / ctlstore / website / src / Content / index.js View on Github external
const Content = () => (
  
    
    
      
        
          Your app shouldn't crash when your database falls over