Skip to content

Commit

Permalink
ye
Browse files Browse the repository at this point in the history
  • Loading branch information
kemo-1 committed Aug 12, 2024
1 parent 275fb06 commit d5c2a9d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 42 deletions.
32 changes: 32 additions & 0 deletions src/components/theme-designer-copy.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
import ThemeDesigner from './theme-designer.astro';
---


<ThemeDesigner
labels={{
presets: {
label: 'المظاهر',
ocean: 'سماوي',
forest: 'غابة',
oxide: 'صدأ',
nebula: 'بنفسجي',
default: 'الافتراضي',
random: 'عشوائي',
},
editor: {
accentColor: 'اللون الأساسي',
grayColor: 'اللون الرمادي',
hue: 'درجة اللون',
chroma: 'تشبع اللون',
pickColor: 'اختر الألوان',
},

}}

>

</ThemeDesigner>



45 changes: 3 additions & 42 deletions src/content/docs/theme.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ tableOfContents: false

import Preview from '../../components/theme-designer/preview.astro';

import ThemeDesigner from '../../components/theme-designer.astro';
import ThemeDesigner from '../../components/theme-designer-copy.astro';

<Preview>

## لَيْسَ الغَريبُ %%.%%
## لَيْسَ الغَريبُ [laysa-al-gharib]

---

Expand All @@ -30,46 +30,7 @@ import ThemeDesigner from '../../components/theme-designer.astro';

</Preview>

<ThemeDesigner
<ThemeDesigner/>

labels=\{\{

presets: \{

label: 'المظاهر',

ocean: 'سماوي',

forest: 'غابة',

oxide: 'صدأ',

nebula: 'بنفسجي',

default: 'الافتراضي',

random: 'عشوائي',

\},

editor: \{

accentColor: 'اللون الأساسي',

grayColor: 'اللون الرمادي',

hue: 'درجة اللون',

chroma: 'تشبع اللون',

pickColor: 'اختر الألوان',

\},

\}\}

>

</ThemeDesigner>


0 comments on commit d5c2a9d

Please sign in to comment.