Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
revert: "build: dialtone vue styles (#936)"
Browse files Browse the repository at this point in the history
This reverts commit 3118140
  • Loading branch information
juliodialpad committed Oct 20, 2023
1 parent 75bf92e commit 5928adb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 40 deletions.
1 change: 1 addition & 0 deletions docs/.vuepress/theme/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import NotFound from './layouts/NotFound.vue';
import '@projectRoot/lib/dist/css/dialtone.css';
import './assets/less/dialtone-docs.less';
import './assets/less/dialtone-syntax.less';
import '@dialpad/dialtone-vue/css';
import { onBeforeMount, provide, ref } from 'vue';

export default defineClientConfig({
Expand Down
34 changes: 0 additions & 34 deletions docs/about/whats-new/posts/2023-8-14.md

This file was deleted.

6 changes: 0 additions & 6 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ const { src, dest, watch, series, parallel } = require('gulp');
const del = require('del');
const rename = require('gulp-rename');
const cache = require('gulp-cached');
const concat = require('gulp-concat');
const through2 = require('through2');
const argv = require('yargs').argv;

Expand Down Expand Up @@ -115,7 +114,6 @@ const paths = {
styles: {
inputLib: './lib/build/less/dialtone.less',
outputLib: './lib/dist/css/',
dialtoneVue: './node_modules/@dialpad/dialtone-vue/dist/style.css',
},
svgs: {
sysInput: './lib/build/svg/system/**/*.svg',
Expand Down Expand Up @@ -215,9 +213,7 @@ const libStyles = function (done) {
.pipe(less()) // compile less to css
.pipe(replace('../../fonts/', '../fonts/'))
.pipe(postCSS([postCSSDialtoneGenerator, postCSSResponsify]))
.pipe(src(paths.styles.dialtoneVue))
.pipe(postCSS([autoprefixer()]))
.pipe(concat('dialtone.css'))
.pipe(dest(paths.styles.outputLib))
.pipe(postCSS([postCSSNano]))
.pipe(rename({ suffix: '.min' }))
Expand All @@ -233,9 +229,7 @@ const libStylesDev = function (done) {
.pipe(sourcemaps.init())
.pipe(less()) // compile less to css
.pipe(postCSS([postCSSDialtoneGenerator, postCSSResponsify]))
.pipe(src(paths.styles.dialtoneVue))
.pipe(postCSS([autoprefixer()]))
.pipe(concat('dialtone.css'))
.pipe(sourcemaps.mapSources(function (sourcePath) {
return '../../build/less/' + sourcePath;
}))
Expand Down

0 comments on commit 5928adb

Please sign in to comment.