Skip to content

Commit

Permalink
use theme from ui-libs
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Jan 9, 2025
1 parent 8674875 commit b02eac1
Show file tree
Hide file tree
Showing 8 changed files with 258 additions and 606 deletions.
460 changes: 254 additions & 206 deletions ui/src/components/inputs/Editor.vue

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ui/src/components/namespace/Namespaces.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
</script>

<style lang="scss" scoped>
@import "../../styles/color-palette.scss";
@import "@kestra-io/ui-libs/src/scss/color-palette.scss";
.filter {
min-width: 200px;
Expand Down
5 changes: 1 addition & 4 deletions ui/src/styles/app.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use "@kestra-io/ui-libs/src/scss/variables.scss" as global-var;
@use 'element-plus/theme-chalk/src/mixins/mixins' as mixin;

@use "@kestra-io/ui-libs/src/scss/app.scss";
@use "@kestra-io/ui-libs/style.css";

// element-plus
@use "layout/element-plus-overload";
Expand All @@ -14,9 +14,6 @@
@use "layout/root-dark";
@use "layout/html-tag" as *;

@use "layout/theme-light";
@use "layout/theme-dark";

// components
@use "layout/charts";
@use "components/vue-material-design-icon";
Expand Down
73 changes: 0 additions & 73 deletions ui/src/styles/color-palette.scss

This file was deleted.

2 changes: 1 addition & 1 deletion ui/src/styles/layout/element-plus-overload.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@use "sass:map";
@use 'element-plus/theme-chalk/src/mixins/mixins' as *;
@import "@kestra-io/ui-libs/src/scss/variables.scss";
@import "../color-palette.scss";
@import "@kestra-io/ui-libs/src/scss/color-palette.scss";

// button
.el-button {
Expand Down
2 changes: 1 addition & 1 deletion ui/src/styles/layout/root.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
@use 'element-plus/theme-chalk/src/mixins/var' as *;

@import "@kestra-io/ui-libs/src/scss/variables.scss";
@import "../color-palette.scss";
@import "@kestra-io/ui-libs/src/scss/color-palette.scss";

// use bootstrap for main style
:root {
Expand Down
160 changes: 0 additions & 160 deletions ui/src/styles/layout/theme-dark.scss

This file was deleted.

Loading

0 comments on commit b02eac1

Please sign in to comment.