Skip to content

Data Annotation Tech Dark Mode by jorgeivanburgosaguilar

Mirrored from https://github.com/jorgeivanburgosaguilar/DataAnnotationTechDarkMode/raw/main/DataAnnotationTechDarkMode.user.css

Screenshot of Data Annotation Tech Dark Mode

Details

Authorjorgeivanburgosaguilar

LicenseUnlicense

Categoryapp.dataannotation.tech

Created

Updated

Size13 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

A dark theme for Data Annotation Tech with custom font support.

Notes

Pull requests accepted accepted via the style repo at github.

Source code

Source code has over 10K characters, so we truncated it. You can inspect the full source code on install link.
/* ==UserStyle==
@name        Data Annotation Tech Dark Mode
@description A dark theme for Data Annotation Tech with custom font support.
@namespace   jorgeivanburgosaguilar
@version     202409181828
@homepageURL https://github.com/jorgeivanburgosaguilar/DataAnnotationTechDarkMode
@license     Unlicense
@author      Jorge Ivan Burgos Aguilar
@advanced dropdown font-choice "Font" {
  datdefault "DAT Default" <<<EOT
  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" EOT;
  intelonemonomedium "Intel One Mono Medium" <<<EOT
  "IntoneMono NF Medium", "Intel One Mono Medium", monospace EOT;
  custom "Custom" <<<EOT
  var(--datdm-font-custom) EOT;
}
@advanced text font-custom "Custom Font" Consolas, monospace
@advanced dropdown show-money "Show Money Widget" {
  money-yes "Yes" <<<EOT
  flex EOT;
  money-no "No" <<<EOT
  none EOT;
}
==/UserStyle== */
@-moz-document url-prefix("https://app.dataannotation.tech/")
{
  :root {
    --datdm-font-custom: /*[[font-custom]]*/ ;
    --font-primary: /*[[font-choice]]*/ ;
    --bg-primary: #000000;
    --bg-secondary: #333333;
    --bg-ternary: #696969;
    --bg-highlight: #540707;
    --bg-blue: #000099;
    --bg-green: #336600;
    --border-primary: 1px solid #ffffff;
    --border-secondary: 1px solid #606060;
    --text-primary: #ffffff;
    --text-secondary: #c0c0c0;
    --text-active: #3366cc;
    --text-red: #ff0000;
    --text-blue: #0080ff;
    --check-color: #000000;
    --table-padding: 5px;
    --display-money: /*[[show-money]]*/ ;

    color-scheme: dark !important;
  }

  * {
    font-family: var(--font-primary) !important;
  }

  body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
  }

  a,
  a:link,
  a:visited,
  a:hover {
    color: var(--text-primary);
    text-decoration: underline;
  }

  a:active {
    color: var(--text-active);
  }

  button,
  input,
  textarea,
  select,
  optgroup,
  option {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
  }

  pre,
  code {
    background-color: var(--bg-ternary);
    color: var(--text-primary);
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  label {
    color: var(--text-primary);
  }

  table,
  table td,
  table tr,
  table th,
  table thead,
  table tbody,
  table tfoot {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    border: var(--border-primary);
  }

  table th,
  table thead,
  table tfoot {
    padding: var(--table-padding) !important;
  }

  /* Forms */
  .input-base,
  .form-control,
  .form-control:focus {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
  }

  .form-control:disabled,
  .form-control[readonly] {
    background-color: var(--bg-secondary);
    opacity: 0.75;
  }

  .input-base {
    margin-bottom: 5px;
  }

  /* Money widget */
  .jEAXCg {
    display: var(--display-money) !important;
    background-color: var(--bg-secondary) !important;
    border: var(--border-secondary) !important;
  }

  .jEAXCg a {
    text-decoration: none !important;
  }

  /* Timer widget */
  #workers\/ExpirationTimer-hybrid-root div {
    background-color: var(--bg-primary);
    border: var(--border-primary);
    padding: 10px;
    margin-right: 2px;
    z-index: 999 !important;
    border-top: var(--border-primary) !important;
  }

  /* Navbar */
  .bg-primary,
  .navbar-inverse {
    background-color: var(--bg-secondary) !important;
  }

  a.navbar-brand {
    text-decoration: none;
  }

  .dropdown-menu {
    background-color: var(--bg-secondary) !important;
    border: var(--border-secondary);
  }

  /* Breadcrumbs */
  .breadcrumb,
  .breadcrumb-item {
    background-color: var(--bg-ternary);
    color: var(--text-primary) !important;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    color: var(--text-primary) !important;
  }

  /* Work on projects */
  .tVEIx::after,
  .tVEIx::before,
  .kCfoZC::after,
  .kCfoZC::before {
    background: none !important;
  }

  #workers\/WorkerProjectsTable-hybrid-root td .tw-p-4 {
    padding: 0.9rem;
  }

  .tw-bg-white,
  .tw-bg-white-100 {
    background-color: var(--bg-primary);
  }

  /* Tasks */
  .flGUUQ,
  .jngZIT,
  .ggkPPj,
  .djagpQ,
  .bGSzsD {
    * {
      color: var(--text-primary);
    }

    mark {
      background-color: var(--bg-highlight) !important;
    }

    code {
      color: inherit;
    }

    button.tw-bg-white,
    button.tw-bg-white-100 {
      background-color: var(--bg-ternary);
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    strong,
    b {
      color: var(--text-primary);
    }

    input[type="radio"],
    input[type="checkbox"] {
      color: var(--check-color);
      border: var(--border-primary);
    }

    table {
      background-color: var(--bg-primary);
    }

    table,
    table td,
    table tr,
    table th,
    table thead,
    table tbody,
    table tfoot {
      border: var(--border-primary);
    }

    ol > li::before {
      color: var(--text-primary);
    }

    [style*="color: black"],
    [style*="color: #000000"],
    [style*="color: rgb(0, 0, 0)"],
    [style*="color: rgb(5, 5, 5)"],
    [style*="color: rgb(10, 10, 10)"],
    [style*="color: rgb(17, 24, 39)"],
    [style*="color: rgb(26, 26, 26)"],
    [style*="color: rgb(29, 28, 29)"],
    [style*="color: rgb(29, 29, 29)"],
    [style*="color: rgb(31, 31, 31)"],
    [style*="color: rgb(32, 33, 36)"],
    [style*="color: rgb(33, 33, 33)"],
    [style*="color: rgb(33, 37, 41)"],
    [style*="color: rgb(34, 34, 34)"],
    [style*="color: rgb(37, 36, 40)"],
    [style*="color: rgb(51, 51, 51)"],
    [style*="color: rgb(52, 53, 65)"],
    [style*="color: rgb(65, 80, 92)"],
    [style*="color: rgb(67, 67, 67)"],
    [style*="color: rgb(68, 71, 70)"],
    [style*="color: rgb(103, 78, 167)"],
    [style*="color: rgb(153, 153, 153)"],
    [style*="color: rgba(0, 0, 0, 0.85)"],
    [style*="color: rgba(0, 0, 0, 0.9)"],
    [style*="color: rgba(26, 26, 26, 0.9)"] {
      color: var(--text-primary) !important;
    }

    [style*="color:red"] b,
    [style*="color: rgb(204, 0, 0)"],
    [style*="color: rgb(204, 65, 37)"],
    [style*="color: rgb(133, 32, 12)"],
    [style*="color: rgb(153, 0, 0)"],
    [style*="color: rgb(166, 28, 0)"],
    [style*="color: rgb(166, 77, 121)"] {
      color: var(--text-red) !important;
    }

    [style*="color: rgb(17, 85, 204)"],
    [style*="color: rgb(60, 120, 216)"],
    [style*="color: rgb(61, 133, 198)"],
    [style*="color: rgb(103, 78, 167)"],
    [style*="color: rgb(118, 165, 175)"] {
      color: var(--text-blue) !important;
    }

    [style*="background-color: rgb(206, 231, 247)"],
    [style*="background-color: rgb(214, 239, 214)"],
    [style*="background-color: #fff"],
    [style*="background-color: white"],
    [style*="background: #cbe6b3"] {
      background-color: var(--bg-secondary) !important;
    }

    [style*="background-color: lightblue"],
    [style*="background-color: lightskyblue"] {
      background-color: var(--bg-blue) !important;
      opacity: 1 !important;
    }

    [style*="background-color: palegreen"] {
      background-color: var(--bg-green) !important;
      opacity: 1 !important;
    }

    [style*="background-color: lightgray"] {
      background-color: var(--bg-secondary) !important;
      opacity: 1 !important;
    }

    [style*="background-color: lemonchiffon"] {
      background-color: var(--bg-secondary) !important;
      opacity: 0.4 !important;
    }

    [style*="background-color: lightpink"] {
      background-color: sienna !important;
    }

    .chat-history code {
      background-color: transparent;
    }

    .chat-history [style*="font-size: 10px"] {
      font-size: 1rem !important;
    }

    .container {
      background-color: var(--bg-primary);
    }

    .bot-msg {
      background-color: var(--bg-primary);
    }

    .pre {
      font-size: 1em;
    }

    .opa-preview,
    .opa-preview-pixel-fullscreen {
      background-color: var(--bg-primary) !important;
    }
  }

  .surge-wysiwyg {
    --tw-prose-headings: var(--text-primary) !important;

    color: var(--text-primary) !important;
  }

  .surge-wysiwyg ::marker {
    color: var(--text-primary) !important;
  }

  .tw-bg-black-5.tw-py-2.tw-px-5.tw-rounded-lg.tw-my-5,
  .tw-bg-white.tw-rounded-md.tw-flex.tw-flex-col {
    border: var(--border-secondary);
  }

  .hWlozi,
  .dOlhok,
  .fgeTfs {
    border: var(--border-secondary);

    table {
      width: 100% !important;
      table-layout: fixed;
    }

    table td {
      word-break: break-word;
    }
  }

  .with-tailwind-u4xenr-control,
  .with-tailwind-18a0yo6-control,
  .with-tailwind-1nmdiq5-menu {
    background-color: var(--bg-secondary);
    border: var(--border-primary);
  }

  .with-tailwind-1nmdiq5-menu div {
    color: var(--text-primary);
  }

  .with-tailwind-1nmdiq5-menu div div:hover {
    background-color: var(--bg-ternary);
    text-decoration: underline;
  }

  .with-tailwind-1dimb5e-singleValue {
    color: var(--text-primary);
  }

  .with-tailwind-14byfmz-placeholder {
    color: var(--text-primary);
  }

  .cm-editor {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
  }

  .cm-gutters,
  .cm-activeLineGutter {
    background-color: var(--bg-ternary) !important;
  }

  .cm-gutters {
    border-right: var(--border-secondary) !important;
  }

  .cm-content,
  .cm-line,
  .cm-activeLine {
    caret-color: var(--text-primary) !important;
  }

  .list-group-item {
    background-color: var(--bg-primary);
    border: var(--border-primary);
  }

  .hover\:tw-bg-gray-100:hover {
    background-color: inherit;
  }

  .hover\:tw-bg-white:hover {
    background-color: var(--bg-primary);
  }

  .after\:tw-bg-gray-300\/50::after {
    opacity: 0.45;
  }

  /* Tasks 1-column mode for small screens */
  @media (width < 1400px) {
    .flGUUQ,
    .jngZIT,
    .ggkPPj,
    ....

Reviews

No reviews yet.