diff --git a/assets/styles/layout/_doc.scss b/assets/styles/layout/_doc.scss index 3376218bc4..1983f485c6 100644 --- a/assets/styles/layout/_doc.scss +++ b/assets/styles/layout/_doc.scss @@ -293,6 +293,13 @@ } } + &.doc-option-parameter { + > .doc-option-parameter-scope { + font-weight: 500; + color: var(--surface-600); + } + } + &:first-child { color: var(--primary-color); font-weight: 700; @@ -322,9 +329,9 @@ } } - .doc-option-props { + .doc-option-default, + .doc-option-returnType { display: flex; - background: var(--bluegray-50); border-width: 1px; border-style: solid; border-radius: 6px; @@ -343,6 +350,16 @@ } } } + + .doc-option-light { + background: var(--bluegray-50); + border-color: var(--bluegray-100); + } + + .doc-option-dark { + background: var(--bluegray-800); + border-color: var(--bluegray-800); + } } } } diff --git a/components/doc/DocApiTable.vue b/components/doc/DocApiTable.vue index 1a4819c33c..38deae2900 100644 --- a/components/doc/DocApiTable.vue +++ b/components/doc/DocApiTable.vue @@ -22,17 +22,17 @@ -
+
{{ v === '' || v === undefined ? 'null' : v }}
- {{ v }} +
+ {{ v }} +
+ + {{ v }} @@ -165,12 +169,6 @@ export default { } return this.data[0].data ? 1 : 2; - }, - optionLinkClass() { - return this.$appState.darkTheme ? 'text-primary-400' : 'text-primary-600'; - }, - optionPropClass() { - return this.$appState.darkTheme ? 'border-bluegray-800 bg-bluegray-800' : 'border-bluegray-100 bg-bluegray-50'; } } };