SEFARIA_API_NODE = "https://www.sefaria.org/api/texts/"
CACHE_MONITOR_LOOP_DELAY_IN_SECONDS = 86400
CACHE_LIFETIME_SECONDS = 604800

category_colors = {
  "Commentary":         "#4871bf",
  "Tanakh":             "#004e5f",
  "Midrash":            "#5d956f",
  "Mishnah":            "#5a99b7",
  "Talmud":             "#ccb479",
  "Halakhah":           "#802f3e",
  "Kabbalah":           "#594176",
  "Philosophy":         "#7f85a9",
  "Liturgy":            "#ab4e66",
  "Tanaitic":           "#00827f",
  "Parshanut":          "#9ab8cb",
  "Responsa":           "#cb6158",
  "Apocrypha":          "#c7a7b4",
  "Other":              "#073570",
  "Quoting Commentary": "#cb6158",
  "Sheets":             "#7c406f",
  "Community":          "#7c406f",
  "Targum":             "#7f85a9",
  "Modern Works":       "#7c406f",
  "Modern Commentary":  "#7c406f",
}

platform_settings = {
    "twitter": {
        "font_size": 29,
        "additional_line_spacing_he": 5,
        "additional_line_spacing_en": -10,
        "image_width": 506,
        "image_height": 253,
        "margin": 20,
        "category_color_line_width": 7,
        "sefaria_branding": False,
        "branding_height": 0
    },
    "facebook": {
        "font_size": 70,
        "additional_line_spacing_he": 12,
        "additional_line_spacing_en": -20,
        "image_width": 1200,
        "image_height": 630,
        "margin": 40,
        "category_color_line_width": 15,
        "sefaria_branding": False,
        "branding_height": 0

    },

    "instagram": {
        "font_size": 70,
        "additional_line_spacing_he": 12,
        "additional_line_spacing_en": 0,
        "image_width": 1040,
        "image_height": 1040,
        "margin": 40,
        "category_color_line_width": 13,
        "sefaria_branding": True,
        "branding_height": 100
    }

}
  "Chasidut":           "#97b386",
  "Musar":              "#7c406f",