mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-28 19:00:35 +01:00
playground: move styles into main.css
This commit is contained in:
@@ -120,24 +120,3 @@ defineShortcuts({
|
|||||||
<NuxtPage />
|
<NuxtPage />
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<style>
|
|
||||||
@import "tailwindcss";
|
|
||||||
@import "@nuxt/ui";
|
|
||||||
|
|
||||||
@theme {
|
|
||||||
--font-sans: 'Public Sans', sans-serif;
|
|
||||||
|
|
||||||
--color-green-50: #EFFDF5;
|
|
||||||
--color-green-100: #D9FBE8;
|
|
||||||
--color-green-200: #B3F5D1;
|
|
||||||
--color-green-300: #75EDAE;
|
|
||||||
--color-green-400: #00DC82;
|
|
||||||
--color-green-500: #00C16A;
|
|
||||||
--color-green-600: #00A155;
|
|
||||||
--color-green-700: #007F45;
|
|
||||||
--color-green-800: #016538;
|
|
||||||
--color-green-900: #0A5331;
|
|
||||||
--color-green-950: #052E16;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
18
playground/app/assets/css/main.css
Normal file
18
playground/app/assets/css/main.css
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
@import "tailwindcss";
|
||||||
|
@import "@nuxt/ui";
|
||||||
|
|
||||||
|
@theme {
|
||||||
|
--font-sans: 'Public Sans', sans-serif;
|
||||||
|
|
||||||
|
--color-green-50: #EFFDF5;
|
||||||
|
--color-green-100: #D9FBE8;
|
||||||
|
--color-green-200: #B3F5D1;
|
||||||
|
--color-green-300: #75EDAE;
|
||||||
|
--color-green-400: #00DC82;
|
||||||
|
--color-green-500: #00C16A;
|
||||||
|
--color-green-600: #00A155;
|
||||||
|
--color-green-700: #007F45;
|
||||||
|
--color-green-800: #016538;
|
||||||
|
--color-green-900: #0A5331;
|
||||||
|
--color-green-950: #052E16;
|
||||||
|
}
|
||||||
@@ -12,6 +12,8 @@ export default defineNuxtConfig({
|
|||||||
enabled: true
|
enabled: true
|
||||||
},
|
},
|
||||||
|
|
||||||
|
css: ['~/assets/css/main.css'],
|
||||||
|
|
||||||
ui: {
|
ui: {
|
||||||
fonts: !process.env.DEVTOOLS
|
fonts: !process.env.DEVTOOLS
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user