version 1.13.5 : add theme schema
This commit is contained in:
@@ -4,63 +4,63 @@
|
||||
|
||||
@import url("../styles/syntax.css");
|
||||
|
||||
/* ocean */
|
||||
/* Modern Blue Theme */
|
||||
@layer base {
|
||||
:root {
|
||||
--background: 210 60% 97%; /* Lighter sky blue */
|
||||
--foreground: 220 30% 10%; /* Deep navy */
|
||||
--card: 210 50% 99%; /* Almost white blue */
|
||||
--card-foreground: 220 30% 10%;
|
||||
--popover: 210 50% 99%;
|
||||
--popover-foreground: 220 30% 10%;
|
||||
--primary: 220 85% 55%; /* Vibrant azure blue */
|
||||
--primary-foreground: 210 60% 97%;
|
||||
--secondary: 220 40% 80%; /* Softer sky blue */
|
||||
--secondary-foreground: 220 30% 10%;
|
||||
--muted: 220 40% 80%;
|
||||
--muted-foreground: 220 30% 30%; /* Deeper steel blue */
|
||||
--accent: 200 75% 38%; /* Stronger ocean blue */
|
||||
--accent-foreground: 0 0% 100%; /* Pure white */
|
||||
--destructive: 0 70% 50%; /* More vivid red */
|
||||
--destructive-foreground: 220 30% 95%; /* Lightened foreground */
|
||||
--border: 220 20% 85%; /* Slightly darker grey-blue */
|
||||
--input: 220 20% 85%;
|
||||
--ring: 220 50% 50%; /* More noticeable blue ring */
|
||||
--background: 210 40% 98%;
|
||||
--foreground: 220 30% 15%;
|
||||
--card: 0 0% 100%;
|
||||
--card-foreground: 220 30% 15%;
|
||||
--popover: 0 0% 100%;
|
||||
--popover-foreground: 220 30% 15%;
|
||||
--primary: 210 81% 56%; /* #2281E3 */
|
||||
--primary-foreground: 0 0% 100%;
|
||||
--secondary: 210 30% 90%;
|
||||
--secondary-foreground: 220 30% 15%;
|
||||
--muted: 210 20% 92%;
|
||||
--muted-foreground: 220 15% 50%;
|
||||
--accent: 200 100% 40%;
|
||||
--accent-foreground: 0 0% 100%;
|
||||
--destructive: 0 85% 60%;
|
||||
--destructive-foreground: 0 0% 100%;
|
||||
--border: 210 20% 85%;
|
||||
--input: 210 20% 85%;
|
||||
--ring: 210 81% 56%;
|
||||
--radius: 0.5rem;
|
||||
--chart-1: 210 65% 45%; /* Classic blue */
|
||||
--chart-2: 220 45% 60%; /* Softer sky */
|
||||
--chart-3: 220 75% 45%; /* Azure blue */
|
||||
--chart-4: 200 65% 50%; /* Ocean blue */
|
||||
--chart-5: 240 35% 35%; /* Deeper teal */
|
||||
--chart-1: 210 81% 56%;
|
||||
--chart-2: 200 100% 40%;
|
||||
--chart-3: 220 76% 60%;
|
||||
--chart-4: 190 90% 50%;
|
||||
--chart-5: 230 86% 45%;
|
||||
--line-number-color: rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
.dark {
|
||||
--background: 220 20% 8%; /* Deeper midnight navy */
|
||||
--foreground: 220 85% 92%; /* Brighter sky blue */
|
||||
--card: 220 20% 10%; /* Slightly darker midnight */
|
||||
--card-foreground: 220 85% 92%;
|
||||
--popover: 220 20% 10%;
|
||||
--popover-foreground: 220 85% 92%;
|
||||
--primary: 210 75% 65%; /* Softer but bright blue */
|
||||
--primary-foreground: 220 20% 8%;
|
||||
--secondary: 220 35% 12%; /* Darker steel blue */
|
||||
--secondary-foreground: 220 85% 92%;
|
||||
--muted: 220 35% 12%;
|
||||
--muted-foreground: 210 25% 80%; /* Pale navy */
|
||||
--accent: 220 85% 55%; /* Vibrant azure blue */
|
||||
--accent-foreground: 220 85% 92%;
|
||||
--destructive: 0 75% 50%; /* More noticeable red */
|
||||
--destructive-foreground: 220 85% 92%;
|
||||
--border: 220 35% 12%; /* Darker steel blue */
|
||||
--input: 220 35% 12%;
|
||||
--ring: 220 65% 55%; /* Vivid blue ring */
|
||||
--chart-1: 210 65% 45%; /* Classic blue */
|
||||
--chart-2: 220 45% 60%; /* Softer sky */
|
||||
--chart-3: 220 75% 45%; /* Azure blue */
|
||||
--chart-4: 200 65% 50%; /* Ocean blue */
|
||||
--chart-5: 240 35% 35%; /* Deeper teal */
|
||||
--line-number-color: rgba(255, 255, 255, 0.05);
|
||||
--background: 220 25% 10%;
|
||||
--foreground: 210 30% 96%;
|
||||
--card: 220 25% 15%;
|
||||
--card-foreground: 210 30% 96%;
|
||||
--popover: 220 25% 15%;
|
||||
--popover-foreground: 210 30% 96%;
|
||||
--primary: 210 100% 65%;
|
||||
--primary-foreground: 220 25% 10%;
|
||||
--secondary: 215 25% 20%;
|
||||
--secondary-foreground: 210 30% 96%;
|
||||
--muted: 215 20% 25%;
|
||||
--muted-foreground: 215 20% 65%;
|
||||
--accent: 200 100% 60%;
|
||||
--accent-foreground: 0 0% 100%;
|
||||
--destructive: 0 85% 70%;
|
||||
--destructive-foreground: 0 0% 100%;
|
||||
--border: 215 20% 25%;
|
||||
--input: 215 20% 25%;
|
||||
--ring: 210 100% 65%;
|
||||
--chart-1: 210 100% 65%;
|
||||
--chart-2: 200 100% 60%;
|
||||
--chart-3: 220 90% 70%;
|
||||
--chart-4: 190 100% 65%;
|
||||
--chart-5: 230 90% 60%;
|
||||
--line-number-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,23 +1,20 @@
|
||||
/* ocean */
|
||||
/* Modern Blue Theme */
|
||||
/* Light Mode */
|
||||
.keyword {
|
||||
color: #2563eb;
|
||||
/* Vibrant Blue */
|
||||
color: #1d4ed8; /* Darker blue for better contrast */
|
||||
}
|
||||
|
||||
.function {
|
||||
color: #0284c7;
|
||||
/* Deep Sky Blue */
|
||||
color: #0369a1; /* Deep blue */
|
||||
}
|
||||
|
||||
.punctuation {
|
||||
color: #475569;
|
||||
/* Cool Slate Gray */
|
||||
color: #4b5563; /* Slate gray */
|
||||
}
|
||||
|
||||
.comment {
|
||||
color: #64748b;
|
||||
/* Muted Slate */
|
||||
color: #6b7280; /* Muted gray */
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
.string,
|
||||
@@ -25,34 +22,28 @@
|
||||
.annotation,
|
||||
.boolean,
|
||||
.number {
|
||||
color: #0369a1;
|
||||
/* Dark Cyan */
|
||||
color: #0d9488; /* Teal for better distinction */
|
||||
}
|
||||
|
||||
.tag {
|
||||
color: #1e40af;
|
||||
/* Indigo */
|
||||
color: #1d4ed8; /* Matching keyword color */
|
||||
}
|
||||
|
||||
.attr-name {
|
||||
color: #0ea5e9;
|
||||
/* Light Sky Blue */
|
||||
color: #0284c7; /* Sky blue */
|
||||
}
|
||||
|
||||
.attr-value {
|
||||
color: #2563eb;
|
||||
/* Bright Blue */
|
||||
color: #2563eb; /* Primary blue */
|
||||
}
|
||||
|
||||
/* Dark Mode */
|
||||
.dark .keyword {
|
||||
color: #93c5fd;
|
||||
/* Soft Blue */
|
||||
color: #60a5fa; /* Soft blue */
|
||||
}
|
||||
|
||||
.dark .function {
|
||||
color: #38bdf8;
|
||||
/* Sky Blue */
|
||||
color: #38bdf8; /* Sky blue */
|
||||
}
|
||||
|
||||
.dark .string,
|
||||
@@ -60,23 +51,27 @@
|
||||
.dark .annotation,
|
||||
.dark .boolean,
|
||||
.dark .number {
|
||||
color: #60a5fa;
|
||||
/* Light Blue */
|
||||
color: #2dd4bf; /* Teal */
|
||||
}
|
||||
|
||||
.dark .tag {
|
||||
color: #3b82f6;
|
||||
/* Bold Blue */
|
||||
color: #60a5fa; /* Matching keyword color */
|
||||
}
|
||||
|
||||
.dark .attr-name {
|
||||
color: #67e8f9;
|
||||
/* Aqua */
|
||||
color: #7dd3fc; /* Lighter blue */
|
||||
}
|
||||
|
||||
.dark .attr-value {
|
||||
color: #93c5fd;
|
||||
/* Frosty Blue */
|
||||
color: #3b82f6; /* Brighter blue */
|
||||
}
|
||||
|
||||
.dark .comment {
|
||||
color: #9ca3af; /* Lighter gray for dark mode */
|
||||
}
|
||||
|
||||
.dark .punctuation {
|
||||
color: #9ca3af; /* Lighter gray for dark mode */
|
||||
}
|
||||
|
||||
.youtube {
|
||||
|
||||
Reference in New Issue
Block a user