mirror of
https://github.com/zhigang1992/nativewind.git
synced 2026-06-13 01:18:18 +08:00
fix: website lightmode colors
This commit is contained in:
@@ -21,7 +21,7 @@ const sidebars = {
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "overview",
|
||||
label: "Overview",
|
||||
collapsed: false,
|
||||
items: [
|
||||
"overview/overview",
|
||||
@@ -40,10 +40,6 @@ const sidebars = {
|
||||
"quick-starts/create-react-native-app",
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Setup",
|
||||
@@ -59,20 +55,12 @@ const sidebars = {
|
||||
"guides/postcss-native",
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Guides",
|
||||
collapsed: false,
|
||||
items: ["guides/theme-values", "guides/tailwindcss-react-native"],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "API",
|
||||
@@ -85,10 +73,6 @@ const sidebars = {
|
||||
"api/use-tailwind",
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Core concepts",
|
||||
@@ -103,10 +87,6 @@ const sidebars = {
|
||||
"core-concepts/units",
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Customization",
|
||||
@@ -119,10 +99,6 @@ const sidebars = {
|
||||
"customization/babel",
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Layout",
|
||||
@@ -137,10 +113,6 @@ const sidebars = {
|
||||
"tailwind/layout/z-index",
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Flexbox",
|
||||
@@ -190,10 +162,6 @@ const sidebars = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Spacing",
|
||||
@@ -212,10 +180,6 @@ const sidebars = {
|
||||
"tailwind/spacing/space-between",
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Sizing",
|
||||
@@ -253,10 +217,6 @@ const sidebars = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Typography",
|
||||
@@ -304,20 +264,12 @@ const sidebars = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Background",
|
||||
collapsed: false,
|
||||
items: ["tailwind/backgrounds/background-color"],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Borders",
|
||||
@@ -340,10 +292,6 @@ const sidebars = {
|
||||
"tailwind/borders/divide-style",
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Effects",
|
||||
@@ -361,10 +309,6 @@ const sidebars = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "Transforms",
|
||||
@@ -392,10 +336,6 @@ const sidebars = {
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
type: "html",
|
||||
value: "<br />",
|
||||
},
|
||||
{
|
||||
type: "category",
|
||||
label: "SVG",
|
||||
|
||||
@@ -192,7 +192,7 @@ html[data-theme="light"] {
|
||||
--ifm-toc-border-color: #e6e6e6;
|
||||
--ifm-link-color: #0055ff;
|
||||
--ifm-color-primary: #0055ff;
|
||||
--ifm-menu-color-background-active: rgba(227, 0, 189, 0.08);
|
||||
--ifm-menu-color-background-active: rgba(9, 75, 255, 0.08);
|
||||
|
||||
main {
|
||||
.container {
|
||||
|
||||
@@ -139,12 +139,12 @@ html[data-theme="light"] {
|
||||
.menu {
|
||||
.menu__link:hover,
|
||||
.menu__caret:hover {
|
||||
color: $color-secondary-purple;
|
||||
color: $color-secondary-blue;
|
||||
}
|
||||
|
||||
.menu__list-item-collapsible:hover {
|
||||
.menu__link {
|
||||
color: $color-secondary-purple;
|
||||
color: $color-secondary-blue;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -156,7 +156,7 @@ html[data-theme="light"] {
|
||||
}
|
||||
|
||||
&--active:not(.menu__link--sublist) {
|
||||
color: $color-secondary-purple;
|
||||
color: $color-secondary-blue;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user