From a29b28d269acba3e95e1fd3d03f49202c92ee198 Mon Sep 17 00:00:00 2001 From: Irfan Shadik Rishad Date: Thu, 15 Aug 2024 20:16:49 +0600 Subject: [PATCH] fix: css bugs --- CHANGELOG.md | 20 +---- package.json | 2 +- themes/meow.json | 214 +++++++++++++++++++++++++++++++++++++++++------ 3 files changed, 193 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d08146f..c13f38f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,21 +1,5 @@ # CHANGELOG -#### 2.1.0 +#### 2.1.2 -- Syntax color change - -#### 2.0.3 - -- fixed some Js syntax - -#### 2.0.2 - -- bug fix (#10) & JavaScript remodeling - -#### 2.0.1 - -- revert - -#### 2.0.0 - -- remodeled from start +- CSS improvement diff --git a/package.json b/package.json index 1e93d47..a0829be 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "Fresh and clean user interface, code with no distraction. Meow in the darkness.", "publisher": "irfanshadikrishad", "icon": "images/meow.png", - "version": "2.1.1", + "version": "2.1.2", "repository": { "type": "git", "url": "https://github.com/irfanshadikrishad/meow" diff --git a/themes/meow.json b/themes/meow.json index c646bf4..a63d3ad 100644 --- a/themes/meow.json +++ b/themes/meow.json @@ -139,7 +139,17 @@ }, { "name": "unison punctuation", - "scope": "punctuation.definition.delayed.unison,punctuation.definition.list.begin.unison,punctuation.definition.list.end.unison,punctuation.definition.ability.begin.unison,punctuation.definition.ability.end.unison,punctuation.operator.assignment.as.unison,punctuation.separator.pipe.unison,punctuation.separator.delimiter.unison,punctuation.definition.hash.unison", + "scope": [ + "punctuation.definition.delayed.unison", + "punctuation.definition.list.begin.unison", + "punctuation.definition.list.end.unison", + "punctuation.definition.ability.begin.unison", + "punctuation.definition.ability.end.unison", + "punctuation.operator.assignment.as.unison", + "punctuation.separator.pipe.unison", + "punctuation.separator.delimiter.unison", + "punctuation.definition.hash.unison" + ], "settings": { "foreground": "#3DC2EC" } @@ -167,7 +177,12 @@ }, { "name": "punctuation.separator.parameters.python", - "scope": "punctuation.separator.period.python,punctuation.separator.element.python,punctuation.parenthesis.begin.python,punctuation.parenthesis.end.python", + "scope": [ + "punctuation.separator.period.python", + "punctuation.separator.element.python", + "punctuation.parenthesis.begin.python", + "punctuation.parenthesis.end.python" + ], "settings": { "foreground": "#abb2bf" } @@ -265,7 +280,12 @@ }, { "name": "diff", - "scope": "meta.diff.header.from-file,meta.diff.header.to-file,punctuation.definition.from-file.diff,punctuation.definition.to-file.diff", + "scope": [ + "meta.diff.header.from-file", + "meta.diff.header.to-file", + "punctuation.definition.from-file.diff", + "punctuation.definition.to-file.diff" + ], "settings": { "foreground": "#61afef" } @@ -286,14 +306,24 @@ }, { "name": "c++ function", - "scope": "meta.function.c,meta.function.cpp", + "scope": ["meta.function.c", "meta.function.cpp"], "settings": { "foreground": "#3DC2EC" } }, { - "name": "c++ block", - "scope": "punctuation.section.block.begin.bracket.curly.cpp,punctuation.section.block.end.bracket.curly.cpp,punctuation.terminator.statement.c,punctuation.section.block.begin.bracket.curly.c,punctuation.section.block.end.bracket.curly.c,punctuation.section.parens.begin.bracket.round.c,punctuation.section.parens.end.bracket.round.c,punctuation.section.parameters.begin.bracket.round.c,punctuation.section.parameters.end.bracket.round.c", + "name": "C++ block", + "scope": [ + "punctuation.section.block.begin.bracket.curly.cpp", + "punctuation.section.block.end.bracket.curly.cpp", + "punctuation.terminator.statement.c", + "punctuation.section.block.begin.bracket.curly.c", + "punctuation.section.block.end.bracket.curly.c", + "punctuation.section.parens.begin.bracket.round.c", + "punctuation.section.parens.end.bracket.round.c", + "punctuation.section.parameters.begin.bracket.round.c", + "punctuation.section.parameters.end.bracket.round.c" + ], "settings": { "foreground": "#abb2bf" } @@ -352,9 +382,31 @@ }, { "name": "java modifier.import", - "scope": "punctuation.section.block.begin.java,punctuation.section.block.end.java,punctuation.definition.method-parameters.begin.java,punctuation.definition.method-parameters.end.java,meta.method.identifier.java,punctuation.section.method.begin.java,punctuation.section.method.end.java,punctuation.terminator.java,punctuation.section.class.begin.java,punctuation.section.class.end.java,punctuation.section.inner-class.begin.java,punctuation.section.inner-class.end.java,meta.method-call.java,punctuation.section.class.begin.bracket.curly.java,punctuation.section.class.end.bracket.curly.java,punctuation.section.method.begin.bracket.curly.java,punctuation.section.method.end.bracket.curly.java,punctuation.separator.period.java,punctuation.bracket.angle.java,punctuation.definition.annotation.java,meta.method.body.java", + "scope": [ + "punctuation.section.block.begin.java", + "punctuation.section.block.end.java", + "punctuation.definition.method-parameters.begin.java", + "punctuation.definition.method-parameters.end.java", + "meta.method.identifier.java", + "punctuation.section.method.begin.java", + "punctuation.section.method.end.java", + "punctuation.terminator.java", + "punctuation.section.class.begin.java", + "punctuation.section.class.end.java", + "punctuation.section.inner-class.begin.java", + "punctuation.section.inner-class.end.java", + "meta.method-call.java", + "punctuation.section.class.begin.bracket.curly.java", + "punctuation.section.class.end.bracket.curly.java", + "punctuation.section.method.begin.bracket.curly.java", + "punctuation.section.method.end.bracket.curly.java", + "punctuation.separator.period.java", + "punctuation.bracket.angle.java", + "punctuation.definition.annotation.java", + "meta.method.body.java" + ], "settings": { - "foreground": "#abb2bf" + "foreground": "#D19A66" } }, { @@ -366,7 +418,11 @@ }, { "name": "java modifier.import", - "scope": "storage.modifier.import.java,storage.type.java,storage.type.generic.java", + "scope": [ + "storage.modifier.import.java", + "storage.type.java", + "storage.type.generic.java" + ], "settings": { "foreground": "#e5c07b" } @@ -408,21 +464,32 @@ }, { "name": "support.constant.property-value.scss", - "scope": "support.constant.property-value.scss,support.constant.property-value.css", + "scope": [ + "support.constant.property-value.scss", + "support.constant.property-value.css", + "meta.property-value.css" + ], "settings": { "foreground": "#d19a66" } }, { "name": "CSS/SCSS/LESS Operators", - "scope": "keyword.operator.css,keyword.operator.scss,keyword.operator.less", + "scope": [ + "keyword.operator.css", + "keyword.operator.scss", + "keyword.operator.less" + ], "settings": { "foreground": "#56b6c2" } }, { "name": "css color standard name", - "scope": "support.constant.color.w3c-standard-color-name.css,support.constant.color.w3c-standard-color-name.scss", + "scope": [ + "support.constant.color.w3c-standard-color-name.css", + "support.constant.color.w3c-standard-color-name.scss" + ], "settings": { "foreground": "#d19a66" } @@ -450,7 +517,11 @@ }, { "name": "js/ts module", - "scope": "support.module.node,support.type.object.module,support.module.node", + "scope": [ + "support.module.node", + "support.type.object.module", + "support.module.node" + ], "settings": { "foreground": "#e5c07b" } @@ -464,7 +535,13 @@ }, { "name": "js variable readwrite", - "scope": "variable.other.readwrite, meta.object-literal.key,support.variable.property,support.variable.object.process,support.variable.object.node", + "scope": [ + "variable.other.readwrite", + "meta.object-literal.key", + "support.variable.property", + "support.variable.object.process", + "support.variable.object.node" + ], "settings": { "foreground": "#3DC2EC" } @@ -511,7 +588,7 @@ }, { "name": "js console function", - "scope": "entity.name.function,support.function.console", + "scope": ["entity.name.function", "support.function.console"], "settings": { "foreground": "#61afef" } @@ -553,14 +630,33 @@ }, { "name": "keyword.operator", - "scope": "keyword.operator.arithmetic,keyword.operator.comparison,keyword.operator.decrement,keyword.operator.increment,keyword.operator.relational", + "scope": [ + "keyword.operator.arithmetic", + "keyword.operator.comparison", + "keyword.operator.decrement", + "keyword.operator.increment", + "keyword.operator.relational" + ], "settings": { "foreground": "#56b6c2" } }, { "name": "C operator assignment", - "scope": "keyword.operator.assignment.c,keyword.operator.comparison.c,keyword.operator.c,keyword.operator.increment.c,keyword.operator.decrement.c,keyword.operator.bitwise.shift.c,keyword.operator.assignment.cpp,keyword.operator.comparison.cpp,keyword.operator.cpp,keyword.operator.increment.cpp,keyword.operator.decrement.cpp,keyword.operator.bitwise.shift.cpp", + "scope": [ + "keyword.operator.assignment.c", + "keyword.operator.comparison.c", + "keyword.operator.c", + "keyword.operator.increment.c", + "keyword.operator.decrement.c", + "keyword.operator.bitwise.shift.c", + "keyword.operator.assignment.cpp", + "keyword.operator.comparison.cpp", + "keyword.operator.cpp", + "keyword.operator.increment.cpp", + "keyword.operator.decrement.cpp", + "keyword.operator.bitwise.shift.cpp" + ], "settings": { "foreground": "#ff6189" } @@ -623,7 +719,13 @@ }, { "name": "python block", - "scope": "punctuation.definition.arguments.begin.python,punctuation.definition.arguments.end.python,punctuation.separator.arguments.python,punctuation.definition.list.begin.python,punctuation.definition.list.end.python", + "scope": [ + "punctuation.definition.arguments.begin.python", + "punctuation.definition.arguments.end.python", + "punctuation.separator.arguments.python", + "punctuation.definition.list.begin.python", + "punctuation.definition.list.end.python" + ], "settings": { "foreground": "#abb2bf" } @@ -658,7 +760,10 @@ }, { "name": "Compound Assignment Operators js/ts", - "scope": "keyword.operator.assignment.compound.js,keyword.operator.assignment.compound.ts", + "scope": [ + "keyword.operator.assignment.compound.js", + "keyword.operator.assignment.compound.ts" + ], "settings": { "foreground": "#56b6c2" } @@ -821,7 +926,15 @@ }, { "name": "Source Js Keyword Operator Delete,source Js Keyword Operator In,source Js Keyword Operator Of,source Js Keyword Operator Instanceof,source Js Keyword Operator New,source Js Keyword Operator Typeof,source Js Keyword Operator Void", - "scope": "keyword.operator.expression.delete,keyword.operator.expression.in,keyword.operator.expression.of,keyword.operator.expression.instanceof,keyword.operator.new,keyword.operator.expression.typeof,keyword.operator.expression.void", + "scope": [ + "keyword.operator.expression.delete", + "keyword.operator.expression.in", + "keyword.operator.expression.of", + "keyword.operator.expression.instanceof", + "keyword.operator.new", + "keyword.operator.expression.typeof", + "keyword.operator.expression.void" + ], "settings": { "foreground": "#ff6189" } @@ -849,7 +962,11 @@ }, { "name": "[VSCODE-CUSTOM] toml support", - "scope": "support.type.property-name.toml, support.type.property-name.table.toml, support.type.property-name.array.toml", + "scope": [ + "support.type.property-name.toml", + "support.type.property-name.table.toml", + "support.type.property-name.array.toml" + ], "settings": { "foreground": "#3DC2EC" } @@ -1237,14 +1354,14 @@ "name": "[VSCODE-CUSTOM] JSON Property Name", "scope": "support.type.property-name.json", "settings": { - "foreground": "#3DC2EC" + "foreground": "#FF6189" } }, { "name": "[VSCODE-CUSTOM] JSON Punctuation for Property Name", "scope": "support.type.property-name.json punctuation", "settings": { - "foreground": "#3DC2EC" + "foreground": "#FF6189" } }, { @@ -2064,7 +2181,14 @@ }, { "name": "js/ts italic", - "scope": "entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super", + "scope": [ + "entity.other.attribute-name.js", + "entity.other.attribute-name.ts", + "entity.other.attribute-name.jsx", + "entity.other.attribute-name.tsx", + "variable.parameter", + "variable.language.super" + ], "settings": { "fontStyle": "italic" } @@ -2096,9 +2220,51 @@ "scope": ["source.python", "source.swift", "source.sql"], "settings": { "foreground": "#F4A261" } }, + { + "scope": [ + "support.constant.media.css", + "entity.other.keyframe-offset.css" + ], + "settings": { + "foreground": "#3DC2EC" + } + }, + { + "name": "CSS Unit", + "scope": [ + "keyword.other.unit.px.css", + "keyword.other.unit.em.css", + "keyword.other.unit.rem.css", + "keyword.other.unit.vw.css", + "keyword.other.unit.vh.css", + "keyword.other.unit.vmin.css", + "keyword.other.unit.vmax.css", + "keyword.other.unit.percentage.css", + "keyword.other.unit.ch.css", + "keyword.other.unit.ex.css", + "keyword.other.unit.cm.css", + "keyword.other.unit.mm.css", + "keyword.other.unit.in.css", + "keyword.other.unit.pt.css", + "keyword.other.unit.pc.css", + "keyword.other.unit.q.css", + "keyword.other.unit.s.css", + "keyword.other.unit.ms.css", + "keyword.other.unit.deg.css", + "keyword.other.unit.grad.css", + "keyword.other.unit.rad.css", + "keyword.other.unit.turn.css", + "keyword.other.unit.fr.css", + "keyword.other.unit.dpi.css", + "keyword.other.unit.dpcm.css", + "keyword.other.unit.dppx.css" + ], + "settings": { "foreground": "#D19A66" } + }, { "name": "dim operators", "scope": [ + "keyword.operator.combinator.css", "punctuation.terminator.statement.ts", "keyword.operator.type.annotation.ts", "punctuation.separator.parameter.ts",