UliGall/docsify-versioned-plugin

Components are not using docsify's theme style

Opened this issue · 1 comments

Nek-12 commented

The default style is unsightly and does not use docsify's theme colors. The plugins should at least try to use current theme's colors

image

Nek-12 commented

Sensible defaults:

/* App name - custom theme overrides */
    .app-name {
        display: block;
        margin-bottom: 10px;
        text-align: center;
    }
    /* Version selector container */
    .version-selector {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin: 15px auto 10px auto;
  }
  /* Version selector label */
  .version-selector-label {
    margin-right: 10px;
  }
  /* Version selector dropdown */
  .version-selector select {
    font-size: 14px;
    padding: 4px 8px;
    color: var(--theme-color);
    background-color: var(--background-color);
    border: 1px solid var(--theme-color);
    cursor: pointer;
    border-radius: 2px;
    max-width: 200px;
    width: 100%;
  }
  .version-selector select:focus {
    outline: none;
    border-color: var(--selection-color);
  }