Explorar o código

improve(ui): small polish

charlie %!s(int64=3) %!d(string=hai) anos
pai
achega
ba2b5e09a8
Modificáronse 2 ficheiros con 4 adicións e 4 borrados
  1. 1 1
      src/main/frontend/components/export.cljs
  2. 3 3
      tailwind.config.js

+ 1 - 1
src/main/frontend/components/export.cljs

@@ -69,7 +69,7 @@
           :html (export/export-blocks-as-html current-repo root-block-ids)
           (export/export-blocks-as-markdown current-repo root-block-ids text-indent-style (into [] text-remove-options)))]
     [:div.export.resize
-     [:div
+     [:div.flex
       {:class "mb-2"}
       (ui/button "Text"
                  :class "mr-4 w-20"

+ 3 - 3
tailwind.config.js

@@ -1,7 +1,7 @@
 const colors = require('tailwindcss/colors')
 
-function exposeColorsToCssVars({ addBase, theme }) {
-  function extractColorVars(colorObj, colorGroup = '') {
+function exposeColorsToCssVars ({ addBase, theme }) {
+  function extractColorVars (colorObj, colorGroup = '') {
     return Object.keys(colorObj).reduce((vars, colorKey) => {
       const value = colorObj[colorKey]
 
@@ -70,7 +70,7 @@ module.exports = {
       current: 'currentColor',
       black: colors.black,
       white: colors.white,
-      gray: colors.trueGray,
+      gray: colors.neutral,
       green: colors.green,
       blue: colors.blue,
       indigo: {