fixed tailwind intelliscence

This commit is contained in:
somrat sorkar 2023-06-03 17:08:32 +06:00
parent 5e3c90392a
commit 0dec449704
3 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,6 @@ const purgecss = {
/^gc/, /^gc/,
/^gs/, /^gs/,
/^gi/, /^gi/,
/^gi/,
/^gz/, /^gz/,
/^desc/, /^desc/,
/^zoom/, /^zoom/,

View File

@ -1,6 +1,8 @@
const toml = require("toml"); const toml = require("toml");
const fs = require("fs"); const fs = require("fs");
const getConfig = fs.readFileSync("config.toml", "utf8"); const path = require("path");
const configPath = path.join(__dirname, "config.toml");
const getConfig = fs.readFileSync(configPath, "utf8");
const theme = JSON.parse(JSON.stringify(toml.parse(getConfig))); const theme = JSON.parse(JSON.stringify(toml.parse(getConfig)));
let font_base = Number(theme.params.fonts.font_size.base.replace("px", "")); let font_base = Number(theme.params.fonts.font_size.base.replace("px", ""));

View File

@ -1,7 +1,7 @@
{ {
"name": "hugoplate", "name": "hugoplate",
"description": "hugo tailwindcss boilerplate", "description": "hugo tailwindcss boilerplate",
"version": "1.0.4", "version": "1.0.5",
"license": "MIT", "license": "MIT",
"author": "zeon.studio", "author": "zeon.studio",
"scripts": { "scripts": {