Skip to content

Commit

Permalink
Update oneLight
Browse files Browse the repository at this point in the history
  • Loading branch information
gksander committed Sep 26, 2023
1 parent ed13456 commit 89dcc1b
Showing 1 changed file with 31 additions and 27 deletions.
58 changes: 31 additions & 27 deletions packages/prism-react-renderer/src/themes/oneLight.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,66 +12,70 @@ const theme: PrismTheme = {
},
styles: [
{
types: ["comment", "prolog", "doctype", "cdata", "punctuation"],
types: ["comment", "prolog", "cdata"],
style: {
color: "hsl(230, 4%, 64%)",
},
},
{
types: ["namespace"],
style: {
opacity: 0.7,
},
},
{
types: ["tag", "operator", "number"],
types: ["doctype", "punctuation", "entity"],
style: {
color: "hsl(230, 8%, 24%)",
},
},
{
types: ["property", "function"],
types: [
"attr-name",
"class-name",
"boolean",
"constant",
"number",
"atrule",
],
style: {
color: "hsl(35, 99%, 36%)",
},
},
{
types: ["tag-id", "selector", "atrule-id"],
types: ["keyword"],
style: {
color: "hsl(119, 34%, 47%)",
color: "hsl(301, 63%, 40%)",
},
},

{
types: ["attr-name"],
types: ["property", "tag", "symbol", "deleted", "important"],
style: {
color: "hsl(198, 99%, 37%)",
color: "hsl(5, 74%, 59%)",
},
},
{
types: [
"boolean",
"selector",
"string",
"entity",
"url",
"attr-value",
"keyword",
"control",
"directive",
"unit",
"statement",
"char",
"builtin",
"inserted",
"regex",
"atrule",
"attr-value",
"punctuation",
],
style: {
color: "hsl(230, 8%, 24%)",
color: "hsl(119, 34%, 47%)",
},
},
{
types: ["placeholder", "variable"],
types: ["variable", "operator", "function"],
style: {
color: "hsl(221, 87%, 60%)",
},
},
{
types: ["url"],
style: {
color: "hsl(198, 99%, 37%)",
},
},
{
types: ["deleted"],
style: {
Expand Down Expand Up @@ -103,6 +107,6 @@ const theme: PrismTheme = {
},
},
],
};
}

export default theme;
export default theme

0 comments on commit 89dcc1b

Please sign in to comment.