child themes inherit parent file mode checks